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, set
addListener, addListener, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbind
bindBidirectional, bindBidirectional, bindBidirectional, setValue, unbindBidirectional, unbindBidirectional
concat, getValue, getValueSafe, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, isEmpty, isEqualTo, isEqualTo, isEqualToIgnoreCase, isEqualToIgnoreCase, isNotEmpty, isNotEqualTo, isNotEqualTo, isNotEqualToIgnoreCase, isNotEqualToIgnoreCase, isNotNull, isNull, length, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, stringExpression
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue, setValue
getValue
public SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData)
SimpleStyleableStringProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
public SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData, String initialValue)
SimpleStyleableStringProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
initialValue
- the initial value of the wrapped Object
public SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData, Object bean, String name)
SimpleStyleableStringProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
bean
- the bean of this StringProperty
name
- the name of this StringProperty
public SimpleStyleableStringProperty(CssMetaData<? extends Styleable,String> cssMetaData, Object bean, String name, String initialValue)
SimpleStyleableStringProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
bean
- the bean of this StringProperty
name
- the name of this StringProperty
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,String> getCssMetaData()
javafx.beans.property.StyleableProperty
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.