Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.java.swing.text.TabSet
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 Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.
Constructor Summary | |
TabSet(TabStop[] tabs)
Creates and returns an instance of TabSet. |
Method Summary | |
TabStop | getTabAfter(float location)
Returns the Tab instance after location . |
int | getTabCount()
Returns the number of Tab instances the receiver contains. |
int | getTabIndexAfter(float location)
Returns the index of the Tab to be used after location .
|
int | getTabIndex(TabStop tab)
|
TabStop | getTab(int index)
Returns the TabStop at index index . |
java.lang.String | toString()
Returns the string representation of the set of tabs. |
Methods inherited from class java.lang.Object | |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Constructor Detail |
public TabSet(TabStop[] tabs)
Method Detail |
public int getTabCount()
public TabStop getTab(int index)
index
. This will throw an
IllegalArgumentException if index
is outside the range
of tabs.public TabStop getTabAfter(float location)
location
. This will
return null if there are no tabs after location
.public int getTabIndex(TabStop tab)
tab
, or -1 if
tab
is not contained in the receiver.public int getTabIndexAfter(float location)
location
.
This will return -1 if there are no tabs after location
.public java.lang.String toString()
Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |