public class LongProperty extends AbstractToStringProperty<java.lang.Long>
Long value.AbstractToStringProperty.ChildProperty<T>AbstractProperty.InvalidPreferenceValueException, AbstractProperty.ValueChangeEvent<T>, AbstractProperty.ValueChangeListener<T>defaultValue, key, preferences| Constructor and Description |
|---|
LongProperty(java.lang.String key,
long defaultValue)
Constructs a new
LongProperty |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Long |
fromString(java.lang.String string)
Converts the string to an object of the given type.
|
java.lang.Long |
get()
Replies the value of this property.
|
boolean |
put(java.lang.Long value)
Sets this property to the specified value.
|
protected java.lang.String |
toString(java.lang.Long t)
Converts the string to an object of the given type.
|
getAsString, getChildProperty, getSpecializedaddListener, addListenerImpl, addWeakListener, cached, equals, getDefaultValue, getKey, getPreferences, hashCode, isSet, remove, removeListener, removeListenerImpl, storeDefaultValuepublic LongProperty(java.lang.String key, long defaultValue)
LongPropertykey - property keydefaultValue - default valuepublic java.lang.Long get()
AbstractPropertyget in class AbstractToStringProperty<java.lang.Long>public boolean put(java.lang.Long value)
AbstractPropertyput in class AbstractToStringProperty<java.lang.Long>value - The new value of this propertyprotected java.lang.Long fromString(java.lang.String string)
AbstractToStringPropertyfromString in class AbstractToStringProperty<java.lang.Long>string - The stringprotected java.lang.String toString(java.lang.Long t)
AbstractToStringPropertytoString in class AbstractToStringProperty<java.lang.Long>t - The object.