|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--ru.novosoft.dc.rtf.dom.objects.Tab
The tab specification class. It consists of the tab kind, leaders, and position from the left margin.
| Field Summary | |
static byte |
BAR
Bar tab kind (this tab presents a vertical bar at the specified position without alignment on it). |
static byte |
CENTER
Centered tab kind. |
static byte |
DECIMAL
Decimal tab kind. |
static byte |
DOTS
Leader dots. |
static byte |
EQUAL_SIGN
Leader equal sign. |
static byte |
HYPHENS
Leader hyphens. |
static byte |
LEFT
Flush-left tab kind (default). |
static byte |
LISTTAB
List label tab kind. |
static byte |
MIDDLE_DOTS
Leader middle dots. |
static byte |
NONE
No leaders (default). |
static byte |
RIGHT
Flush-right tab kind. |
static byte |
THICK_LINE
Leader thick line. |
static byte |
UNDERLINE
Leader underline. |
| Constructor Summary | |
Tab()
|
|
| Method Summary | |
java.lang.Object |
clone()
Create a deep copy of this object. |
boolean |
equals(java.lang.Object obj)
Compare this tab with another tab and return true if tabs coinside. |
void |
exportTo(org.w3c.dom.Element elem)
Export the contents of this object to the specified DOM element. |
int |
getKind()
Return the tab kind (the default is LEFT). |
int |
getLeader()
Return the tab leader (the default is NONE). |
int |
getPosition()
Return the tab position (the default is 0). |
void |
setKind(int value)
Set a tab kind (LEFT, RIGHT, CENTER, DECIMAL, or BAR). |
void |
setLeader(int value)
Set a tab leader (NONE, DOTS, MIDDLE_DOTS, HYPHENS, UNDERLINE, THICK_LINE, or EQUAL_SIGN). |
void |
setPosition(int value)
Set a tab position in twips from the left margin. |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final byte BAR
public static final byte LEFT
public static final byte RIGHT
public static final byte CENTER
public static final byte DECIMAL
public static final byte LISTTAB
public static final byte NONE
public static final byte DOTS
public static final byte MIDDLE_DOTS
public static final byte HYPHENS
public static final byte UNDERLINE
public static final byte THICK_LINE
public static final byte EQUAL_SIGN
| Constructor Detail |
public Tab()
| Method Detail |
public final void setKind(int value)
public final int getKind()
public final void setLeader(int value)
public final int getLeader()
public final void setPosition(int value)
public final int getPosition()
public java.lang.Object clone()
public boolean equals(java.lang.Object obj)
public void exportTo(org.w3c.dom.Element elem)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||