public abstract class Selector extends Object
Constructor and Description |
---|
Selector() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
applies(Styleable styleable) |
static Selector |
createSelector(String cssSelector) |
static Selector |
getUniversalSelector() |
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.
|
protected void |
writeBinary(DataOutputStream os,
StringStore stringStore) |
public static Selector getUniversalSelector()
public abstract boolean applies(Styleable styleable)
public abstract boolean stateMatches(Styleable styleable, Set<PseudoClass> state)
protected void writeBinary(DataOutputStream os, StringStore stringStore) throws IOException
IOException
Copyright © 2020. All rights reserved.