javax.swing.text
public class TabSet extends Object implements Serializable
Constructor Summary | |
---|---|
TabSet(TabStop[] t)
Creates a new TabSet containing the specified tab stops.
|
Method Summary | |
---|---|
boolean | equals(Object obj)
Tests this TabSet for equality with an arbitrary object.
|
TabStop | getTab(int i)
Returns the tab stop with the specified index.
|
TabStop | getTabAfter(float location)
Returns the tab following the specified location.
|
int | getTabCount()
Returns the number of tab stops in this tab set.
|
int | getTabIndex(TabStop tab)
Returns the index of the specified tab, or -1 if the tab is not found.
|
int | getTabIndexAfter(float location)
Returns the index of the tab at or after the specified location.
|
int | hashCode()
Returns a hash code for this TabSet .
|
String | toString()
Returns a string representation of this TabSet .
|
TabSet
containing the specified tab stops.
Parameters: t the tab stops (null
permitted).
TabSet
for equality with an arbitrary object.
Parameters: obj the object (null
permitted).
Returns: true
if this TabSet
is equal to
obj
, and false
otherwise.
Since: 1.5
Parameters: i the index.
Returns: The tab stop.
Throws: IllegalArgumentException if i
is not in the range
0
to getTabCount() - 1
.
Parameters: location the location.
Returns: The tab following the specified location (or null
).
Returns: The number of tab stops in this tab set.
Parameters: tab the tab (null
permitted).
Returns: The index of the specified tab, or -1.
Parameters: location the tab location.
Returns: The index of the tab stop, or -1.
TabSet
.
Returns: A hash code.
Since: 1.5
TabSet
.
Returns: A string representation of this TabSet
.