public final class Style
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Declaration |
declaration |
private Selector |
selector |
Constructor and Description |
---|
Style(Selector selector,
Declaration declaration) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Declaration |
getDeclaration()
The Declaration that is the source of the style that is about
to be applied or has just been applied.
|
Selector |
getSelector()
A selector might have more than one selector.
|
int |
hashCode() |
java.lang.String |
toString() |
private final Selector selector
private final Declaration declaration
public Style(Selector selector, Declaration declaration)
public Selector getSelector()
public Declaration getDeclaration()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object