public abstract class StyleableIntegerProperty extends IntegerPropertyBase implements StyleableProperty<java.lang.Number>
IntegerPropertyBase
and provides a partial
implementation of a StyleableProperty
. The method
StyleableProperty.getCssMetaData()
is not implemented.
This class is used to make a javafx.beans.property.IntegerProperty
,
that would otherwise be implemented as a IntegerPropertyBase
,
styleable by CSS.javafx.beans.property.IntegerPropertyBase
,
CssMetaData
,
StyleableProperty
Modifier and Type | Field and Description |
---|---|
private StyleOrigin |
origin |
Constructor and Description |
---|
StyleableIntegerProperty()
The constructor of the
StyleableIntegerProperty . |
StyleableIntegerProperty(int initialValue)
The constructor of the
StyleableIntegerProperty . |
Modifier and Type | Method and Description |
---|---|
void |
applyStyle(StyleOrigin origin,
java.lang.Number v)
This method is called from CSS code to set the value of the property.
|
void |
bind(<any> observable) |
StyleOrigin |
getStyleOrigin()
Tells the origin of the value of the property.
|
void |
set(int v) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCssMetaData
private StyleOrigin origin
public StyleableIntegerProperty()
StyleableIntegerProperty
.public StyleableIntegerProperty(int initialValue)
StyleableIntegerProperty
.initialValue
- the initial value of the wrapped Object
public void applyStyle(StyleOrigin origin, java.lang.Number v)
applyStyle
in interface StyleableProperty<java.lang.Number>
origin
- the originv
- the valuepublic void bind(<any> observable)
public void set(int v)
public StyleOrigin getStyleOrigin()
getStyleOrigin
in interface StyleableProperty<java.lang.Number>