public class SimpleStyleableObjectProperty<T> extends StyleableObjectProperty<T>
SimpleObjectProperty and provides a full
implementation of a StyleableProperty.
This class is used to make a ObjectProperty,
that would otherwise be implemented as a SimpleObjectProperty,
style‑able by CSS.SimpleObjectProperty,
CssMetaData,
StyleableProperty,
StyleableObjectProperty| Constructor and Description |
|---|
SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData)
The constructor of the
SimpleStyleableObjectProperty. |
SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData,
Object bean,
String name)
The constructor of the
SimpleStyleableObjectProperty. |
SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData,
Object bean,
String name,
T initialValue)
The constructor of the
SimpleStyleableObjectProperty. |
SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData,
T initialValue)
The constructor of the
SimpleStyleableObjectProperty. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getBean()
Returns the
Object that contains this property. |
CssMetaData<? extends Styleable,T> |
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, unbindbindBidirectional, setValue, unbindBidirectionalasString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValue, setValuegetValuepublic SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData)
SimpleStyleableObjectProperty.cssMetaData - the CssMetaData associated with this StyleablePropertypublic SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData, T initialValue)
SimpleStyleableObjectProperty.cssMetaData - the CssMetaData associated with this StyleablePropertyinitialValue - the initial value of the wrapped Objectpublic SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData, Object bean, String name)
SimpleStyleableObjectProperty.cssMetaData - the CssMetaData associated with this StyleablePropertybean - the bean of this ObjectPropertyname - the name of this ObjectPropertypublic SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData, Object bean, String name, T initialValue)
SimpleStyleableObjectProperty.cssMetaData - the CssMetaData associated with this StyleablePropertybean - the bean of this ObjectPropertyname - the name of this ObjectPropertyinitialValue - 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,T> getCssMetaData()
javafx.beans.property.StyleablePropertySubmit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.