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.
|
javafx.scene.layout |
Provides classes to support user interface layout.
|
Modifier and Type | Class and Description |
---|---|
class |
StyleConverterImpl<F,T>
Converter converts ParsedValueImpl<F,T> from type F to type T.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,StyleConverter<?,?>> |
StyleConverterImpl.tmap |
Modifier and Type | Method and Description |
---|---|
(package private) static StyleConverter<?,?> |
StyleConverterImpl.getInstance(java.lang.String converterClass) |
static StyleConverter<?,?> |
StyleConverterImpl.readBinary(java.io.DataInputStream is,
java.lang.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(java.lang.String property,
StyleConverter converter) |
SubCssMetaData(java.lang.String property,
StyleConverter converter,
T initialValue) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,StyleConverter<?,?>> |
EnumConverter.converters |
Modifier and Type | Method and Description |
---|---|
static StyleConverter<java.lang.String,java.lang.String> |
StringConverter.getInstance() |
static StyleConverter<ParsedValue[],java.lang.String> |
URLConverter.getInstance() |
static StyleConverter<ParsedValue<?,Paint>,Paint> |
PaintConverter.getInstance() |
static StyleConverter<ParsedValue<?,Size>,Duration> |
DurationConverter.getInstance() |
static StyleConverter<java.lang.String,Color> |
ColorConverter.getInstance() |
static StyleConverter<java.lang.String,java.lang.Boolean> |
BooleanConverter.getInstance() |
static StyleConverter<java.lang.String,Shape> |
ShapeConverter.getInstance() |
static StyleConverter<java.lang.String,Cursor> |
CursorConverter.getInstance() |
static StyleConverter<ParsedValue[],Effect> |
EffectConverter.getInstance() |
static StyleConverter<ParsedValue[],Insets> |
InsetsConverter.getInstance() |
static StyleConverter<ParsedValue<?,Size>,java.lang.Number> |
SizeConverter.getInstance() |
static StyleConverter<ParsedValue[],Font> |
FontConverter.getInstance() |
static StyleConverter<?,?> |
EnumConverter.getInstance(java.lang.String ename) |
static StyleConverter<?,?> |
EnumConverter.readBinary(java.io.DataInputStream is,
java.lang.String[] strings) |
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 |
---|---|
private StyleConverter<?,V> |
CssMetaData.converter |
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<java.lang.String,java.lang.Boolean> |
StyleConverter.getBooleanConverter() |
static StyleConverter<java.lang.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 java.lang.Enum<E>> |
StyleConverter.getEnumConverter(java.lang.Class<E> enumClass) |
static StyleConverter<ParsedValue[],Font> |
StyleConverter.getFontConverter() |
static StyleConverter<ParsedValue[],Insets> |
StyleConverter.getInsetsConverter() |
static StyleConverter<ParsedValue<?,Paint>,Paint> |
StyleConverter.getPaintConverter() |
static StyleConverter<?,java.lang.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<java.lang.String,java.lang.String> |
StyleConverter.getStringConverter()
A converter for quoted strings which may have embedded unicode characters.
|
static StyleConverter<ParsedValue[],java.lang.String> |
StyleConverter.getUrlConverter()
A converter for URL strings.
|
Constructor and Description |
---|
CssMetaData(java.lang.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(java.lang.String property,
StyleConverter<?,V> converter,
V initialValue)
Construct a CssMetaData with the given parameters, inherit set to
false and no sub-properties.
|
CssMetaData(java.lang.String property,
StyleConverter<?,V> converter,
V initialValue,
boolean inherits)
Construct a CssMetaData with the given parameters and no sub-properties.
|
CssMetaData(java.lang.String property,
StyleConverter<?,V> converter,
V initialValue,
boolean inherits,
java.util.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.
|
SimpleCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<V>> function,
StyleConverter<?,V> converter,
V initialValue,
boolean inherits) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
BackgroundConverter
Converts the CSS for -fx-background items into a Background.
|
(package private) class |
BorderConverter |
Modifier and Type | Field and Description |
---|---|
(package private) static StyleConverter<ParsedValue[],Background> |
BackgroundConverter.INSTANCE |