Package javafx.beans.binding
Class IntegerExpression
java.lang.Object
javafx.beans.binding.NumberExpressionBase
javafx.beans.binding.IntegerExpression
- All Implemented Interfaces:
NumberExpression
,Observable
,ObservableIntegerValue
,ObservableNumberValue
,ObservableValue<Number>
- Direct Known Subclasses:
IntegerBinding
,ReadOnlyIntegerProperty
public abstract class IntegerExpression
extends NumberExpressionBase
implements ObservableIntegerValue
- Author:
- Bruno Salmon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the value of thisObservableNumberValue
as adouble
.float
Returns the value of thisObservableNumberValue
as afloat
.getValue()
Returns the current value of thisObservableValue
int
intValue()
Returns the value of thisObservableNumberValue
as anint
.long
Returns the value of thisObservableNumberValue
as along
.Methods inherited from class javafx.beans.binding.NumberExpressionBase
asString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javafx.beans.Observable
addListener, removeListener
Methods inherited from interface javafx.beans.value.ObservableIntegerValue
get
Methods inherited from interface javafx.beans.value.ObservableValue
addListener, removeListener
-
Constructor Details
-
IntegerExpression
public IntegerExpression()
-
-
Method Details
-
intValue
public int intValue()Description copied from interface:ObservableNumberValue
Returns the value of thisObservableNumberValue
as anint
. If the value is not anint
, a standard cast is performed.- Specified by:
intValue
in interfaceObservableNumberValue
- Returns:
- The value of this
ObservableNumberValue
as anint
-
longValue
public long longValue()Description copied from interface:ObservableNumberValue
Returns the value of thisObservableNumberValue
as along
. If the value is not along
, a standard cast is performed.- Specified by:
longValue
in interfaceObservableNumberValue
- Returns:
- The value of this
ObservableNumberValue
as along
-
floatValue
public float floatValue()Description copied from interface:ObservableNumberValue
Returns the value of thisObservableNumberValue
as afloat
. If the value is not afloat
, a standard cast is performed.- Specified by:
floatValue
in interfaceObservableNumberValue
- Returns:
- The value of this
ObservableNumberValue
as afloat
-
doubleValue
public double doubleValue()Description copied from interface:ObservableNumberValue
Returns the value of thisObservableNumberValue
as adouble
. If the value is not adouble
, a standard cast is performed.- Specified by:
doubleValue
in interfaceObservableNumberValue
- Returns:
- The value of this
ObservableNumberValue
as adouble
-
getValue
Description copied from interface:ObservableValue
Returns the current value of thisObservableValue
- Specified by:
getValue
in interfaceObservableValue<Number>
- Returns:
- The current value
-