| Modifier and Type | Field and Description |
|---|---|
| private final float |
| Access | Constructor and Description |
|---|---|
| public | FixedTabAdvancePolicy(int
the tab size tabSize, float the advance of the space character spaceAdvance)Creates a tab advance policy for the given tab size. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object x)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| pack-priv static float | |
| public float | nextTabStop(float offset, float position)
Implements com. Provides the next tab stop for the given position. |
| public String |
| tabAdvance | back to summary |
|---|---|
| private final float tabAdvance | |
| FixedTabAdvancePolicy | back to summary |
|---|---|
| public FixedTabAdvancePolicy(int tabSize, float spaceAdvance) Creates a tab advance policy for the given tab size.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object x) 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.
| |
| 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
| |
| nextPosition | back to summary |
|---|---|
| pack-priv static float nextPosition(float position, float tabAdvance) | |
| nextTabStop | back to summary |
|---|---|
| public float nextTabStop(float offset, float position) Implements com. Doc from com. Provides the next tab stop for the given position. A value of 0 or less indicates that there are no more stops.
| |
| 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-
| |