public class SimpleStyleableBooleanProperty extends StyleableBooleanProperty
SimpleBooleanProperty and provides a full
implementation of a StyleableProperty.
This class is used to make a BooleanProperty,
that would otherwise be implemented as a SimpleBooleanProperty,
style‑able by CSS.SimpleBooleanProperty,
CssMetaData,
StyleableProperty,
StyleableBooleanProperty| Constructor and Description |
|---|
SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,Boolean> cssMetaData)
The constructor of the
SimpleStyleableBooleanProperty. |
SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,Boolean> cssMetaData,
boolean initialValue)
The constructor of the
SimpleStyleableBooleanProperty. |
SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,Boolean> cssMetaData,
Object bean,
String name)
The constructor of the
SimpleStyleableBooleanProperty. |
SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,Boolean> cssMetaData,
Object bean,
String name,
boolean initialValue)
The constructor of the
SimpleStyleableBooleanProperty. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getBean()
Returns the
Object that contains this property. |
CssMetaData<? extends Styleable,Boolean> |
getCssMetaData()
Reflect back the CssMetaData that corresponds to this
javafx.beans.property.StyleableProperty |
String |
getName()
Returns the name of this property.
|
applyStyle, bind, getStyleOrigin, setaddListener, addListener, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbindasObject, bindBidirectional, booleanProperty, setValue, unbindBidirectionalreadOnlyBooleanPropertyand, asString, booleanExpression, booleanExpression, getValue, isEqualTo, isNotEqualTo, not, orclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValue, setValuegetValuepublic SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,Boolean> cssMetaData)
SimpleStyleableBooleanProperty.cssMetaData - the CssMetaData associated with this StyleablePropertypublic SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,Boolean> cssMetaData, boolean initialValue)
SimpleStyleableBooleanProperty.cssMetaData - the CssMetaData associated with this StyleablePropertyinitialValue - the initial value of the wrapped Objectpublic SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,Boolean> cssMetaData, Object bean, String name)
SimpleStyleableBooleanProperty.cssMetaData - the CssMetaData associated with this StyleablePropertybean - the bean of this BooleanPropertyname - the name of this BooleanPropertypublic SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,Boolean> cssMetaData, Object bean, String name, boolean initialValue)
SimpleStyleableBooleanProperty.cssMetaData - the CssMetaData associated with this StyleablePropertybean - the bean of this BooleanPropertyname - the name of this BooleanPropertyinitialValue - the initial value of the wrapped Objectpublic Object getBean()
Object that contains this property. If this property
is not contained in an Object, null is returned.Object or nullpublic String getName()
String.Stringpublic final CssMetaData<? extends Styleable,Boolean> getCssMetaData()
javafx.beans.property.StyleablePropertyCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.