- java.lang.Object
-
- javafx.css.Match
-
- All Implemented Interfaces:
Comparable<Match>
public final class Match extends Object implements Comparable<Match>
Used byRuleto determine whether or not the selector applies to a given object. Returned bySelectormatches in the event of a match.- Since:
- 9
-
Method Summary
All MethodsInstance MethodsConcrete Methods Modifier and Type Method Description intcompareTo(Match o)com.sun.javafx.css.PseudoClassStategetPseudoClasses()SelectorgetSelector()intgetSpecificity()
-
Method Detail
-
getSelector
public Selector getSelector()
-
getPseudoClasses
public com.sun.javafx.css.PseudoClassState getPseudoClasses()
-
getSpecificity
public int getSpecificity()
-
compareTo
public int compareTo(Match o)
- Specified by:
-
compareToin interfaceComparable<Match>
-
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.