|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.xls.CellBorder
public class CellBorder
Constructor Summary | |
---|---|
CellBorder(IBorder border)
|
Method Summary | |
---|---|
void |
copyFrom(CellBorder srcBorder)
Copies styles from source border. |
java.awt.Color |
getColor()
|
ExcelColors |
getKnownColor()
Read/write Long. |
LineStyleType |
getLineStyle()
Returns the line style for the border. |
OColor |
getOColor()
Read/write ExcelColors. |
java.lang.Object |
getParent()
|
boolean |
getShowDiagonalLine()
This property is used only by Diagonal borders. |
void |
setColor(java.awt.Color color)
Sets color of the border. |
void |
setKnownColor(ExcelColors excelColors)
Sets a excel colors value that represents the color of the border. |
void |
setLineStyle(LineStyleType lineStyleType)
Sets the line style for the border. |
void |
setShowDiagonalLine(boolean showDiagonalLine)
Sets whether shows diagonal line. |
Constructor Detail |
---|
public CellBorder(IBorder border)
Method Detail |
---|
public ExcelColors getKnownColor()
IBorder
getKnownColor
in interface IBorder
public void setKnownColor(ExcelColors excelColors)
setKnownColor
in interface IBorder
excelColors
- public java.awt.Color getColor()
getColor
in interface IBorder
public void setColor(java.awt.Color color)
setColor
in interface IBorder
color
- public OColor getOColor()
IBorder
getOColor
in interface IBorder
public LineStyleType getLineStyle()
getLineStyle
in interface IBorder
public void setLineStyle(LineStyleType lineStyleType)
setLineStyle
in interface IBorder
lineStyleType
- public boolean getShowDiagonalLine()
IBorder
getShowDiagonalLine
in interface IBorder
public void setShowDiagonalLine(boolean showDiagonalLine)
setShowDiagonalLine
in interface IBorder
showDiagonalLine
- public java.lang.Object getParent()
public void copyFrom(CellBorder srcBorder)
srcBorder
- source border.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |