Uses of Class
javafx.css.StyleOrigin
Package | Description |
---|---|
javafx.css |
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
|
-
Uses of StyleOrigin in javafx.css
Methods in javafx.css that return StyleOrigin Modifier and Type Method Description StyleOrigin
Rule. getOrigin()
Get theStyleOrigin
of thisStylesheet
.StyleOrigin
Stylesheet. getOrigin()
Returns the origin of thisStylesheet
.StyleOrigin
StyleableProperty. getStyleOrigin()
Tells the origin of the value of the property.static StyleOrigin
StyleOrigin. valueOf(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.Methods in javafx.css with parameters of type StyleOrigin Modifier and Type Method Description void
StyleableProperty. applyStyle(StyleOrigin origin, T value)
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.void
Stylesheet. setOrigin(StyleOrigin origin)
Sets the origin of thisStylesheet
.