Package | Description |
---|---|
com.sun.javafx.css | |
javafx.css |
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
|
javafx.scene.layout |
Provides classes to support user interface layout.
|
Modifier and Type | Class and Description |
---|---|
class |
com.sun.javafx.css.StyleConverterImpl<F,T> |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
CornerRadiiConverter
Convert parsed value of <size>{1,4} [ '/' <size>{1,4}]? [',' <size>{1,4} [ '/' <size>{1,4}]?]? to CornerRadii
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.