APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.javafx.fxml.expression

public Class LiteralExpression<T>

extends Expression<T>
Class Inheritance
Imports
java.util.List

Expression representing a literal value.

Field Summary

Modifier and TypeField and Description
private T

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public T
evaluate(Object namespace)

Implements abstract com.sun.javafx.fxml.expression.Expression.evaluate.

Evaluates the expression.

protected void
getArguments(List<KeyPath> arguments)

Implements abstract com.sun.javafx.fxml.expression.Expression.getArguments.

Populates a list of arguments to this expression.

public boolean
isDefined(Object namespace)

Implements abstract com.sun.javafx.fxml.expression.Expression.isDefined.

Tests whether the expression is defined.

public boolean
isLValue()

Implements abstract com.sun.javafx.fxml.expression.Expression.isLValue.

Tests whether the expression represents an l-value (i.e. can be assigned to).

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public void
update(Object namespace, T value)

Implements abstract com.sun.javafx.fxml.expression.Expression.update.

Updates the expression value.

Inherited from com.sun.javafx.fxml.expression.Expression:
addaddaddaddandandandanddividedividedividedivideequalToequalToequalToequalTogetgetgetArgumentsgreaterThangreaterThangreaterThangreaterThangreaterThanOrEqualTogreaterThanOrEqualTogreaterThanOrEqualTogreaterThanOrEqualToisDefinedisDefinedlessThanlessThanlessThanlessThanlessThanOrEqualTolessThanOrEqualTolessThanOrEqualTolessThanOrEqualTomodulomodulomodulomodulomultiplymultiplymultiplymultiplynegatenegatenotnotnotEqualTonotEqualTonotEqualTonotEqualToororororsetsetsubtractsubtractsubtractsubtractvalueOf

Field Detail

valueback to summary
private T value

Constructor Detail

LiteralExpressionback to summary
public LiteralExpression(T value)

Method Detail

evaluateback to summary
public T evaluate(Object namespace)

Implements abstract com.sun.javafx.fxml.expression.Expression.evaluate.

Doc from com.sun.javafx.fxml.expression.Expression.evaluate.

Evaluates the expression.

Annotations
@Override
getArgumentsback to summary
protected void getArguments(List<KeyPath> arguments)

Implements abstract com.sun.javafx.fxml.expression.Expression.getArguments.

Doc from com.sun.javafx.fxml.expression.Expression.getArguments.

Populates a list of arguments to this expression.

Annotations
@Override
isDefinedback to summary
public boolean isDefined(Object namespace)

Implements abstract com.sun.javafx.fxml.expression.Expression.isDefined.

Doc from com.sun.javafx.fxml.expression.Expression.isDefined.

Tests whether the expression is defined.

Annotations
@Override
isLValueback to summary
public boolean isLValue()

Implements abstract com.sun.javafx.fxml.expression.Expression.isLValue.

Doc from com.sun.javafx.fxml.expression.Expression.isLValue.

Tests whether the expression represents an l-value (i.e. can be assigned to).

Annotations
@Override
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
updateback to summary
public void update(Object namespace, T value)

Implements abstract com.sun.javafx.fxml.expression.Expression.update.

Doc from com.sun.javafx.fxml.expression.Expression.update.

Updates the expression value.

Annotations
@Override