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 Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.Gets whether thisSelector
applies to the givenStyleable
.boolean
applies
(Styleable styleable, Set<PseudoClass>[] pseudoClasses, int depth) Deprecated, for removal: This API element is subject to removal in a future version.Gets whether thisSelector
applies 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 theNodeOrientation
of 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 immutableSet
ofStyleClass
es of theSelector
.boolean
stateMatches
(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 theNode
and 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 void
writeBinary
(DataOutputStream os, StyleConverter.StringStore stringStore) Deprecated, for removal: This API element is subject to removal in a future version.WritesSelector
data in binary form to givenDataOutputStream
.Methods declared in class javafx.css.Selector
createSelector, getOrdinal, getRule, setOrdinal
-
Method Details
-
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 *.- Returns:
- the name of the java class
-
getStyleClasses
Deprecated, 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
-
getStyleClassSet
Deprecated, for removal: This API element is subject to removal in a future version.Gets the immutableSet
ofStyleClass
es of theSelector
.- Returns:
- the
Set
ofStyleClass
es
-
getId
Deprecated, 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
-
getNodeOrientation
Deprecated, for removal: This API element is subject to removal in a future version.Gets theNodeOrientation
of thisSelector
.- Returns:
- the
NodeOrientation
-
getStyleClassNames
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:Selector
Gets the immutable set of style class names of this Selector.- Specified by:
getStyleClassNames
in classSelector
- Returns:
- an immutable set with style class names, never
null
, or containsnull
s, but can be empty
-
createMatch
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:Selector
Creates aMatch
.- Specified by:
createMatch
in classSelector
- Returns:
- a match, never
null
-
applies
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:Selector
Gets whether thisSelector
applies to the givenStyleable
. -
applies
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:Selector
Gets whether thisSelector
applies to the givenStyleable
. It is the same as theSelector.applies(javafx.css.Styleable)
method except it also returnsPseudoClass
state that it finds along the way. -
stateMatches
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:Selector
Determines whether the current state of theNode
and its parents matches the pseudo-classes defined (if any) for this selector.- Specified by:
stateMatches
in classSelector
- Parameters:
styleable
- the styleablestates
- the state- Returns:
true
if the current state of the node and 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. -
writeBinary
protected 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:Selector
WritesSelector
data in binary form to givenDataOutputStream
.- Overrides:
writeBinary
in classSelector
- Parameters:
os
-DataOutputStream
to writeSelector
data tostringStore
- unused- Throws:
IOException
- if writing toDataOutputStream
fails
-