-
-
Constructor Summary
Constructors
Constructor |
Description |
Selector() |
|
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Selector
public Selector()
-
Method Detail
-
getRule
public Rule getRule()
-
getOrdinal
public int getOrdinal()
-
stateMatches
public abstract boolean stateMatches(Styleable styleable,
Set<PseudoClass> state)
Determines whether the current state of the node and its parents
matches the pseudo-classes defined (if any) for this selector.
- Parameters:
styleable
- the styleable
state
- the state
- Returns:
true
if the current state of the node and its parents
matches the pseudo-classes defined (if any) for this selector