|
||||||||
| 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.BorderSet
The set of borders. It consists of array of borders defining individual border parts around a paragraph, or cell, or table row:
| Field Summary | |
static byte |
BAR
Index of the bar border (a bar outside of paragraph). |
static byte |
BOTTOM_TO_TOP
Index of the bottom left to top right diagonal border in a table cell. |
static byte |
BOX
Index of the box border around the paragraph. |
static byte |
HORIZONTAL
Index of the horizontal border of a table row. |
static byte |
INNER
Index of the inner paragraph border (a border between consecutive paragraphs having identic formatting). |
static byte |
TOP_TO_BOTTOM
Index of the top left to bottom right diagonal border in a table cell. |
static byte |
VERTICAL
Index of the vertical border of a table row. |
| Fields inherited from interface ru.novosoft.dc.rtf.dom.objects.Margins |
BOTTOM,
LEFT,
RIGHT,
TOP |
| Constructor Summary | |
BorderSet(int count)
Construct array of borders consisting of specified number of borders (6 for row or cell borders and 7 for paragraph borders). |
|
| Method Summary | |
Border |
border(int index)
Return the border of the specified index or null if this border is absent. |
java.lang.Object |
clone()
Create a deep copy of this object. |
Border |
defineBorder(int index)
Define a new border of the specified index and return it. |
boolean |
equals(java.lang.Object obj)
Compare this set of borders with another set of borders and return true if the sets coinside. |
void |
exportTo(org.w3c.dom.Element elem,
int variant,
java.lang.String tagName)
Export the contents of this object to the specified DOM element. |
boolean |
hasBorder(int index)
Return true if a border of the specified index is defined. |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final byte HORIZONTAL
public static final byte VERTICAL
public static final byte TOP_TO_BOTTOM
public static final byte BOTTOM_TO_TOP
public static final byte INNER
public static final byte BAR
public static final byte BOX
| Constructor Detail |
public BorderSet(int count)
| Method Detail |
public final boolean hasBorder(int index)
public final Border defineBorder(int index)
public final Border border(int index)
public java.lang.Object clone()
public boolean equals(java.lang.Object obj)
public void exportTo(org.w3c.dom.Element elem,
int variant,
java.lang.String tagName)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||