| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final Set | pseudoClasses
State variables, like "hover" or "pressed" |
| private final boolean | |
| private final int | |
| private final Style |
| Access | Constructor and Description |
|---|---|
| public | CascadingStyle(final Style style, Set<PseudoClass> pseudoClasses, final int specificity, final int ordinal)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(CascadingStyle other)
Implements java. Implementation of Comparable such that more specific styles get sorted before less specific ones. |
| public boolean | equals(Object obj)
Overrides java. When testing equality against another Style, we only care about the property and pseudo-classes. |
| public StyleOrigin | |
| public ParsedValue | |
| public String | |
| public Rule | |
| public Selector | |
| public Style | |
| public int | |
| public String |
| ordinal | back to summary |
|---|---|
| private final int ordinal | |
| pseudoClasses | back to summary |
|---|---|
| private final Set<PseudoClass> pseudoClasses State variables, like "hover" or "pressed" | |
| skinProp | back to summary |
|---|---|
| private final boolean skinProp | |
| specificity | back to summary |
|---|---|
| private final int specificity | |
| style | back to summary |
|---|---|
| private final Style style | |
| CascadingStyle | back to summary |
|---|---|
| public CascadingStyle(final Style style, Set<PseudoClass> pseudoClasses, final int specificity, final int ordinal) | |
| CascadingStyle | back to summary |
|---|---|
| public CascadingStyle(final Declaration decl, final Match match, final int ordinal) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(CascadingStyle other) Implements java. Implementation of Comparable such that more specific styles get sorted before less specific ones.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. When testing equality against another Style, we only care about the property and pseudo-classes. In other words, we only care about where the style is applied, not what is applied.
| |
| getOrigin | back to summary |
|---|---|
| public StyleOrigin getOrigin() | |
| getParsedValue | back to summary |
|---|---|
| public ParsedValue | |
| getProperty | back to summary |
|---|---|
| public String getProperty() | |
| getRule | back to summary |
|---|---|
| public Rule getRule() | |
| getSelector | back to summary |
|---|---|
| public Selector getSelector() | |
| getStyle | back to summary |
|---|---|
| public Style getStyle() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |