public class SimpleStyleableStringProperty extends StyleableStringProperty
SimpleStringProperty and provides a full
implementation of a StyleableProperty.
This class is used to make a StringProperty,
that would otherwise be implemented as a SimpleStringProperty,
style‑able by CSS.SimpleStringProperty,
CssMetaData,
StyleableProperty,
StyleableStringProperty| Constructor and Description |
|---|
SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData)
The constructor of the
SimpleStyleableStringProperty. |
SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData,
Object bean,
String name)
The constructor of the
SimpleStyleableStringProperty. |
SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData,
Object bean,
String name,
String initialValue)
The constructor of the
SimpleStyleableStringProperty. |
SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData,
String initialValue)
The constructor of the
SimpleStyleableStringProperty. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getBean()
Returns the
Object that contains this property. |
CssMetaData<? extends Styleable,String> |
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, bindBidirectional, bindBidirectional, setValue, unbindBidirectional, unbindBidirectionalconcat, getValue, getValueSafe, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, isEmpty, isEqualTo, isEqualTo, isEqualToIgnoreCase, isEqualToIgnoreCase, isNotEmpty, isNotEqualTo, isNotEqualTo, isNotEqualToIgnoreCase, isNotEqualToIgnoreCase, isNotNull, isNull, length, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, stringExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValue, setValuegetValuepublic SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData)
SimpleStyleableStringProperty.cssMetaData - the CssMetaData associated with this StyleablePropertypublic SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData, String initialValue)
SimpleStyleableStringProperty.cssMetaData - the CssMetaData associated with this StyleablePropertyinitialValue - the initial value of the wrapped Objectpublic SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData, Object bean, String name)
SimpleStyleableStringProperty.cssMetaData - the CssMetaData associated with this StyleablePropertybean - the bean of this StringPropertyname - the name of this StringPropertypublic SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData, Object bean, String name, String initialValue)
SimpleStyleableStringProperty.cssMetaData - the CssMetaData associated with this StyleablePropertybean - the bean of this StringPropertyname - the name of this StringPropertyinitialValue - 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,String> getCssMetaData()
javafx.beans.property.StyleablePropertyCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.