Class ModifierSelector
java.lang.Object
dev.prozilla.pine.common.property.style.selector.Selector
dev.prozilla.pine.common.property.style.selector.ModifierSelector
- All Implemented Interfaces:
Printable
A selector that matches elements with a specific modifier.
-
Field Details
-
HOVER
-
-
Constructor Details
-
ModifierSelector
-
-
Method Details
-
matches
Description copied from class:Selector
Checks whether this selector matches a given node. -
getSpecificity
public int getSpecificity()Description copied from class:Selector
Returns an integer representing the specificity of this selector.- Specified by:
getSpecificity
in classSelector
- Returns:
- The specificity of this selector
-
toString
Description copied from interface:Printable
Returns a string representation of this object. -
equals
-