BooleanPropertyBase 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.BooleanProperty ,
that would otherwise be implemented as a BooleanPropertyBase,
styleable by CSS.
javafx.beans.property.BooleanPropertyBase , CssMetaData, StyleableProperty
| Modifier and Type | Field and Description |
|---|---|
| private StyleOrigin |
| Access | Constructor and Description |
|---|---|
| public | |
| public | StyleableBooleanProperty(boolean
the initial value of the wrapped initialValue)ObjectThe constructor of the |
| Modifier and Type | Method and Description |
|---|---|
| public void | applyStyle(StyleOrigin
the origin origin, Boolean the value v)Implements javafx. This method is called from CSS code to set the value of the property. |
| public void | bind(ObservableValue<? extends Boolean>
The observable this observable)Property should be bound to.Overrides javafx. Implements javafx. Create a unidirection binding for this |
| public StyleOrigin | getStyleOrigin()
Implements javafx. Tells the origin of the value of the property. |
| public void | set(boolean
The new value v)Overrides javafx. Implements javafx. Set the wrapped value. |
| origin | back to summary |
|---|---|
| private StyleOrigin origin | |
| StyleableBooleanProperty | back to summary |
|---|---|
| public StyleableBooleanProperty() The constructor of the | |
| StyleableBooleanProperty | back to summary |
|---|---|
| public StyleableBooleanProperty(boolean initialValue) The constructor of the
| |
| applyStyle | back to summary |
|---|---|
| public void applyStyle(StyleOrigin origin, Boolean v) Implements javafx. Doc from javafx. This method is called from CSS code to set the value of the property.
| |
| bind | back to summary |
|---|---|
| public void bind(ObservableValue<? extends Boolean> observable) Overrides javafx. Implements javafx. Doc from javafx. Create a unidirection binding for this Note that JavaFX has all the bind calls implemented through weak listeners. This means the bound property can be garbage collected and stopped from being updated. Note:
| |
| getStyleOrigin | back to summary |
|---|---|
| public StyleOrigin getStyleOrigin() Implements javafx. Doc from javafx. Tells the origin of the value of the property. This is needed to determine whether or not CSS can override the value.
| |
| set | back to summary |
|---|---|
| public void set(boolean v) Overrides javafx. Implements javafx. Doc from javafx. Set the wrapped value.
Unlike
| |