java.lang.Object
javafx.css.Style
public final class Style extends Object
A Style is just the selector and declaration from a Rule.
- Since:
- 9
- 
Constructor SummaryConstructors Constructor Description Style(Selector selector, Declaration declaration)
- 
Method SummaryModifier and Type Method Description booleanequals(Object obj)DeclarationgetDeclaration()The Declaration that is the source of the style that is about to be applied or has just been applied.SelectorgetSelector()A selector might have more than one selector.inthashCode()StringtoString()
- 
Constructor Details
- 
Method Details- 
getSelectorA selector might have more than one selector. This is the one that was matched.- Returns:
- the matched selector
 
- 
getDeclarationThe Declaration that is the source of the style that is about to be applied or has just been applied. May be null if the value comes from the CSSProperty's initial (default) value.- Returns:
- the declaration
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-