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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of thisObservableNumberValueas adouble.floatReturns the value of thisObservableNumberValueas afloat.getValue()Returns the current value of thisObservableValueintintValue()Returns the value of thisObservableNumberValueas anint.longReturns the value of thisObservableNumberValueas along.Methods inherited from class javafx.beans.binding.NumberExpressionBase
asStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javafx.beans.Observable
addListener, removeListenerMethods inherited from interface javafx.beans.value.ObservableIntegerValue
getMethods inherited from interface javafx.beans.value.ObservableValue
addListener, removeListener
-
Constructor Details
-
IntegerExpression
public IntegerExpression()
-
-
Method Details
-
intValue
public int intValue()Description copied from interface:ObservableNumberValueReturns the value of thisObservableNumberValueas anint. If the value is not anint, a standard cast is performed.- Specified by:
intValuein interfaceObservableNumberValue- Returns:
- The value of this
ObservableNumberValueas anint
-
longValue
public long longValue()Description copied from interface:ObservableNumberValueReturns the value of thisObservableNumberValueas along. If the value is not along, a standard cast is performed.- Specified by:
longValuein interfaceObservableNumberValue- Returns:
- The value of this
ObservableNumberValueas along
-
floatValue
public float floatValue()Description copied from interface:ObservableNumberValueReturns the value of thisObservableNumberValueas afloat. If the value is not afloat, a standard cast is performed.- Specified by:
floatValuein interfaceObservableNumberValue- Returns:
- The value of this
ObservableNumberValueas afloat
-
doubleValue
public double doubleValue()Description copied from interface:ObservableNumberValueReturns the value of thisObservableNumberValueas adouble. If the value is not adouble, a standard cast is performed.- Specified by:
doubleValuein interfaceObservableNumberValue- Returns:
- The value of this
ObservableNumberValueas adouble
-
getValue
Description copied from interface:ObservableValueReturns the current value of thisObservableValue- Specified by:
getValuein interfaceObservableValue<Number>- Returns:
- The current value
-