java.lang.Object
javafx.css.Selector
javafx.css.SimpleSelector
public final class SimpleSelector extends Selector
A simple selector which behaves according to the CSS standard.
- Since:
- 9
-
Method Summary
Modifier and Type Method Description String
getId()
Gets the value of the selector id.String
getName()
Gets the name of the java class to which this selector is applied, or *.NodeOrientation
getNodeOrientation()
Gets theNodeOrientation
of thisSelector
.List<String>
getStyleClasses()
Gets an immutable list of style-classes of theSelector
.Set<StyleClass>
getStyleClassSet()
Gets theSet
ofStyleClass
es of theSelector
.String
toString()
Converts this object to a string.Methods declared in class javafx.css.Selector
applies, applies, createMatch, createSelector, getOrdinal, getRule, setOrdinal, stateMatches, writeBinary
-
Method Details
-
getName
Gets the name of the java class to which this selector is applied, or *.- Returns:
- the name of the java class
-
getStyleClasses
Gets an immutable list of style-classes of theSelector
.- Returns:
- an immutable list of style-classes of the
Selector
-
getStyleClassSet
Gets theSet
ofStyleClass
es of theSelector
.- Returns:
- the
Set
ofStyleClass
es
-
getId
Gets the value of the selector id.- Returns:
- the value of the selector id, which may be an empty string
-
getNodeOrientation
Gets theNodeOrientation
of thisSelector
.- Returns:
- the
NodeOrientation
-
toString
Converts this object to a string.
-