|
||||||||
| 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.Border
The border specification class. It consists of the border style, width, color index, and a space between border and bordered object.
| Field Summary | |
static byte |
DASHED
Dashed border. |
static byte |
DOT_DASH
Dot dash border. |
static byte |
DOT_DOT_DASH
Dot dot dash border. |
static byte |
DOTTED
Dotted border. |
static byte |
DOUBLE
Double border. |
static byte |
DOUBLE_THICKNESS
Double-thickness border. |
static byte |
DOUBLE_WAVY
Double wavy border. |
static byte |
EMBOSS
Emboss border. |
static byte |
ENGRAVE
Engrave border. |
static byte |
FRAME
Border resembles a "Frame". |
static byte |
HAIRLINE
Hairline border. |
static byte |
INSET
Inset border. |
static byte |
LARGE_THICK_THIN
Thick thin border (large). |
static byte |
LARGE_THIN_THICK
Thin thick border (large). |
static byte |
LARGE_THIN_THICK_THIN
Thin thick thin border (large). |
static byte |
MEDIUM_THICK_THIN
Thick thin border (medium). |
static byte |
MEDIUM_THIN_THICK
Thin thick border (medium). |
static byte |
MEDIUM_THIN_THICK_THIN
Thin thick thin border (medium). |
static byte |
NIL
No border specified. |
static byte |
NONE
No border. |
static byte |
OUTSET
Outset border. |
static byte |
SHADOWED
Shadowed border. |
static byte |
SINGLE_THICKNESS
Single-thickness border. |
static byte |
SMALL_DASH
Dash border (small). |
static byte |
SMALL_THICK_THIN
Thick thin border (small). |
static byte |
SMALL_THIN_THICK
Thin thick border (small). |
static byte |
SMALL_THIN_THICK_THIN
Thin thick thin border (small). |
static byte |
STRIPED
Striped border. |
static byte |
TABLE
Table cell has no borders. |
static byte |
TRIPLE
Triple border. |
static byte |
WAVY
Wavy border. |
| Constructor Summary | |
Border()
|
|
| Method Summary | |
java.lang.Object |
clone()
Create a deep copy of this object. |
boolean |
equals(java.lang.Object obj)
Compare this border with another border and return true if borders coinside. |
int |
getColorIndex()
Return the border color index (-1 means "auto" color). |
int |
getSpace()
Return the space between the border and bordered object (the default is 0). |
int |
getStyle()
Return the border style (the default is NONE). |
int |
getWidth()
Return the border width (the default is 0). |
void |
setColorIndex(int value)
Set an index of the border color. |
void |
setSpace(int value)
Set a space in twips between the border and bordered object. |
void |
setStyle(int value)
Set a border style. |
void |
setWidth(int value)
Set a border width in twips. |
java.lang.String |
toString()
Return a border description string in the form "style,wwidth,sspace,ccolor-index". |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final byte NONE
public static final byte SINGLE_THICKNESS
public static final byte DOUBLE_THICKNESS
public static final byte SHADOWED
public static final byte DOUBLE
public static final byte DOTTED
public static final byte DASHED
public static final byte HAIRLINE
public static final byte INSET
public static final byte SMALL_DASH
public static final byte DOT_DASH
public static final byte DOT_DOT_DASH
public static final byte OUTSET
public static final byte TRIPLE
public static final byte SMALL_THICK_THIN
public static final byte SMALL_THIN_THICK
public static final byte SMALL_THIN_THICK_THIN
public static final byte MEDIUM_THICK_THIN
public static final byte MEDIUM_THIN_THICK
public static final byte MEDIUM_THIN_THICK_THIN
public static final byte LARGE_THICK_THIN
public static final byte LARGE_THIN_THICK
public static final byte LARGE_THIN_THICK_THIN
public static final byte WAVY
public static final byte DOUBLE_WAVY
public static final byte STRIPED
public static final byte EMBOSS
public static final byte ENGRAVE
public static final byte FRAME
public static final byte NIL
public static final byte TABLE
| Constructor Detail |
public Border()
| Method Detail |
public final void setStyle(int value)
public final int getStyle()
public final void setWidth(int value)
public final int getWidth()
public final void setColorIndex(int value)
public final int getColorIndex()
public final void setSpace(int value)
public final int getSpace()
public java.lang.Object clone()
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||