| java.lang.Object | |
| ↳ | 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 JavaBeansTM
 has been added to the java.beans package.
 Please see XMLEncoder.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates and returns an instance of TabSet. 
  
   | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Indicates whether this  
  
  TabSet is equal to another one. | |||||||||||
Returns the TabStop at index  
  
  index. | |||||||||||
Returns the Tab instance after  
  
  location. | |||||||||||
Returns the number of Tab instances the receiver contains. 
  
   | |||||||||||
Returns the index of the Tab to be used after  
  
  location. | |||||||||||
Returns a hashcode for this set of TabStops. 
  
   | |||||||||||
Returns the string representation of the set of tabs. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
Creates and returns an instance of TabSet. The array of Tabs passed in must be sorted in ascending order.
Indicates whether this TabSet is equal to another one.
| o | the TabSet instance which this instance
  should be compared to. | 
        
|---|
true if o is the instance of
 TabSet, has the same number of TabStops
 and they are all equal, false otherwise.Returns the TabStop at index index. This will throw an
 IllegalArgumentException if index is outside the range
 of tabs.
Returns the Tab instance after location. This will
 return null if there are no tabs after location.
Returns the number of Tab instances the receiver contains.
tab, or -1 if
 tab is not contained in the receiver.
Returns the index of the Tab to be used after location.
 This will return -1 if there are no tabs after location.
Returns a hashcode for this set of TabStops.
Returns the string representation of the set of tabs.