|
|||||||||
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 |
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 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 |