Top Description Constructors Methods
com.sun.javafx.css

public Class SubCssMetaData<T>

extends CssMetaData<Node, T>
Class Inheritance
Imports
javafx.css.CssMetaData, .StyleConverter, .StyleableProperty, javafx.scene.Node

A CssMetaData which is used for sub-properties, such as -fx-background-color, etc.

Constructor Summary

AccessConstructor and Description
public
SubCssMetaData(String property, StyleConverter<F, T> converter, T initialValue)

public
SubCssMetaData(String property, StyleConverter<F, T> converter)

Method Summary

Modifier and TypeMethod and Description
public StyleableProperty<T>
getStyleableProperty(Node node)

Implements abstract javafx.css.CssMetaData.getStyleableProperty.

Return the corresponding StyleableProperty for the given Node.

public boolean
isSettable(Node node)

Implements abstract javafx.css.CssMetaData.isSettable.

Check to see if the corresponding property on the given Node is settable.

Inherited from javafx.css.CssMetaData:
equalsgetConvertergetInitialValuegetPropertygetSubPropertieshashCodeisInheritssettoString

Constructor Detail

SubCssMetaDataback to summary
public SubCssMetaData(String property, StyleConverter<F, T> converter, T initialValue)
SubCssMetaDataback to summary
public SubCssMetaData(String property, StyleConverter<F, T> converter)

Method Detail

getStyleablePropertyback to summary
public StyleableProperty<T> getStyleableProperty(Node node)

Implements abstract javafx.css.CssMetaData.getStyleableProperty.

Doc from javafx.css.CssMetaData.getStyleableProperty.

Return the corresponding StyleableProperty for the given Node. Note that calling this method will cause the property to be expanded.

Annotations
@Override
isSettableback to summary
public boolean isSettable(Node node)

Implements abstract javafx.css.CssMetaData.isSettable.

Doc from javafx.css.CssMetaData.isSettable.

Check to see if the corresponding property on the given Node is settable. This method is called before any styles are looked up for the given property. It is abstract so that the code can check if the property is settable without expanding the property. Generally, the property is settable if it is not null or is not bound.

Annotations
@Override