java.lang.Object
javafx.css.Selector
javafx.css.SimpleSelector
Deprecated, for removal: This API element is subject to removal in a future version.
This class was exposed erroneously and will be removed in a future version
A simple selector which behaves according to the CSS standard.
- Since:
- 9
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.Gets whether thisSelectorapplies to the givenStyleable.booleanapplies(Styleable styleable, Set<PseudoClass>[] pseudoClasses, int depth) Deprecated, for removal: This API element is subject to removal in a future version.Gets whether thisSelectorapplies to the givenStyleable.Deprecated, for removal: This API element is subject to removal in a future version.Creates aMatch.getId()Deprecated, for removal: This API element is subject to removal in a future version.Gets the value of the selector id.getName()Deprecated, for removal: This API element is subject to removal in a future version.Gets the name of the java class to which this selector is applied, or *.Deprecated, for removal: This API element is subject to removal in a future version.Gets theNodeOrientationof thisSelector.Deprecated, for removal: This API element is subject to removal in a future version.Gets an immutable list of style-classes of theSelector.Deprecated, for removal: This API element is subject to removal in a future version.Gets the immutable set of style class names of this Selector.Deprecated, for removal: This API element is subject to removal in a future version.Gets the immutableSetofStyleClasses of theSelector.booleanstateMatches(Styleable styleable, Set<PseudoClass> states) Deprecated, for removal: This API element is subject to removal in a future version.Determines whether the current state of theNodeand its parents matches the pseudo-classes defined (if any) for this selector.toString()Deprecated, for removal: This API element is subject to removal in a future version.Converts this object to a string.protected final voidwriteBinary(DataOutputStream os, StyleConverter.StringStore stringStore) Deprecated, for removal: This API element is subject to removal in a future version.WritesSelectordata in binary form to givenDataOutputStream.Methods declared in class javafx.css.SelectorcreateSelector, getOrdinal, getRule, setOrdinal
- 
Method Details- 
getNameDeprecated, for removal: This API element is subject to removal in a future version.Gets the name of the java class to which this selector is applied, or *.- Returns:
- the name of the java class
 
- 
getStyleClassesDeprecated, for removal: This API element is subject to removal in a future version.Gets an immutable list of style-classes of theSelector.- Returns:
- an immutable list of style-classes of the Selector
 
- 
getStyleClassSetDeprecated, for removal: This API element is subject to removal in a future version.Gets the immutableSetofStyleClasses of theSelector.- Returns:
- the SetofStyleClasses
 
- 
getIdDeprecated, for removal: This API element is subject to removal in a future version.Gets the value of the selector id.- Returns:
- the value of the selector id, which may be an empty string
 
- 
getNodeOrientationDeprecated, for removal: This API element is subject to removal in a future version.Gets theNodeOrientationof thisSelector.- Returns:
- the NodeOrientation
 
- 
getStyleClassNamesDeprecated, for removal: This API element is subject to removal in a future version.Description copied from class:SelectorGets the immutable set of style class names of this Selector.- Specified by:
- getStyleClassNamesin class- Selector
- Returns:
- an immutable set with style class names, never null, or containsnulls, but can be empty
 
- 
createMatchDeprecated, for removal: This API element is subject to removal in a future version.Description copied from class:SelectorCreates aMatch.- Specified by:
- createMatchin class- Selector
- Returns:
- a match, never null
 
- 
appliesDeprecated, for removal: This API element is subject to removal in a future version.Description copied from class:SelectorGets whether thisSelectorapplies to the givenStyleable.
- 
appliesDeprecated, for removal: This API element is subject to removal in a future version.Description copied from class:SelectorGets whether thisSelectorapplies to the givenStyleable. It is the same as theSelector.applies(javafx.css.Styleable)method except it also returnsPseudoClassstate that it finds along the way.
- 
stateMatchesDeprecated, for removal: This API element is subject to removal in a future version.Description copied from class:SelectorDetermines whether the current state of theNodeand its parents matches the pseudo-classes defined (if any) for this selector.- Specified by:
- stateMatchesin class- Selector
- Parameters:
- styleable- the styleable
- states- the state
- Returns:
- trueif the current state of the node and its parents matches the pseudo-classes defined (if any) for this selector
 
- 
toStringDeprecated, for removal: This API element is subject to removal in a future version.Converts this object to a string.
- 
writeBinaryprotected final void writeBinary(DataOutputStream os, StyleConverter.StringStore stringStore) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:SelectorWritesSelectordata in binary form to givenDataOutputStream.- Overrides:
- writeBinaryin class- Selector
- Parameters:
- os-- DataOutputStreamto write- Selectordata to
- stringStore- unused
- Throws:
- IOException- if writing to- DataOutputStreamfails
 
 
-