Liking cljdoc? Tell your friends :D

javax.swing.text.TabStop

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.
raw docstring

*-align-barclj

Static Constant.

type: int

Static Constant.

type: int
raw docstring

*-align-centerclj

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
raw docstring

*-align-decimalclj

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
raw docstring

*-align-leftclj

Static Constant.

Character following tab is positioned at location.

type: int

Static Constant.

Character following tab is positioned at location.

type: int
raw docstring

*-align-rightclj

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
raw docstring

*-lead-dotsclj

Static Constant.

type: int

Static Constant.

type: int
raw docstring

*-lead-equalsclj

Static Constant.

type: int

Static Constant.

type: int
raw docstring

*-lead-hyphensclj

Static Constant.

type: int

Static Constant.

type: int
raw docstring

*-lead-noneclj

Static Constant.

type: int

Static Constant.

type: int
raw docstring

*-lead-thicklineclj

Static Constant.

type: int

Static Constant.

type: int
raw docstring

*-lead-underlineclj

Static Constant.

type: int

Static Constant.

type: int
raw docstring

->tab-stopclj

(->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`
raw docstring

equalsclj

(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`
raw docstring

get-alignmentclj

(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`
raw docstring

get-leaderclj

(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`
raw docstring

get-positionclj

(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`
raw docstring

hash-codeclj

(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`
raw docstring

to-stringclj

(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`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close