| Modifier and Type | Field and Description |
|---|---|
| private final Declaration | |
| private final Selector |
| Access | Constructor and Description |
|---|---|
| public | Style(Selector
selector for this selector, Declaration Styledeclaration for this declaration)StyleConstructs a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Declaration | Returns: the declarationThe Declaration that is the source of the style that is about to be applied or has just been applied. |
| public Selector | |
| public int | |
| public String |
| declaration | back to summary |
|---|---|
| private final Declaration declaration | |
| selector | back to summary |
|---|---|
| private final Selector selector | |
| Style | back to summary |
|---|---|
| public Style(Selector selector, Declaration declaration) Constructs a
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getDeclaration | back to summary |
|---|---|
| public Declaration getDeclaration() The Declaration that is the source of the style that is about to be applied or has just been applied. May be null if the value comes from the CSSProperty's initial (default) value.
| |
| getSelector | back to summary |
|---|---|
| public Selector getSelector() A selector might have more than one selector. This is the one that was matched.
| |
| 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-
| |