public class SimpleColorCssMetaData<S extends javafx.css.Styleable> extends SimpleCssMetaData<S,javafx.scene.paint.Color>
SimpleCssMetaData
for color properties.Constructor and Description |
---|
SimpleColorCssMetaData(java.lang.String property,
java.util.function.Function<? super S,javafx.beans.property.Property<javafx.scene.paint.Color>> propertyExtractor)
Creates a new simple color CSS metadata object.
|
getStyleableProperty, isSettable
public SimpleColorCssMetaData(java.lang.String property, java.util.function.Function<? super S,javafx.beans.property.Property<javafx.scene.paint.Color>> propertyExtractor)
property
- the CSS property descriptor, eg "-fx-background-color"
propertyExtractor
- gets the color property this metadata should describe