public class CascadingStyle extends Object implements Comparable<CascadingStyle>
Constructor and Description |
---|
CascadingStyle(Style style,
Set<PseudoClass> pseudoClasses,
int specificity,
int ordinal) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CascadingStyle other)
Implementation of Comparable such that more specific styles get
sorted before less specific ones.
|
boolean |
equals(Object obj)
When testing equality against another Style, we only care about
the property and pseudo-classes.
|
StyleOrigin |
getOrigin() |
ParsedValueImpl |
getParsedValueImpl() |
String |
getProperty() |
Rule |
getRule() |
Selector |
getSelector() |
Style |
getStyle() |
int |
hashCode() |
String |
toString() |
public CascadingStyle(Style style, Set<PseudoClass> pseudoClasses, int specificity, int ordinal)
public Style getStyle()
public String getProperty()
public Selector getSelector()
public Rule getRule()
public StyleOrigin getOrigin()
public ParsedValueImpl getParsedValueImpl()
public boolean equals(Object obj)
public int compareTo(CascadingStyle other)
compareTo
in interface Comparable<CascadingStyle>
Copyright © 2020. All rights reserved.