| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final SizeQueryType | |
| private final double | |
| private final Size |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public TriState | evaluate()
Implements com. Attempts to determine the result of this media query without a context, and returns |
| public final int | getContextAwareness()
Implements com. Gets the context awareness flags of this media query, indicating which aspects of the media query context are probed by the query. |
| public final String | |
| public final SizeQueryType | |
| public final double | getFeatureValue()
Gets the feature value as specified in the stylesheet; for example, "100em" will return the value 100. |
| pack-priv final String | |
| public final SizeUnits | |
| public final double | getValue()
Gets the converted feature value; for example, "100em" will not return the value 100, but the
result of calling |
| public final int |
| featureType | back to summary |
|---|---|
| private final SizeQueryType featureType | |
| numberValue | back to summary |
|---|---|
| private final double numberValue | |
| sizeValue | back to summary |
|---|---|
| private final Size sizeValue | |
| RangeExpression | back to summary |
|---|---|
| pack-priv RangeExpression(SizeQueryType featureType, Size sizeValue) | |
| RangeExpression | back to summary |
|---|---|
| pack-priv RangeExpression(SizeQueryType featureType, double numberValue) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| evaluate | back to summary |
|---|---|
| public TriState evaluate() Implements com. Doc from com. Attempts to determine the result of this media query without a context, and returns
| |
| getContextAwareness | back to summary |
|---|---|
| public final int getContextAwareness() Implements com. Doc from com. Gets the context awareness flags of this media query, indicating which aspects of the media query context are probed by the query.
| |
| getFeatureName | back to summary |
|---|---|
| public final String getFeatureName() | |
| getFeatureType | back to summary |
|---|---|
| public final SizeQueryType getFeatureType() | |
| getFeatureValue | back to summary |
|---|---|
| public final double getFeatureValue() Gets the feature value as specified in the stylesheet; for example, "100em" will return the value 100. | |
| getFormattedValue | back to summary |
|---|---|
| pack-priv final String getFormattedValue() | |
| getUnit | back to summary |
|---|---|
| public final SizeUnits getUnit() Gets the unit as specified in the stylesheet, or | |
| getValue | back to summary |
|---|---|
| public final double getValue() Gets the converted feature value; for example, "100em" will not return the value 100, but the
result of calling | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| Modifier and Type | Method and Description |
|---|---|
| public RangeExpression | |
| public RangeExpression |
| getNumberExpression | back to summary |
|---|---|
| public RangeExpression getNumberExpression(SizeQueryType featureType, double numberValue) | |
| getSizeExpression | back to summary |
|---|---|
| public RangeExpression getSizeExpression(SizeQueryType featureType, Size sizeValue) | |