public class SimpleLongProperty extends LongPropertyBase
Property
wrapping a
long
value.LongPropertyBase
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
bean |
private static java.lang.Object |
DEFAULT_BEAN |
private static java.lang.String |
DEFAULT_NAME |
private java.lang.String |
name |
Constructor and Description |
---|
SimpleLongProperty()
The constructor of
LongProperty |
SimpleLongProperty(long initialValue)
The constructor of
LongProperty |
SimpleLongProperty(java.lang.Object bean,
java.lang.String name)
The constructor of
LongProperty |
SimpleLongProperty(java.lang.Object bean,
java.lang.String name,
long initialValue)
The constructor of
LongProperty |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getBean()
Returns the
Object that contains this property. |
java.lang.String |
getName()
Returns the name of this property.
|
addListener, addListener, bind, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, set, toString, unbind
asObject, bindBidirectional, longProperty, setValue, unbindBidirectional
readOnlyLongProperty
private static final java.lang.Object DEFAULT_BEAN
private static final java.lang.String DEFAULT_NAME
private final java.lang.Object bean
private final java.lang.String name
public SimpleLongProperty()
LongProperty
public SimpleLongProperty(long initialValue)
LongProperty
initialValue
- the initial value of the wrapped valuepublic SimpleLongProperty(java.lang.Object bean, java.lang.String name)
LongProperty
bean
- the bean of this LongProperty
name
- the name of this LongProperty
public SimpleLongProperty(java.lang.Object bean, java.lang.String name, long initialValue)
LongProperty
bean
- the bean of this LongProperty
name
- the name of this LongProperty
initialValue
- the initial value of the wrapped valuepublic java.lang.Object getBean()
Object
that contains this property. If this property
is not contained in an Object
, null
is returned.Object
or null
public java.lang.String getName()
String
.String