CalculatedStyle objects. It is used when keeping
track of the styles which apply to a :first-line or :first-letter pseudo
element.
Important Note
Immutable after constructor.
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private static final StyleTracker |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CalculatedStyle | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| private List | |
| public boolean | |
| public static StyleTracker | |
| public StyleTracker | |
| public StyleTracker |
| _styles | back to summary |
|---|---|
| private final List<CascadedStyle> _styles | |
| EMPTY_INSTANCE | back to summary |
|---|---|
| private static final StyleTracker EMPTY_INSTANCE | |
| StyleTracker | back to summary |
|---|---|
| public StyleTracker(int size) | |
| deriveAll | back to summary |
|---|---|
| public CalculatedStyle deriveAll(CalculatedStyle start) | |
| 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. | |
| getStyles | back to summary |
|---|---|
| private List | |
| hasStyles | back to summary |
|---|---|
| public boolean hasStyles() | |
| withNoStyles | back to summary |
|---|---|
| public static StyleTracker withNoStyles() | |
| withOutLast | back to summary |
|---|---|
| public StyleTracker withOutLast() | |
| withStyle | back to summary |
|---|---|
| public StyleTracker withStyle(CascadedStyle style) | |