|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.formatting.formatbase
com.spire.doc.formatting.attrcollection
com.spire.doc.formatting.wordattrcollection
com.spire.doc.documents.borders
public class borders
represents a collection of four borders. border
field summary | |
---|---|
static int |
bottom_key
constant value for bottom key. |
static int |
diagonal_down_key
constant value for diagonal down key. |
static int |
diagonal_up_key
constant value for diagonal up key. |
static int |
horizontal_key
constant value for horizontal key. |
static int |
left_key
constant value for left key. |
static int |
right_key
constant value for right key. |
static int |
top_key
constant value for top key. |
static int |
vertical_key
constant value for vertical key. |
constructor summary | |
---|---|
borders()
initializes a new instance of the border class. |
method summary | |
---|---|
borders |
deepclone()
clones self. |
border |
getbottom()
gets bottom border. |
border |
getdiagonaldown()
gets cell's diagonal border from top left corner to bottom right corner. |
border |
getdiagonalup()
gets cell's diagonal border from bottom left corner to top right corner. |
border |
gethorizontal()
gets horizontal border. |
border |
getleft()
gets left border. |
boolean |
getnoborder()
gets whether the border exists |
border |
getright()
gets right border. |
border |
gettop()
gets top border. |
border |
getvertical()
gets vertical border. |
boolean |
isdefault()
gets a value indicating whether format is default. |
void |
isshadow(boolean value)
sets whether borders are drawn with shadow. |
void |
setbordertype(borderstyle value)
sets style of the borders. |
void |
setcolor(java.awt.color value)
sets color of the borders. |
void |
setlinewidth(float value)
sets width of the borders. |
void |
setspace(float value)
sets width of space to maintain between borders and text within borders. |
methods inherited from class com.spire.doc.formatting.formatbase |
---|
clearformatting, haskey |
methods inherited from class com.spire.doc.ownerholder |
---|
getdocument |
field detail |
---|
public static final int left_key
public static final int top_key
public static final int bottom_key
public static final int right_key
public static final int vertical_key
public static final int horizontal_key
public static final int diagonal_down_key
public static final int diagonal_up_key
constructor detail |
---|
public borders()
border
class.
method detail |
---|
public boolean getnoborder()
public border getleft()
public border gettop()
public border getright()
public border getbottom()
public border getvertical()
public border gethorizontal()
public border getdiagonaldown()
public border getdiagonalup()
public void setcolor(java.awt.color value)
value
- colorpublic void setlinewidth(float value)
public void setbordertype(borderstyle value)
value
- borderstylepublic void setspace(float value)
value
- floatpublic void isshadow(boolean value)
value
- booleanpublic boolean isdefault()
isdefault
in class formatbase
public borders deepclone()
deepclone
in class attrcollection
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |