This class encapsulates a single tab stop (basically as tab stops are thought of by RTF). A tab stop is at a specified distance from the left margin, aligns text in a specified way, and has a specified leader. TabStops are immutable, and usually contained in TabSets.
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 XMLEncoder.
This class encapsulates a single tab stop (basically as tab stops are thought of by RTF). A tab stop is at a specified distance from the left margin, aligns text in a specified way, and has a specified leader. TabStops are immutable, and usually contained in TabSets. 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 XMLEncoder.
Static Constant.
Characters following tab are positioned such that all following characters up to next tab/newline are centered around the tabs location.
type: int
Static Constant. Characters following tab are positioned such that all following characters up to next tab/newline are centered around the tabs location. type: int
Static Constant.
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.
type: int
Static Constant. 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. type: int
Static Constant.
Character following tab is positioned at location.
type: int
Static Constant. Character following tab is positioned at location. type: int
Static Constant.
Characters following tab are positioned such that all following characters up to next tab/newline end at location.
type: int
Static Constant. Characters following tab are positioned such that all following characters up to next tab/newline end at location. type: int
(->tab-stop pos)
(->tab-stop pos align leader)
Constructor.
Creates a tab with the specified position pos, alignment align and leader leader.
pos - float
align - int
leader - int
Constructor. Creates a tab with the specified position pos, alignment align and leader leader. pos - `float` align - `int` leader - `int`
(equals this other)
Returns true if the tabs are equal.
other - the reference object with which to compare. - java.lang.Object
returns: true if the tabs are equal, otherwise false - boolean
Returns true if the tabs are equal. other - the reference object with which to compare. - `java.lang.Object` returns: true if the tabs are equal, otherwise false - `boolean`
(get-alignment this)
Returns the alignment, as an integer, of the tab.
returns: the alignment of the tab - int
Returns the alignment, as an integer, of the tab. returns: the alignment of the tab - `int`
(get-leader this)
Returns the leader of the tab.
returns: the leader of the tab - int
Returns the leader of the tab. returns: the leader of the tab - `int`
(get-position this)
Returns the position, as a float, of the tab.
returns: the position of the tab - float
Returns the position, as a float, of the tab. returns: the position of the tab - `float`
(hash-code this)
Returns the hashCode for the object. This must be defined here to ensure 100% pure.
returns: the hashCode for the object - int
Returns the hashCode for the object. This must be defined here to ensure 100% pure. returns: the hashCode for the object - `int`
(to-string this)
Description copied from class: Object
returns: a string representation of the object. - java.lang.String
Description copied from class: Object returns: a string representation of the object. - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close