|
|||||||||
| 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 IBorderpublic void setKnownColor(ExcelColors excelColors)
setKnownColor in interface IBorderexcelColors - public java.awt.Color getColor()
getColor in interface IBorderpublic void setColor(java.awt.Color color)
setColor in interface IBordercolor - public OColor getOColor()
IBorder
getOColor in interface IBorderpublic LineStyleType getLineStyle()
getLineStyle in interface IBorderpublic void setLineStyle(LineStyleType lineStyleType)
setLineStyle in interface IBorderlineStyleType - public boolean getShowDiagonalLine()
IBorder
getShowDiagonalLine in interface IBorderpublic void setShowDiagonalLine(boolean showDiagonalLine)
setShowDiagonalLine in interface IBordershowDiagonalLine - 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 | ||||||||