Liking cljdoc? Tell your friends :D

javax.swing.text.TabSet

A TabSet is comprised of many TabStops. It offers methods for locating the closest TabStop to a given position and finding all the potential TabStops. It is also immutable.

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.

A TabSet is comprised of many TabStops. It offers methods for locating the
closest TabStop to a given position and finding all the potential TabStops.
It is also immutable.

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

->tab-setclj

(->tab-set tabs)

Constructor.

Creates and returns an instance of TabSet. The array of Tabs passed in must be sorted in ascending order.

tabs - javax.swing.text.TabStop[]

Constructor.

Creates and returns an instance of TabSet. The array of Tabs
 passed in must be sorted in ascending order.

tabs - `javax.swing.text.TabStop[]`
raw docstring

equalsclj

(equals this o)

Indicates whether this TabSet is equal to another one.

o - the TabSet instance which this instance should be compared to. - java.lang.Object

returns: true if o is the instance of TabSet, has the same number of TabStops and they are all equal, false otherwise. - boolean

Indicates whether this TabSet is equal to another one.

o - the TabSet instance which this instance should be compared to. - `java.lang.Object`

returns: true if o is the instance of
 TabSet, has the same number of TabStops
 and they are all equal, false otherwise. - `boolean`
raw docstring

get-tabclj

(get-tab this index)

Returns the TabStop at index index. This will throw an IllegalArgumentException if index is outside the range of tabs.

index - int

returns: javax.swing.text.TabStop

Returns the TabStop at index index. This will throw an
 IllegalArgumentException if index is outside the range
 of tabs.

index - `int`

returns: `javax.swing.text.TabStop`
raw docstring

get-tab-afterclj

(get-tab-after this location)

Returns the Tab instance after location. This will return null if there are no tabs after location.

location - float

returns: javax.swing.text.TabStop

Returns the Tab instance after location. This will
 return null if there are no tabs after location.

location - `float`

returns: `javax.swing.text.TabStop`
raw docstring

get-tab-countclj

(get-tab-count this)

Returns the number of Tab instances the receiver contains.

returns: int

Returns the number of Tab instances the receiver contains.

returns: `int`
raw docstring

get-tab-indexclj

(get-tab-index this tab)

tab - javax.swing.text.TabStop

returns: the index of the TabStop tab, or -1 if tab is not contained in the receiver. - int

tab - `javax.swing.text.TabStop`

returns: the index of the TabStop tab, or -1 if
 tab is not contained in the receiver. - `int`
raw docstring

get-tab-index-afterclj

(get-tab-index-after this location)

Returns the index of the Tab to be used after location. This will return -1 if there are no tabs after location.

location - float

returns: int

Returns the index of the Tab to be used after location.
 This will return -1 if there are no tabs after location.

location - `float`

returns: `int`
raw docstring

hash-codeclj

(hash-code this)

Returns a hashcode for this set of TabStops.

returns: a hashcode value for this set of TabStops. - int

Returns a hashcode for this set of TabStops.

returns: a hashcode value for this set of TabStops. - `int`
raw docstring

to-stringclj

(to-string this)

Returns the string representation of the set of tabs.

returns: a string representation of the object. - java.lang.String

Returns the string representation of the set of tabs.

returns: a string representation of the object. - `java.lang.String`
raw docstring

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

× close