APIdia Launch Partner
Top Description Constructors Methods
com.sun.javafx.css.media.expression

public final Class GreaterExpression

extends RangeExpression
Class Inheritance
Imports
com.sun.javafx.css.media.MediaQueryCache, .SizeQueryType, .MediaQueryContext, javafx.css.Size

Evaluates whether a media feature is greater than a specified value.

Constructor Summary

AccessConstructor and Description
private
GreaterExpression(SizeQueryType featureType, Size sizeValue)

private
GreaterExpression(SizeQueryType featureType, double numberValue)

Method Summary

Modifier and TypeMethod and Description
public boolean
evaluate(MediaQueryContext context)

Implements com.sun.javafx.css.media.MediaQuery.evaluate.

Evaluates this media query against the provided context.

public static GreaterExpression
ofNumber(SizeQueryType featureType, double numberValue)

public static GreaterExpression
ofSize(SizeQueryType featureType, Size sizeValue)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from com.sun.javafx.css.media.expression.RangeExpression:
equalsevaluategetContextAwarenessgetFeatureNamegetFeatureTypegetFeatureValuegetFormattedValuegetUnitgetValuehashCode

Constructor Detail

GreaterExpressionback to summary
private GreaterExpression(SizeQueryType featureType, Size sizeValue)
GreaterExpressionback to summary
private GreaterExpression(SizeQueryType featureType, double numberValue)

Method Detail

evaluateback to summary
public boolean evaluate(MediaQueryContext context)

Implements com.sun.javafx.css.media.MediaQuery.evaluate.

Doc from com.sun.javafx.css.media.MediaQuery.evaluate.

Evaluates this media query against the provided context.

Annotations
@Override
ofNumberback to summary
public static GreaterExpression ofNumber(SizeQueryType featureType, double numberValue)
ofSizeback to summary
public static GreaterExpression ofSize(SizeQueryType featureType, Size sizeValue)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override