APIdia Launch Partner
Top Description Constructors Methods
javafx.beans.property

public abstract Class ReadOnlyIntegerProperty

extends IntegerExpression
implements ReadOnlyProperty<Number>
Class Inheritance
All Implemented Interfaces
javafx.beans.property.ReadOnlyProperty, javafx.beans.value.ObservableValue, javafx.beans.Observable
Known Direct Subclasses
javafx.beans.property.ReadOnlyIntegerPropertyBase, javafx.beans.property.IntegerProperty
Imports
javafx.beans.InvalidationListener, .WeakInvalidationListener, javafx.beans.binding.IntegerExpression

Superclass for all readonly properties wrapping an int.
Since
JavaFX 2.0
See Also
javafx.beans.value.ObservableIntegerValue, javafx.beans.binding.IntegerExpression, ReadOnlyProperty

Constructor Summary

AccessConstructor and Description
public
ReadOnlyIntegerProperty()

The constructor of ReadOnlyIntegerProperty.

Method Summary

Modifier and TypeMethod and Description
public ReadOnlyObjectProperty<Integer>

Returns:

the new ReadOnlyObjectProperty
asObject
()

Overrides javafx.beans.binding.IntegerExpression.asObject.

Creates a javafx.beans.property.ReadOnlyObjectProperty that holds the value of this ReadOnlyIntegerProperty.

public static <
The type of Number to be wrapped
T extends Number
>
ReadOnlyIntegerProperty

Returns:

A ReadOnlyIntegerProperty that wraps the ReadOnlyProperty if necessary
readOnlyIntegerProperty
(final ReadOnlyProperty<T>
The source ReadOnlyProperty
property
)

Returns a ReadOnlyIntegerProperty that wraps a javafx.beans.property.ReadOnlyProperty.

public String

Returns:

a string representation of this ReadOnlyIntegerProperty object.
toString
()

Overrides java.lang.Object.toString.

Returns a string representation of this ReadOnlyIntegerProperty object.

Inherited from javafx.beans.binding.IntegerExpression:
addaddaddadddividedividedividedividedoubleValuefloatValuegetValueintegerExpressionintegerExpressionintValuelongValuemultiplymultiplymultiplymultiplynegatesubtractsubtractsubtractsubtract

Constructor Detail

ReadOnlyIntegerPropertyback to summary
public ReadOnlyIntegerProperty()

The constructor of ReadOnlyIntegerProperty.

Method Detail

asObjectback to summary
public ReadOnlyObjectProperty<Integer> asObject()

Overrides javafx.beans.binding.IntegerExpression.asObject.

Creates a javafx.beans.property.ReadOnlyObjectProperty that holds the value of this ReadOnlyIntegerProperty. If the value of this ReadOnlyIntegerProperty changes, the value of the ReadOnlyObjectProperty will be updated automatically.

Returns:ReadOnlyObjectProperty<Integer>

the new ReadOnlyObjectProperty

Annotations
@Override
Since
JavaFX 8.0
readOnlyIntegerPropertyback to summary
public static <T extends Number> ReadOnlyIntegerProperty readOnlyIntegerProperty(final ReadOnlyProperty<T> property)

Returns a ReadOnlyIntegerProperty that wraps a javafx.beans.property.ReadOnlyProperty. If the ReadOnlyProperty is already a ReadOnlyIntegerProperty, it will be returned. Otherwise a new ReadOnlyIntegerProperty is created that is bound to the ReadOnlyProperty.

Note

null values will be interpreted as 0

Parameters
<T>
The type of Number to be wrapped
property:ReadOnlyProperty<T>

The source ReadOnlyProperty

Returns:ReadOnlyIntegerProperty

A ReadOnlyIntegerProperty that wraps the ReadOnlyProperty if necessary

Exceptions
NullPointerException:
if property is null
Since
JavaFX 8.0
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns a string representation of this ReadOnlyIntegerProperty object.

Returns:String

a string representation of this ReadOnlyIntegerProperty object.

Annotations
@Override