Package | Description |
---|---|
javafx.css |
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
|
Modifier and Type | Field and Description |
---|---|
protected StyleConverter<V,T> |
ParsedValue.converter
The
StyleConverter which converts the parsed value to
the type of the StyleableProperty . |
Modifier and Type | Method and Description |
---|---|
static StyleConverter<String,Boolean> |
StyleConverter.getBooleanConverter() |
static StyleConverter<String,Color> |
StyleConverter.getColorConverter() |
StyleConverter<?,V> |
CssMetaData.getConverter() |
StyleConverter<V,T> |
ParsedValue.getConverter()
A
StyleConverter converts the parsed value to
the type of the StyleableProperty . |
static StyleConverter<?,Duration> |
StyleConverter.getDurationConverter() |
static StyleConverter<ParsedValue[],Effect> |
StyleConverter.getEffectConverter() |
static <E extends Enum<E>> |
StyleConverter.getEnumConverter(Class<E> enumClass) |
static StyleConverter<ParsedValue[],Font> |
StyleConverter.getFontConverter() |
static StyleConverter<ParsedValue[],Insets> |
StyleConverter.getInsetsConverter() |
static StyleConverter<ParsedValue<?,Paint>,Paint> |
StyleConverter.getPaintConverter() |
static StyleConverter<?,Number> |
StyleConverter.getSizeConverter()
CSS length and number values are parsed into a Size object that is
converted to a Number before the value is applied.
|
static StyleConverter<String,String> |
StyleConverter.getStringConverter()
A converter for quoted strings which may have embedded unicode characters.
|
static StyleConverter<ParsedValue[],String> |
StyleConverter.getUrlConverter()
A converter for URL strings.
|
Constructor and Description |
---|
CssMetaData(String property,
StyleConverter<?,V> converter)
Construct a CssMetaData with the given parameters, initialValue is
null, inherit is set to false, and no sub-properties.
|
CssMetaData(String property,
StyleConverter<?,V> converter,
V initialValue)
Construct a CssMetaData with the given parameters, inherit set to
false and no sub-properties.
|
CssMetaData(String property,
StyleConverter<?,V> converter,
V initialValue,
boolean inherits)
Construct a CssMetaData with the given parameters and no sub-properties.
|
CssMetaData(String property,
StyleConverter<?,V> converter,
V initialValue,
boolean inherits,
List<CssMetaData<? extends Styleable,?>> subProperties)
Construct a CssMetaData with the given parameters and no sub-properties.
|
ParsedValue(V value,
StyleConverter<V,T> converter)
Create an instance of ParsedValue where the value type V is converted to
the target type T using the given converter.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.