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.
|
Modifier and Type | Field and Description |
---|---|
private StyleOrigin |
CalculatedValue.origin |
private StyleOrigin |
Stylesheet.origin
True if this style came from user stylesheet, we need to know this so
that we can make user important styles have higher priority than
author styles
|
Modifier and Type | Method and Description |
---|---|
StyleOrigin |
Rule.getOrigin() |
StyleOrigin |
CalculatedValue.getOrigin() |
StyleOrigin |
CascadingStyle.getOrigin() |
StyleOrigin |
Stylesheet.getOrigin() |
private StyleOrigin |
Declaration.getOrigin()
Helper
|
Modifier and Type | Method and Description |
---|---|
void |
Stylesheet.setOrigin(StyleOrigin origin) |
Constructor and Description |
---|
CalculatedValue(java.lang.Object value,
StyleOrigin origin,
boolean relative) |
Modifier and Type | Method and Description |
---|---|
StyleOrigin |
LabeledText.StyleablePropertyMirror.getStyleOrigin() |
Modifier and Type | Method and Description |
---|---|
void |
LabeledText.StyleablePropertyMirror.applyStyle(StyleOrigin newOrigin,
T value) |
Modifier and Type | Field and Description |
---|---|
private StyleOrigin |
StyleableLongProperty.origin |
private StyleOrigin |
StyleableObjectProperty.origin |
private StyleOrigin |
StyleableStringProperty.origin |
private StyleOrigin |
StyleableIntegerProperty.origin |
private StyleOrigin |
StyleableFloatProperty.origin |
private StyleOrigin |
StyleableBooleanProperty.origin |
private StyleOrigin |
StyleableDoubleProperty.origin |
Modifier and Type | Method and Description |
---|---|
StyleOrigin |
StyleableLongProperty.getStyleOrigin()
Tells the origin of the value of the property.
|
StyleOrigin |
StyleableProperty.getStyleOrigin()
Tells the origin of the value of the property.
|
StyleOrigin |
StyleableObjectProperty.getStyleOrigin()
Tells the origin of the value of the property.
|
StyleOrigin |
StyleableStringProperty.getStyleOrigin()
Tells the origin of the value of the property.
|
StyleOrigin |
StyleableIntegerProperty.getStyleOrigin()
Tells the origin of the value of the property.
|
StyleOrigin |
StyleableFloatProperty.getStyleOrigin()
Tells the origin of the value of the property.
|
StyleOrigin |
StyleableBooleanProperty.getStyleOrigin()
Tells the origin of the value of the property.
|
StyleOrigin |
StyleableDoubleProperty.getStyleOrigin()
Tells the origin of the value of the property.
|
static StyleOrigin |
StyleOrigin.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StyleOrigin[] |
StyleOrigin.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
StyleableBooleanProperty.applyStyle(StyleOrigin origin,
java.lang.Boolean v)
This method is called from CSS code to set the value of the property.
|
void |
StyleableLongProperty.applyStyle(StyleOrigin origin,
java.lang.Number v)
This method is called from CSS code to set the value of the property.
|
void |
StyleableIntegerProperty.applyStyle(StyleOrigin origin,
java.lang.Number v)
This method is called from CSS code to set the value of the property.
|
void |
StyleableFloatProperty.applyStyle(StyleOrigin origin,
java.lang.Number v)
This method is called from CSS code to set the value of the property.
|
void |
StyleableDoubleProperty.applyStyle(StyleOrigin origin,
java.lang.Number v)
This method is called from CSS code to set the value of the property.
|
void |
StyleableStringProperty.applyStyle(StyleOrigin origin,
java.lang.String v)
This method is called from CSS code to set the value of the property.
|
void |
StyleableProperty.applyStyle(StyleOrigin origin,
T value)
This method is called from CSS code to set the value of the property.
|
void |
StyleableObjectProperty.applyStyle(StyleOrigin origin,
T v)
This method is called from CSS code to set the value of the property.
|
void |
CssMetaData.set(S styleable,
V value,
StyleOrigin origin)
Deprecated.
This method is no longer called from CSS code.
Use
StyleableProperty.applyStyle(javafx.css.StyleOrigin, java.lang.Object) |
Modifier and Type | Method and Description |
---|---|
private ParsedValueImpl |
CssStyleHelper.resolveLookups(Styleable styleable,
ParsedValueImpl parsedValue,
StyleMap styleMap,
java.util.Set<PseudoClass> states,
ObjectProperty<StyleOrigin> whence,
java.util.Set<ParsedValue> resolves) |