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 StyleOriginRule. getOrigin()Get theStyleOriginof thisStylesheet.StyleOriginStylesheet. getOrigin()Returns the origin of thisStylesheet.StyleOriginStyleableProperty. getStyleOrigin()Tells the origin of the value of the property.static StyleOriginStyleOrigin. 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 voidStyleableProperty. applyStyle(StyleOrigin origin, T value)This method is called from CSS code to set the value of the property.voidCssMetaData. set(S styleable, V value, StyleOrigin origin)Deprecated.This method is no longer called from CSS code.voidStylesheet. setOrigin(StyleOrigin origin)Sets the origin of thisStylesheet.