API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. TabStop View Source
Author(s)
Since
Version
1.21 11/17/05
Serial
Hierarchy
 Object
      TabStop
Implements
 Serializable
Subclasses
Description
public class TabStop
  This class encapsulates a single tab stop (basically as tab stops are thought of by RTF).
See also:   
Constructors
public TabStop (float pos)
Creates a tab at position pos with a default alignment and default leader.
public TabStop (float pos, int align, int leader)
Creates a tab with the specified position pos, alignment align and leader leader.
Methods
Hide/Show inherited methods
public boolean equals (Object other)
  Returns true if the tabs are equal.
public int getAlignment ()
  Returns the alignment, as an integer, of the tab.
public int getLeader ()
  Returns the leader of the tab.
public float getPosition ()
  Returns the position, as a float, of the tab.
public int hashCode ()
  Returns the hashCode for the object.
public String toString ()
Fields
Hide/Show inherited fields
publicfinalstatic int ALIGN_BAR = "5"
publicfinalstatic int ALIGN_CENTER = "2"
Characters following tab are positioned such that all following characters up to next tab/newline are centered around the tabs location.
publicfinalstatic int ALIGN_DECIMAL = "4"
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.
publicfinalstatic int ALIGN_LEFT = "0"
Character following tab is positioned at location.
publicfinalstatic int ALIGN_RIGHT = "1"
Characters following tab are positioned such that all following characters up to next tab/newline end at location.
publicfinalstatic int LEAD_DOTS = "1"
publicfinalstatic int LEAD_EQUALS = "5"
publicfinalstatic int LEAD_HYPHENS = "2"
publicfinalstatic int LEAD_NONE = "0"
publicfinalstatic int LEAD_THICKLINE = "4"
publicfinalstatic int LEAD_UNDERLINE = "3"
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar