Package | Description |
---|---|
com.sun.javafx.css | |
com.sun.javafx.scene.control.skin | |
javafx.css |
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.layout |
Provides classes to support user interface layout.
|
Modifier and Type | Method and Description |
---|---|
StyleableProperty<T> |
SubCssMetaData.getStyleableProperty(Node node) |
Modifier and Type | Class and Description |
---|---|
private class |
LabeledText.StyleablePropertyMirror<T> |
Modifier and Type | Field and Description |
---|---|
private StyleableProperty<T> |
LabeledText.StyleablePropertyMirror.property |
Modifier and Type | Method and Description |
---|---|
private StyleableProperty<Paint> |
LabeledText.fillMirror() |
private StyleableProperty<Font> |
LabeledText.fontMirror() |
private StyleableProperty<java.lang.Number> |
LabeledText.lineSpacingMirror() |
private StyleableProperty<TextAlignment> |
LabeledText.textAlignmentMirror() |
private StyleableProperty<java.lang.Boolean> |
LabeledText.underlineMirror() |
Constructor and Description |
---|
StyleablePropertyMirror(CssMetaData<LabeledText,T> cssMetaData,
java.lang.String name,
T initialValue,
StyleableProperty<T> property) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleStyleableBooleanProperty
This class extends
SimpleBooleanProperty and provides a full
implementation of a StyleableProperty . |
class |
SimpleStyleableDoubleProperty
This class extends
SimpleDoubleProperty and provides a full
implementation of a StyleableProperty . |
class |
SimpleStyleableFloatProperty
This class extends
SimpleFloatProperty and provides a full
implementation of a StyleableProperty . |
class |
SimpleStyleableIntegerProperty
This class extends
SimpleIntegerProperty and provides a full
implementation of a StyleableProperty . |
class |
SimpleStyleableLongProperty
This class extends
SimpleLongProperty and provides a full
implementation of a StyleableProperty . |
class |
SimpleStyleableObjectProperty<T>
This class extends
SimpleObjectProperty and provides a full
implementation of a StyleableProperty . |
class |
SimpleStyleableStringProperty
This class extends
SimpleStringProperty and provides a full
implementation of a StyleableProperty . |
class |
StyleableBooleanProperty
This class extends
BooleanPropertyBase and provides a partial
implementation of a StyleableProperty . |
class |
StyleableDoubleProperty
This class extends
DoublePropertyBase and provides a partial
implementation of a StyleableProperty . |
class |
StyleableFloatProperty
This class extends
FloatPropertyBase and provides a partial
implementation of a StyleableProperty . |
class |
StyleableIntegerProperty
This class extends
IntegerPropertyBase and provides a partial
implementation of a StyleableProperty . |
class |
StyleableLongProperty
This class extends
LongPropertyBase and provides a partial
implementation of a StyleableProperty . |
class |
StyleableObjectProperty<T>
This class extends
ObjectPropertyBase and provides a partial
implementation of a StyleableProperty . |
class |
StyleableStringProperty
This class extends
StringPropertyBase and provides a partial
implementation of a StyleableProperty . |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<S,StyleableProperty<V>> |
StyleablePropertyFactory.SimpleCssMetaData.function |
Modifier and Type | Method and Description |
---|---|
StyleableProperty<java.lang.Boolean> |
StyleablePropertyFactory.createStyleableBooleanProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty)
Create a StyleableProperty<Boolean> using previously created CssMetaData for the given
cssProperty . |
StyleableProperty<java.lang.Boolean> |
StyleablePropertyFactory.createStyleableBooleanProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Boolean>> function)
Create a StyleableProperty<Boolean>.
|
StyleableProperty<java.lang.Boolean> |
StyleablePropertyFactory.createStyleableBooleanProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Boolean>> function,
boolean initialValue)
Create a StyleableProperty<Boolean> with initial value.
|
StyleableProperty<java.lang.Boolean> |
StyleablePropertyFactory.createStyleableBooleanProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Boolean>> function,
boolean initialValue,
boolean inherits)
Create a StyleableProperty<Boolean> with initial value and inherit flag.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty)
Create a StyleableProperty<Color> using previously created CssMetaData for the given
cssProperty . |
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Color>> function)
Create a StyleableProperty<Color>.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Color>> function,
Color initialValue)
Create a StyleableProperty<Color> with initial value.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Color>> function,
Color initialValue,
boolean inherits)
Create a StyleableProperty<Color> with initial value and inherit flag.
|
StyleableProperty<Duration> |
StyleablePropertyFactory.createStyleableDurationProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty)
Create a StyleableProperty<Duration> using previously created CssMetaData for the given
cssProperty . |
StyleableProperty<Duration> |
StyleablePropertyFactory.createStyleableDurationProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Duration>> function)
Create a StyleableProperty<Duration>.
|
StyleableProperty<Duration> |
StyleablePropertyFactory.createStyleableDurationProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Duration>> function,
Duration initialValue)
Create a StyleableProperty<Duration> with initial value.
|
StyleableProperty<Duration> |
StyleablePropertyFactory.createStyleableDurationProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Duration>> function,
Duration initialValue,
boolean inherits)
Create a StyleableProperty<Duration> with initial value and inherit flag.
|
StyleableProperty<Effect> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty)
Create a StyleableProperty<Effect> using previously created CssMetaData for the given
cssProperty . |
<E extends java.lang.Enum<E>> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.lang.Class<E> enumClass)
Create a StyleableProperty<E extends Enum<E>> using previously created CssMetaData for the given
cssProperty . |
<E extends Effect> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function)
Create a StyleableProperty<Effect>.
|
<E extends Effect> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function,
E initialValue)
Create a StyleableProperty<Effect> with initial value.
|
<E extends Effect> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function,
E initialValue,
boolean inherits)
Create a StyleableProperty<Effect> with initial value and inherit flag.
|
<E extends java.lang.Enum<E>> |
StyleablePropertyFactory.createStyleableEnumProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function,
java.lang.Class<E> enumClass)
Create a StyleableProperty<E extends Enum<E>>.
|
<E extends java.lang.Enum<E>> |
StyleablePropertyFactory.createStyleableEnumProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function,
java.lang.Class<E> enumClass,
E initialValue)
Create a StyleableProperty<E extends Enum<E>> with initial value.
|
<E extends java.lang.Enum<E>> |
StyleablePropertyFactory.createStyleableEnumProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function,
java.lang.Class<E> enumClass,
E initialValue,
boolean inherits)
Create a StyleableProperty<E extends Enum<E>> with initial value and inherit flag.
|
StyleableProperty<Font> |
StyleablePropertyFactory.createStyleableFontProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty)
Create a StyleableProperty<Font> using previously created CssMetaData for the given
cssProperty . |
StyleableProperty<Font> |
StyleablePropertyFactory.createStyleableFontProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Font>> function)
Create a StyleableProperty<Font>.
|
StyleableProperty<Font> |
StyleablePropertyFactory.createStyleableFontProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Font>> function,
Font initialValue)
Create a StyleableProperty<Font> with initial value.
|
StyleableProperty<Font> |
StyleablePropertyFactory.createStyleableFontProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Font>> function,
Font initialValue,
boolean inherits)
Create a StyleableProperty<Font> with initial value and inherit flag.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty)
Create a StyleableProperty<Insets> using previously created CssMetaData for the given
cssProperty . |
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Insets>> function)
Create a StyleableProperty<Inset>.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Insets>> function,
Insets initialValue)
Create a StyleableProperty<Inset> with initial value.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Insets>> function,
Insets initialValue,
boolean inherits)
Create a StyleableProperty<Inset> with initial value and inherit flag.
|
StyleableProperty<java.lang.Number> |
StyleablePropertyFactory.createStyleableNumberProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty)
Create a StyleableProperty<Number> using previously created CssMetaData for the given
cssProperty . |
StyleableProperty<java.lang.Number> |
StyleablePropertyFactory.createStyleableNumberProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Number>> function)
Create a StyleableProperty<Number>.
|
StyleableProperty<java.lang.Number> |
StyleablePropertyFactory.createStyleableNumberProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Number>> function,
java.lang.Number initialValue)
Create a StyleableProperty<Number> with initial value.
|
StyleableProperty<java.lang.Number> |
StyleablePropertyFactory.createStyleableNumberProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Number>> function,
java.lang.Number initialValue,
boolean inherits)
Create a StyleableProperty<Number> with initial value and inherit flag.
|
StyleableProperty<Paint> |
StyleablePropertyFactory.createStyleablePaintProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty)
Create a StyleableProperty<Paint> using previously created CssMetaData for the given
cssProperty . |
StyleableProperty<Paint> |
StyleablePropertyFactory.createStyleablePaintProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Paint>> function)
Create a StyleableProperty<Paint>.
|
StyleableProperty<Paint> |
StyleablePropertyFactory.createStyleablePaintProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Paint>> function,
Paint initialValue)
Create a StyleableProperty<Paint> with initial value.
|
StyleableProperty<Paint> |
StyleablePropertyFactory.createStyleablePaintProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Paint>> function,
Paint initialValue,
boolean inherits)
Create a StyleableProperty<Paint> with initial value and inherit flag.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableStringProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty)
Create a StyleableProperty<String> using previously created CssMetaData for the given
cssProperty . |
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableStringProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function)
Create a StyleableProperty<String>.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableStringProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue)
Create a StyleableProperty<String> with initial value.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableStringProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue,
boolean inherits)
Create a StyleableProperty<String> with initial value and inherit flag.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableUrlProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty)
Create a StyleableProperty<String> using previously created CssMetaData for the given
cssProperty . |
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableUrlProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function)
Create a StyleableProperty<String> with initial value.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableUrlProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue)
Create a StyleableProperty<String> with initial value.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableUrlProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue,
boolean inherits)
Create a StyleableProperty<String> with initial value and inherit flag.
|
StyleableProperty<V> |
StyleablePropertyFactory.SimpleCssMetaData.getStyleableProperty(S styleable)
Return the corresponding
StyleableProperty for the given Node. |
abstract StyleableProperty<V> |
CssMetaData.getStyleableProperty(S styleable)
Return the corresponding
StyleableProperty for the given Node. |
Modifier and Type | Method and Description |
---|---|
CssMetaData<S,java.lang.Boolean> |
StyleablePropertyFactory.createBooleanCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.Boolean>> function)
Create a CssMetaData<S, Boolean> with initial value and inherit flag both defaulting to false.
|
CssMetaData<S,java.lang.Boolean> |
StyleablePropertyFactory.createBooleanCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.Boolean>> function,
boolean initialValue)
Create a CssMetaData<S, Boolean> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,java.lang.Boolean> |
StyleablePropertyFactory.createBooleanCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.Boolean>> function,
boolean initialValue,
boolean inherits)
Create a CssMetaData<S, Boolean> with initial value, and inherit flag.
|
CssMetaData<S,Color> |
StyleablePropertyFactory.createColorCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Color>> function)
Create a CssMetaData<S, Color> with initial value of Color.BLACK, and inherit flag defaulting to false.
|
CssMetaData<S,Color> |
StyleablePropertyFactory.createColorCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Color>> function,
Color initialValue)
Create a CssMetaData<S, Color> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,Color> |
StyleablePropertyFactory.createColorCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Color>> function,
Color initialValue,
boolean inherits)
Create a CssMetaData<S, Color> with initial value, and inherit flag.
|
CssMetaData<S,Duration> |
StyleablePropertyFactory.createDurationCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Duration>> function)
Create a CssMetaData<S, Duration> with initial value of Duration.BLACK, and inherit flag defaulting to false.
|
CssMetaData<S,Duration> |
StyleablePropertyFactory.createDurationCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Duration>> function,
Duration initialValue)
Create a CssMetaData<S, Duration> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,Duration> |
StyleablePropertyFactory.createDurationCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Duration>> function,
Duration initialValue,
boolean inherits)
Create a CssMetaData<S, Duration> with initial value, and inherit flag.
|
<E extends Effect> |
StyleablePropertyFactory.createEffectCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<E>> function)
Create a CssMetaData<S, Effect> with initial value of null, and inherit flag defaulting to false.
|
<E extends Effect> |
StyleablePropertyFactory.createEffectCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<E>> function,
E initialValue)
Create a CssMetaData<S, Effect> with initial value, and inherit flag defaulting to false.
|
<E extends Effect> |
StyleablePropertyFactory.createEffectCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<E>> function,
E initialValue,
boolean inherits)
Create a CssMetaData<S, Effect> with initial value, and inherit flag.
|
<E extends java.lang.Enum<E>> |
StyleablePropertyFactory.createEnumCssMetaData(java.lang.Class<? extends java.lang.Enum> enumClass,
java.lang.String property,
java.util.function.Function<S,StyleableProperty<E>> function)
Create a CssMetaData<S, Enum> with initial value of null, and inherit flag defaulting to false.
|
<E extends java.lang.Enum<E>> |
StyleablePropertyFactory.createEnumCssMetaData(java.lang.Class<? extends java.lang.Enum> enumClass,
java.lang.String property,
java.util.function.Function<S,StyleableProperty<E>> function,
E initialValue)
Create a CssMetaData<S, Enum> with initial value, and inherit flag defaulting to false.
|
<E extends java.lang.Enum<E>> |
StyleablePropertyFactory.createEnumCssMetaData(java.lang.Class<? extends java.lang.Enum> enumClass,
java.lang.String property,
java.util.function.Function<S,StyleableProperty<E>> function,
E initialValue,
boolean inherits)
Create a CssMetaData<S, Enum> with initial value, and inherit flag.
|
CssMetaData<S,Font> |
StyleablePropertyFactory.createFontCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Font>> function)
Create a CssMetaData<S, Font> with initial value of
Font.getDefault() , and inherit flag defaulting to true. |
CssMetaData<S,Font> |
StyleablePropertyFactory.createFontCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Font>> function,
Font initialValue)
Create a CssMetaData<S, Font> with initial value, and inherit flag defaulting to true.
|
CssMetaData<S,Font> |
StyleablePropertyFactory.createFontCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Font>> function,
Font initialValue,
boolean inherits)
Create a CssMetaData<S, Font> with initial value, and inherit flag.
|
CssMetaData<S,Insets> |
StyleablePropertyFactory.createInsetsCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Insets>> function)
Create a CssMetaData<S, Insets> with initial value of
javafx.geometry.Insets.EMPTY , and inherit flag defaulting to false. |
CssMetaData<S,Insets> |
StyleablePropertyFactory.createInsetsCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Insets>> function,
Insets initialValue)
Create a CssMetaData<S, Insets> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,Insets> |
StyleablePropertyFactory.createInsetsCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Insets>> function,
Insets initialValue,
boolean inherits)
Create a CssMetaData<S, Insets> with initial value, and inherit flag.
|
CssMetaData<S,Paint> |
StyleablePropertyFactory.createPaintCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Paint>> function)
Create a CssMetaData<S, Paint> with initial value of Color.BLACK, and inherit flag defaulting to false.
|
CssMetaData<S,Paint> |
StyleablePropertyFactory.createPaintCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Paint>> function,
Paint initialValue)
Create a CssMetaData<S, Paint> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,Paint> |
StyleablePropertyFactory.createPaintCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<Paint>> function,
Paint initialValue,
boolean inherits)
Create a CssMetaData<S, Paint> with initial value, and inherit flag.
|
CssMetaData<S,java.lang.Number> |
StyleablePropertyFactory.createSizeCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.Number>> function)
Create a CssMetaData<S, Number> with initial value of
0d , and inherit flag defaulting to false. |
CssMetaData<S,java.lang.Number> |
StyleablePropertyFactory.createSizeCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.Number>> function,
java.lang.Number initialValue)
Create a CssMetaData<S, Number> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,java.lang.Number> |
StyleablePropertyFactory.createSizeCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.Number>> function,
java.lang.Number initialValue,
boolean inherits)
Create a CssMetaData<S, Number> with initial value, and inherit flag.
|
CssMetaData<S,java.lang.String> |
StyleablePropertyFactory.createStringCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function)
Create a CssMetaData<S, String> with initial value of null, and inherit flag defaulting to false.
|
CssMetaData<S,java.lang.String> |
StyleablePropertyFactory.createStringCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue)
Create a CssMetaData<S, String> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,java.lang.String> |
StyleablePropertyFactory.createStringCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue,
boolean inherits)
Create a CssMetaData<S, String> with initial value, and inherit flag.
|
StyleableProperty<java.lang.Boolean> |
StyleablePropertyFactory.createStyleableBooleanProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Boolean>> function)
Create a StyleableProperty<Boolean>.
|
StyleableProperty<java.lang.Boolean> |
StyleablePropertyFactory.createStyleableBooleanProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Boolean>> function,
boolean initialValue)
Create a StyleableProperty<Boolean> with initial value.
|
StyleableProperty<java.lang.Boolean> |
StyleablePropertyFactory.createStyleableBooleanProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Boolean>> function,
boolean initialValue,
boolean inherits)
Create a StyleableProperty<Boolean> with initial value and inherit flag.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Color>> function)
Create a StyleableProperty<Color>.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Color>> function,
Color initialValue)
Create a StyleableProperty<Color> with initial value.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Color>> function,
Color initialValue,
boolean inherits)
Create a StyleableProperty<Color> with initial value and inherit flag.
|
StyleableProperty<Duration> |
StyleablePropertyFactory.createStyleableDurationProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Duration>> function)
Create a StyleableProperty<Duration>.
|
StyleableProperty<Duration> |
StyleablePropertyFactory.createStyleableDurationProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Duration>> function,
Duration initialValue)
Create a StyleableProperty<Duration> with initial value.
|
StyleableProperty<Duration> |
StyleablePropertyFactory.createStyleableDurationProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Duration>> function,
Duration initialValue,
boolean inherits)
Create a StyleableProperty<Duration> with initial value and inherit flag.
|
<E extends Effect> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function)
Create a StyleableProperty<Effect>.
|
<E extends Effect> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function,
E initialValue)
Create a StyleableProperty<Effect> with initial value.
|
<E extends Effect> |
StyleablePropertyFactory.createStyleableEffectProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function,
E initialValue,
boolean inherits)
Create a StyleableProperty<Effect> with initial value and inherit flag.
|
<E extends java.lang.Enum<E>> |
StyleablePropertyFactory.createStyleableEnumProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function,
java.lang.Class<E> enumClass)
Create a StyleableProperty<E extends Enum<E>>.
|
<E extends java.lang.Enum<E>> |
StyleablePropertyFactory.createStyleableEnumProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function,
java.lang.Class<E> enumClass,
E initialValue)
Create a StyleableProperty<E extends Enum<E>> with initial value.
|
<E extends java.lang.Enum<E>> |
StyleablePropertyFactory.createStyleableEnumProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<E>> function,
java.lang.Class<E> enumClass,
E initialValue,
boolean inherits)
Create a StyleableProperty<E extends Enum<E>> with initial value and inherit flag.
|
StyleableProperty<Font> |
StyleablePropertyFactory.createStyleableFontProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Font>> function)
Create a StyleableProperty<Font>.
|
StyleableProperty<Font> |
StyleablePropertyFactory.createStyleableFontProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Font>> function,
Font initialValue)
Create a StyleableProperty<Font> with initial value.
|
StyleableProperty<Font> |
StyleablePropertyFactory.createStyleableFontProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Font>> function,
Font initialValue,
boolean inherits)
Create a StyleableProperty<Font> with initial value and inherit flag.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Insets>> function)
Create a StyleableProperty<Inset>.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Insets>> function,
Insets initialValue)
Create a StyleableProperty<Inset> with initial value.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Insets>> function,
Insets initialValue,
boolean inherits)
Create a StyleableProperty<Inset> with initial value and inherit flag.
|
StyleableProperty<java.lang.Number> |
StyleablePropertyFactory.createStyleableNumberProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Number>> function)
Create a StyleableProperty<Number>.
|
StyleableProperty<java.lang.Number> |
StyleablePropertyFactory.createStyleableNumberProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Number>> function,
java.lang.Number initialValue)
Create a StyleableProperty<Number> with initial value.
|
StyleableProperty<java.lang.Number> |
StyleablePropertyFactory.createStyleableNumberProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.Number>> function,
java.lang.Number initialValue,
boolean inherits)
Create a StyleableProperty<Number> with initial value and inherit flag.
|
StyleableProperty<Paint> |
StyleablePropertyFactory.createStyleablePaintProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Paint>> function)
Create a StyleableProperty<Paint>.
|
StyleableProperty<Paint> |
StyleablePropertyFactory.createStyleablePaintProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Paint>> function,
Paint initialValue)
Create a StyleableProperty<Paint> with initial value.
|
StyleableProperty<Paint> |
StyleablePropertyFactory.createStyleablePaintProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<Paint>> function,
Paint initialValue,
boolean inherits)
Create a StyleableProperty<Paint> with initial value and inherit flag.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableStringProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function)
Create a StyleableProperty<String>.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableStringProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue)
Create a StyleableProperty<String> with initial value.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableStringProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue,
boolean inherits)
Create a StyleableProperty<String> with initial value and inherit flag.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableUrlProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function)
Create a StyleableProperty<String> with initial value.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableUrlProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue)
Create a StyleableProperty<String> with initial value.
|
StyleableProperty<java.lang.String> |
StyleablePropertyFactory.createStyleableUrlProperty(S styleable,
java.lang.String propertyName,
java.lang.String cssProperty,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue,
boolean inherits)
Create a StyleableProperty<String> with initial value and inherit flag.
|
CssMetaData<S,java.lang.String> |
StyleablePropertyFactory.createUrlCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function)
Create a CssMetaData<S, String> with initial value of null, and inherit flag defaulting to false.
|
CssMetaData<S,java.lang.String> |
StyleablePropertyFactory.createUrlCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue)
Create a CssMetaData<S, String> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,java.lang.String> |
StyleablePropertyFactory.createUrlCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<java.lang.String>> function,
java.lang.String initialValue,
boolean inherits)
Create a CssMetaData<S, String> with initial value, and inherit flag.
|
Constructor and Description |
---|
SimpleCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<V>> function,
StyleConverter<?,V> converter,
V initialValue,
boolean inherits) |
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.Map<StyleableProperty<?>,java.util.List<Style>> |
CssStyleHelper.getMatchingStyles(java.util.Map<StyleableProperty<?>,java.util.List<Style>> map,
Node node) |
java.util.Map<StyleableProperty<?>,java.util.List<Style>> |
Node.impl_findStyles(java.util.Map<StyleableProperty<?>,java.util.List<Style>> styleMap)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
ObservableMap<StyleableProperty<?>,java.util.List<Style>> |
Node.impl_getStyleMap()
Deprecated.
This is an experimental API that is not intended for general use and is subject to change in future versions
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.Map<StyleableProperty<?>,java.util.List<Style>> |
CssStyleHelper.getMatchingStyles(java.util.Map<StyleableProperty<?>,java.util.List<Style>> map,
Node node) |
java.util.Map<StyleableProperty<?>,java.util.List<Style>> |
Node.impl_findStyles(java.util.Map<StyleableProperty<?>,java.util.List<Style>> styleMap)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
void |
Node.impl_setStyleMap(ObservableMap<StyleableProperty<?>,java.util.List<Style>> styleMap)
Deprecated.
This is an experimental API that is not intended for general use and is subject to change in future versions
|
Modifier and Type | Class and Description |
---|---|
private class |
Region.MinPrefMaxProperty
This class is reused for the min, pref, and max properties since
they all performed the same function (to call requestParentLayout).
|
private class |
Region.ShapeProperty
An implementation for the ShapeProperty.
|