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 SummaryModifier and Type Method Description StringgetId()Gets the value of the selector id.StringgetName()Gets the name of the java class to which this selector is applied, or *.NodeOrientationgetNodeOrientation()Gets theNodeOrientationof thisSelector.List<String>getStyleClasses()Gets an immutable list of style-classes of theSelector.Set<StyleClass>getStyleClassSet()Gets theSetofStyleClasses of theSelector.StringtoString()Converts this object to a string.Methods declared in class javafx.css.Selectorapplies, applies, createMatch, createSelector, getOrdinal, getRule, setOrdinal, stateMatches, writeBinary
- 
Method Details- 
getNameGets the name of the java class to which this selector is applied, or *.- Returns:
- the name of the java class
 
- 
getStyleClassesGets an immutable list of style-classes of theSelector.- Returns:
- an immutable list of style-classes of the Selector
 
- 
getStyleClassSetGets theSetofStyleClasses of theSelector.- Returns:
- the SetofStyleClasses
 
- 
getIdGets the value of the selector id.- Returns:
- the value of the selector id, which may be an empty string
 
- 
getNodeOrientationGets theNodeOrientationof thisSelector.- Returns:
- the NodeOrientation
 
- 
toStringConverts this object to a string.
 
-