Top Description Fields Constructors Methods
com.sun.javafx.fxml.expression

public final Class UnaryExpression<U, T>

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

Abstract base class for unary expressions.

Field Summary

Modifier and TypeField and Description
private final Function<U, T>
private final Expression<U>

Constructor Summary

AccessConstructor and Description
public
UnaryExpression(Expression<U> operand, Function<U, T> evaluator)

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 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

evaluatorback to summary
private final Function<U, T> evaluator
operandback to summary
private final Expression<U> operand

Constructor Detail

UnaryExpressionback to summary
public UnaryExpression(Expression<U> operand, Function<U, T> evaluator)

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
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