public abstract class ReadOnlyLongProperty extends LongExpression implements ReadOnlyProperty<java.lang.Number>
long
.javafx.beans.value.ObservableLongValue
,
javafx.beans.binding.LongExpression
,
ReadOnlyProperty
Constructor and Description |
---|
ReadOnlyLongProperty()
The constructor of
ReadOnlyLongProperty . |
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<java.lang.Long> |
asObject()
Creates a
ReadOnlyObjectProperty that holds the value
of this ReadOnlyLongProperty . |
static <T extends java.lang.Number> |
readOnlyLongProperty(ReadOnlyProperty<T> property)
Returns a
ReadOnlyLongProperty that wraps a
ReadOnlyProperty . |
java.lang.String |
toString()
Returns a string representation of this
ReadOnlyLongProperty object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBean, getName
public ReadOnlyLongProperty()
ReadOnlyLongProperty
.public java.lang.String toString()
ReadOnlyLongProperty
object.ReadOnlyLongProperty
object.public static <T extends java.lang.Number> ReadOnlyLongProperty readOnlyLongProperty(ReadOnlyProperty<T> property)
ReadOnlyLongProperty
that wraps a
ReadOnlyProperty
. If the
ReadOnlyProperty
is already a ReadOnlyLongProperty
, it
will be returned. Otherwise a new
ReadOnlyLongProperty
is created that is bound to
the ReadOnlyProperty
.
Note: null values will be interpreted as 0LT
- The type of Number to be wrappedproperty
- The source ReadOnlyProperty
ReadOnlyLongProperty
that wraps the
ReadOnlyProperty
if necessaryjava.lang.NullPointerException
- if property
is null
public ReadOnlyObjectProperty<java.lang.Long> asObject()
ReadOnlyObjectProperty
that holds the value
of this ReadOnlyLongProperty
. If the
value of this ReadOnlyLongProperty
changes, the value of the
ReadOnlyObjectProperty
will be updated automatically.ReadOnlyObjectProperty