|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.text.TabStop
Safe:
Field Summary | |
static int |
ALIGN_BAR
Enabled: |
static int |
ALIGN_CENTER
Enabled: Characters following tab are positioned such that all following characters up to next tab/newline are centered around the tabs location. |
static int |
ALIGN_DECIMAL
Enabled: 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. |
static int |
ALIGN_LEFT
Enabled: Character following tab is positioned at location. |
static int |
ALIGN_RIGHT
Enabled: Characters following tab are positioned such that all following characters up to next tab/newline end at location. |
private int |
alignment
Tab type. |
static int |
LEAD_DOTS
Enabled: |
static int |
LEAD_EQUALS
Enabled: |
static int |
LEAD_HYPHENS
Enabled: |
static int |
LEAD_NONE
Enabled: |
static int |
LEAD_THICKLINE
Enabled: |
static int |
LEAD_UNDERLINE
Enabled: |
private int |
leader
|
private float |
position
Location, from the left margin, that tab is at. |
Constructor Summary | |
TabStop(float pos)
Enabled: Creates a tab at position pos with a default alignment
and default leader. |
|
TabStop(float pos,
int align,
int leader)
Enabled: Creates a tab with the specified position pos ,
alignment align and leader leader . |
Method Summary | |
boolean |
equals(Object other)
Suppressed: Returns true if the tabs are equal. |
int |
getAlignment()
Enabled: Returns the alignment, as an integer, of the tab. |
int |
getLeader()
Enabled: Returns the leader of the tab. |
float |
getPosition()
Enabled: Returns the position, as a float, of the tab. |
int |
hashCode()
Suppressed: Returns the hashCode for the object. |
String |
toString()
Suppressed: |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ALIGN_LEFT
public static final int ALIGN_RIGHT
public static final int ALIGN_CENTER
public static final int ALIGN_DECIMAL
public static final int ALIGN_BAR
public static final int LEAD_NONE
public static final int LEAD_DOTS
public static final int LEAD_HYPHENS
public static final int LEAD_UNDERLINE
public static final int LEAD_THICKLINE
public static final int LEAD_EQUALS
private int alignment
private float position
private int leader
Constructor Detail |
public TabStop(float pos)
pos
with a default alignment
and default leader.
public TabStop(float pos, int align, int leader)
pos
,
alignment align
and leader leader
.
Method Detail |
public float getPosition()
public int getAlignment()
public int getLeader()
public boolean equals(Object other)
equals
in class Object
other
- the reference object with which to compare.
Object.hashCode()
,
java.util.Hashtable
public int hashCode()
hashCode
in class Object
java.lang.Object#equals(java.lang.Object)
,
java.util.Hashtable
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |