public abstract class StyleableStringProperty extends StringPropertyBase implements StyleableProperty<java.lang.String>
StringPropertyBase
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.StringProperty
,
that would otherwise be implemented as a StringPropertyBase
,
styleable by CSS.javafx.beans.property.StringPropertyBase
,
CssMetaData
,
StyleableProperty
Modifier and Type | Field and Description |
---|---|
private StyleOrigin |
origin |
Constructor and Description |
---|
StyleableStringProperty()
The constructor of the
StyleableStringProperty . |
StyleableStringProperty(java.lang.String initialValue)
The constructor of the
StyleableStringProperty . |
Modifier and Type | Method and Description |
---|---|
void |
applyStyle(StyleOrigin origin,
java.lang.String 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(java.lang.String v) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCssMetaData
private StyleOrigin origin
public StyleableStringProperty()
StyleableStringProperty
.public StyleableStringProperty(java.lang.String initialValue)
StyleableStringProperty
.initialValue
- the initial value of the wrapped Object
public void applyStyle(StyleOrigin origin, java.lang.String v)
applyStyle
in interface StyleableProperty<java.lang.String>
origin
- the originv
- the valuepublic void bind(<any> observable)
public void set(java.lang.String v)
public StyleOrigin getStyleOrigin()
getStyleOrigin
in interface StyleableProperty<java.lang.String>