public abstract class StyleableDoubleProperty extends DoublePropertyBase implements StyleableProperty<java.lang.Number>
DoublePropertyBase
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.DoubleProperty
,
that would otherwise be implemented as a DoublePropertyBase
,
styleable by CSS.javafx.beans.property.DoublePropertyBase
,
CssMetaData
,
StyleableProperty
Modifier and Type | Field and Description |
---|---|
private StyleOrigin |
origin |
Constructor and Description |
---|
StyleableDoubleProperty()
The constructor of the
StyleableDoubleProperty . |
StyleableDoubleProperty(double initialValue)
The constructor of the
StyleableDoubleProperty . |
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(double v) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCssMetaData
private StyleOrigin origin
public StyleableDoubleProperty()
StyleableDoubleProperty
.public StyleableDoubleProperty(double initialValue)
StyleableDoubleProperty
.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(double v)
public StyleOrigin getStyleOrigin()
getStyleOrigin
in interface StyleableProperty<java.lang.Number>