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, set
addListener, addListener, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbind
bindBidirectional, setValue, unbindBidirectional
asString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue, setValue
getValue
public SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData)
SimpleStyleableObjectProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
public SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData, T initialValue)
SimpleStyleableObjectProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
initialValue
- the initial value of the wrapped Object
public SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData, Object bean, String name)
SimpleStyleableObjectProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
bean
- the bean of this ObjectProperty
name
- the name of this ObjectProperty
public SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData, Object bean, String name, T initialValue)
SimpleStyleableObjectProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
bean
- the bean of this ObjectProperty
name
- the name of this ObjectProperty
initialValue
- the initial value of the wrapped Object
public Object getBean()
Object
that contains this property. If this property
is not contained in an Object
, null
is returned.Object
or null
public String getName()
String
.String
public final CssMetaData<? extends Styleable,T> getCssMetaData()
javafx.beans.property.StyleableProperty
Submit 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, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.