- All Superinterfaces:
WritableNumberValue
,WritableValue<Number>
- All Known Implementing Classes:
JavaBeanLongProperty
,LongProperty
,LongPropertyBase
,ReadOnlyLongWrapper
,SimpleLongProperty
,SimpleStyleableLongProperty
,StyleableLongProperty
public interface WritableLongValue extends WritableNumberValue
A writable long value.
- Since:
- JavaFX 2.0
- See Also:
WritableValue
,WritableNumberValue
-
Method Details
-
get
long get()Get the wrapped value. UnlikeWritableValue.getValue()
, this method returns primitive long. Needs to be identical toWritableValue.getValue()
.- Returns:
- The current value
-
set
void set(long value)Set the wrapped value. UnlikesetValue(java.lang.Number)
, this method uses primitive long.- Parameters:
value
- The new value
-
setValue
Set the wrapped value.Note: this method should accept null without throwing an exception, setting "0" instead.
- Specified by:
setValue
in interfaceWritableValue<Number>
- Parameters:
value
- The new value
-