Warning
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeans
has been added to the java.beans package.
Please see java..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGN_BAR
Align bar |
| public static final int | ALIGN_CENTER
Characters following tab are positioned such that all following characters up to next tab/newline are centered around the tabs location. |
| public static final int | ALIGN_DECIMAL
Characters following tab are aligned such that next decimal/tab/newline is at the tab location, very similar to RIGHT_TAB, just includes decimal as additional character to look for. |
| public static final int | ALIGN_LEFT
Character following tab is positioned at location. |
| public static final int | ALIGN_RIGHT
Characters following tab are positioned such that all following characters up to next tab/newline end at location. |
| private int | alignment
Tab type. |
| public static final int | LEAD_DOTS
Lead dots |
| public static final int | LEAD_EQUALS
Lead equals |
| public static final int | LEAD_HYPHENS
Lead hyphens |
| public static final int | LEAD_NONE
Lead none |
| public static final int | LEAD_THICKLINE
Lead thickline |
| public static final int | LEAD_UNDERLINE
Lead underline |
| private int | |
| private float | position
Location, from the left margin, that tab is at. |
| Access | Constructor and Description |
|---|---|
| public | TabStop(float
position of the tab pos)Creates a tab at position |
| public | TabStop(float
position of the tab pos, int alignment of the tab align, int leader of the tab leader)Creates a tab with the specified position |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the tabs are equal, otherwise falseOverrides java. Returns true if the tabs are equal. |
| public int | |
| public int | |
| public float | |
| public int | Returns: the hashCode for the objectOverrides java. Returns the hashCode for the object. |
| public String |
| ALIGN_BAR | back to summary |
|---|---|
| public static final int ALIGN_BAR Align bar | |
| ALIGN_CENTER | back to summary |
|---|---|
| public static final int ALIGN_CENTER Characters following tab are positioned such that all following characters up to next tab/newline are centered around the tabs location. | |
| ALIGN_DECIMAL | back to summary |
|---|---|
| public static final int ALIGN_DECIMAL Characters following tab are aligned such that next decimal/tab/newline is at the tab location, very similar to RIGHT_TAB, just includes decimal as additional character to look for. | |
| ALIGN_LEFT | back to summary |
|---|---|
| public static final int ALIGN_LEFT Character following tab is positioned at location. | |
| ALIGN_RIGHT | back to summary |
|---|---|
| public static final int ALIGN_RIGHT Characters following tab are positioned such that all following characters up to next tab/newline end at location. | |
| alignment | back to summary |
|---|---|
| private int alignment Tab type. | |
| LEAD_DOTS | back to summary |
|---|---|
| public static final int LEAD_DOTS Lead dots | |
| LEAD_EQUALS | back to summary |
|---|---|
| public static final int LEAD_EQUALS Lead equals | |
| LEAD_HYPHENS | back to summary |
|---|---|
| public static final int LEAD_HYPHENS Lead hyphens | |
| LEAD_NONE | back to summary |
|---|---|
| public static final int LEAD_NONE Lead none | |
| LEAD_THICKLINE | back to summary |
|---|---|
| public static final int LEAD_THICKLINE Lead thickline | |
| LEAD_UNDERLINE | back to summary |
|---|---|
| public static final int LEAD_UNDERLINE Lead underline | |
| leader | back to summary |
|---|---|
| private int leader | |
| position | back to summary |
|---|---|
| private float position Location, from the left margin, that tab is at. | |
| TabStop | back to summary |
|---|---|
| public TabStop(float pos) Creates a tab at position
| |
| TabStop | back to summary |
|---|---|
| public TabStop(float pos, int align, int leader) Creates a tab with the specified position
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Returns true if the tabs are equal.
| |
| getAlignment | back to summary |
|---|---|
| public int getAlignment() Returns the alignment, as an integer, of the tab.
| |
| getLeader | back to summary |
|---|---|
| public int getLeader() Returns the leader of the tab.
| |
| getPosition | back to summary |
|---|---|
| public float getPosition() Returns the position, as a float, of the tab.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hashCode for the object. This must be defined here to ensure 100% pure.
| |
| 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- | |