- java.lang.Object
- 
- javafx.css.Rule
 
- 
 public final class Rule extends Object 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObservableList<Declaration>getDeclarations()This method is to support tooling that may want to add declarations to or remove declarations from a Rule.StyleOrigingetOrigin()ObservableList<Selector>getSelectors()This method is to support tooling that may want to add selectors to or remove selectors from a Rule.StylesheetgetStylesheet()StringtoString()Converts this object to a string.
 
- 
- 
- 
Method Detail- 
getDeclarationspublic final ObservableList<Declaration> getDeclarations() This method is to support tooling that may want to add declarations to or remove declarations from a Rule. Changes to the list are tracked so that added declarations are tagged as belonging to this rule, and the rule for removed declarations is nulled out.- Returns:
- a observable list of declarations
 
 - 
getSelectorspublic final ObservableList<Selector> getSelectors() This method is to support tooling that may want to add selectors to or remove selectors from a Rule. Changes to the list are tracked so that added selectors are tagged as belonging to this rule, and the rule for removed selectors is nulled out.- Returns:
- an observable list of selectors
 
 - 
getStylesheetpublic Stylesheet getStylesheet() 
 - 
getOriginpublic StyleOrigin getOrigin() 
 
- 
 
-