SimpleSelector (Java SE 10 & JDK 10 ) (original) (raw)
- 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
All Methods Instance Methods Concrete Methods
Modifier and Type Method Description String getId() String getName() NodeOrientation getNodeOrientation() List<String> getStyleClasses() Set<StyleClass> getStyleClassSet() String toString() Converts this object to a string. * ### Methods declared in class java.lang.[Object](../../java/lang/Object.html "class in java.lang") `[clone](../../java/lang/Object.html#clone%28%29), [equals](../../java/lang/Object.html#equals%28java.lang.Object%29), [finalize](../../java/lang/Object.html#finalize%28%29), [getClass](../../java/lang/Object.html#getClass%28%29), [hashCode](../../java/lang/Object.html#hashCode%28%29), [notify](../../java/lang/Object.html#notify%28%29), [notifyAll](../../java/lang/Object.html#notifyAll%28%29), [wait](../../java/lang/Object.html#wait%28%29), [wait](../../java/lang/Object.html#wait%28long%29), [wait](../../java/lang/Object.html#wait%28long,int%29)` * ### Methods declared in class javafx.css.[Selector](../../javafx/css/Selector.html "class in javafx.css") `[stateMatches](../../javafx/css/Selector.html#stateMatches%28javafx.css.Styleable,java.util.Set%29)`
Method Detail
* #### getName public [String](../../java/lang/String.html "class in java.lang") getName() Returns: The name of the java class to which this selector is applied, or \*. * #### getStyleClasses public [List](../../java/util/List.html "interface in java.util")<[String](../../java/lang/String.html "class in java.lang")> getStyleClasses() Returns: Immutable List<String> of style-classes of the selector * #### getStyleClassSet public [Set](../../java/util/Set.html "interface in java.util")<[StyleClass](../../javafx/css/StyleClass.html "class in javafx.css")> getStyleClassSet() * #### getId public [String](../../java/lang/String.html "class in java.lang") getId() * #### getNodeOrientation public [NodeOrientation](../../javafx/geometry/NodeOrientation.html "enum in javafx.geometry") getNodeOrientation() * #### toString public [String](../../java/lang/String.html "class in java.lang") toString() Converts this object to a string. Overrides: `[toString](../../java/lang/Object.html#toString%28%29)` in class `[Object](../../java/lang/Object.html "class in java.lang")` Returns: a string representation of the object.
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.