Package | Description |
---|---|
com.sun.javafx.css | |
com.sun.javafx.css.converters | |
com.sun.javafx.css.parser | |
com.sun.javafx.scene.layout.region | |
javafx.css |
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
|
Modifier and Type | Class and Description |
---|---|
class |
StyleConverterImpl<F,T>
Converter converts ParsedValueImpl<F,T> from type F to type T.
|
Modifier and Type | Method and Description |
---|---|
static StyleConverter<?,?> |
StyleConverterImpl.readBinary(DataInputStream is,
String[] strings) |
Constructor and Description |
---|
ParsedValueImpl(V value,
StyleConverter<V,T> type)
Create an instance of ParsedValueImpl where the value type V is converted to
the target type T using the given Type converter.
|
ParsedValueImpl(V value,
StyleConverter<V,T> converter,
boolean lookup)
Create an instance of ParsedValueImpl where the value type V is converted to
the target type T using the given Type converter.
|
SubCssMetaData(String property,
StyleConverter converter) |
SubCssMetaData(String property,
StyleConverter converter,
T initialValue) |
Modifier and Type | Class and Description |
---|---|
class |
DeriveColorConverter
Derive a Color from a Color and a brightness value
|
class |
DeriveSizeConverter
A type that combines two Size values.
|
class |
LadderConverter |
class |
StopConverter
convert a Stop from a Size and a Color
|
Modifier and Type | Class and Description |
---|---|
class |
BackgroundPositionConverter
Given four Sizes from the Parser, this converter will produce a BackgroundPosition object.
|
class |
BackgroundSizeConverter |
class |
BorderImageSliceConverter |
class |
BorderImageWidthConverter
User: richardbair
Date: 8/10/12
Time: 8:07 PM
|
class |
BorderImageWidthsSequenceConverter
User: richardbair
Date: 8/10/12
Time: 8:27 PM
|
class |
BorderStrokeStyleSequenceConverter
User: richardbair
Date: 8/10/12
Time: 7:31 AM
|
class |
BorderStyleConverter |
class |
CornerRadiiConverter
Convert parsed value of <size>{1,4} [ '/' <size>{1,4}]? [',' <size>{1,4} [ '/' <size>{1,4}]?]? to CornerRadii
|
class |
LayeredBackgroundPositionConverter
background-position:
|
class |
LayeredBackgroundSizeConverter
This class appears to be an artifact of the implementation, such that we need
to pass values around as ParsedValues, and so we have a parsed value that just
holds an array of background sizes, and the converter just pulls those
background sizes back out.
|
class |
LayeredBorderPaintConverter |
class |
LayeredBorderStyleConverter
User: richardbair
Date: 8/9/12
Time: 4:53 PM
|
static class |
Margins.Converter
Convert a sequence of sizes to an Margins
|
static class |
Margins.SequenceConverter
Convert a sequence of sizes to an Insets
|
class |
RepeatStructConverter |
class |
SliceSequenceConverter
[
|
class |
StrokeBorderPaintConverter |
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,T> |
ParsedValue.getConverter()
A
StyleConverter converts the parsed value to
the type of the StyleableProperty . |
StyleConverter<?,V> |
CssMetaData.getConverter() |
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.
|
Copyright © 2020. All rights reserved.