APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.css

public Class SimpleStyleableStringProperty

extends StyleableStringProperty
Class Inheritance
Imports
javafx.beans.NamedArg, javafx.beans.property.SimpleStringProperty

This class extends SimpleStringProperty and provides a full implementation of a StyleableProperty. This class is used to make a javafx.beans.property.StringProperty, that would otherwise be implemented as a SimpleStringProperty, styleable by CSS.
Since
JavaFX 8.0
See Also
javafx.beans.property.SimpleStringProperty, CssMetaData, StyleableProperty, StyleableStringProperty

Field Summary

Modifier and TypeField and Description
private final Object
private final CssMetaData<? extends Styleable, String>
private static final Object
private static final String
private final String

Constructor Summary

AccessConstructor and Description
public
SimpleStyleableStringProperty(CssMetaData<? extends Styleable, String>
the CssMetaData associated with this StyleableProperty
cssMetaData
)

The constructor of the SimpleStyleableStringProperty.

public
SimpleStyleableStringProperty(CssMetaData<? extends Styleable, String>
the CssMetaData associated with this StyleableProperty
cssMetaData
,
String
the initial value of the wrapped Object
initialValue
)

The constructor of the SimpleStyleableStringProperty.

public
SimpleStyleableStringProperty(CssMetaData<? extends Styleable, String>
the CssMetaData associated with this StyleableProperty
cssMetaData
,
Object
the bean of this StringProperty
bean
,
String
the name of this StringProperty
name
)

The constructor of the SimpleStyleableStringProperty.

public
SimpleStyleableStringProperty(CssMetaData<? extends Styleable, String>
the CssMetaData associated with this StyleableProperty
cssMetaData
,
Object
the bean of this StringProperty
bean
,
String
the name of this StringProperty
name
,
String
the initial value of the wrapped Object
initialValue
)

The constructor of the SimpleStyleableStringProperty.

Method Summary

Modifier and TypeMethod and Description
public Object
getBean()

Implements javafx.beans.property.ReadOnlyProperty.getBean.

Returns the Object that contains this property.

public final CssMetaData<? extends Styleable, String>
getCssMetaData()

Implements javafx.css.StyleableProperty.getCssMetaData.

Reflect back the CssMetaData that corresponds to this javafx.beans.property.StyleableProperty

public String
getName()

Implements javafx.beans.property.ReadOnlyProperty.getName.

Returns the name of this property.

Inherited from javafx.css.StyleableStringProperty:
applyStylebindgetStyleOriginset

Field Detail

beanback to summary
private final Object bean
cssMetaDataback to summary
private final CssMetaData<? extends Styleable, String> cssMetaData
DEFAULT_BEANback to summary
private static final Object DEFAULT_BEAN
DEFAULT_NAMEback to summary
private static final String DEFAULT_NAME
nameback to summary
private final String name

Constructor Detail

SimpleStyleableStringPropertyback to summary
public SimpleStyleableStringProperty(CssMetaData<? extends Styleable, String> cssMetaData)

The constructor of the SimpleStyleableStringProperty.

Parameters
cssMetaData:CssMetaData<? extends Styleable, String>

the CssMetaData associated with this StyleableProperty

SimpleStyleableStringPropertyback to summary
public SimpleStyleableStringProperty(CssMetaData<? extends Styleable, String> cssMetaData, String initialValue)

The constructor of the SimpleStyleableStringProperty.

Parameters
cssMetaData:CssMetaData<? extends Styleable, String>

the CssMetaData associated with this StyleableProperty

initialValue:String

the initial value of the wrapped Object

SimpleStyleableStringPropertyback to summary
public SimpleStyleableStringProperty(CssMetaData<? extends Styleable, String> cssMetaData, Object bean, String name)

The constructor of the SimpleStyleableStringProperty.

Parameters
cssMetaData:CssMetaData<? extends Styleable, String>

the CssMetaData associated with this StyleableProperty

bean:Object

the bean of this StringProperty

name:String

the name of this StringProperty

SimpleStyleableStringPropertyback to summary
public SimpleStyleableStringProperty(CssMetaData<? extends Styleable, String> cssMetaData, Object bean, String name, String initialValue)

The constructor of the SimpleStyleableStringProperty.

Parameters
cssMetaData:CssMetaData<? extends Styleable, String>

the CssMetaData associated with this StyleableProperty

bean:Object

the bean of this StringProperty

name:String

the name of this StringProperty

initialValue:String

the initial value of the wrapped Object

Method Detail

getBeanback to summary
public Object getBean()

Implements javafx.beans.property.ReadOnlyProperty.getBean.

Doc from javafx.beans.property.ReadOnlyProperty.getBean.

Returns the Object that contains this property. If this property is not contained in an Object, null is returned.

Annotations
@Override
getCssMetaDataback to summary
public final CssMetaData<? extends Styleable, String> getCssMetaData()

Implements javafx.css.StyleableProperty.getCssMetaData.

Doc from javafx.css.StyleableProperty.getCssMetaData.

Reflect back the CssMetaData that corresponds to this javafx.beans.property.StyleableProperty

Annotations
@Override
getNameback to summary
public String getName()

Implements javafx.beans.property.ReadOnlyProperty.getName.

Doc from javafx.beans.property.ReadOnlyProperty.getName.

Returns the name of this property. If the property does not have a name, this method returns an empty String.

Annotations
@Override