|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.win32.jexcel.format.Border
public class Border
This class provides functionality for Range
or Cell
borders customization.
Nested Class Summary | |
---|---|
static class |
Border.Kind
This class is an enumaration of contants that specify the fragment of a Border . |
static class |
Border.LineStyle
This class is an enumeration of line styles that can be applied to a cell or range border. |
static class |
Border.LineWeight
This class is an enumeration of line weight contants that can be applied to a cell or range border. |
Constructor Summary | |
---|---|
Border()
Creates a border and sets all its attributes to default. |
Method Summary | |
---|---|
java.awt.Color |
getColor()
Returns the color of the border. |
Border.LineStyle |
getLineStyle()
Returns the line style of the border. |
Border.LineWeight |
getWeight()
Returns the line weight of the border. |
void |
setColor(java.awt.Color color)
Changes the color of the border. |
void |
setLineStyle(Border.LineStyle lineStyle)
Changes the line style of the border. |
void |
setWeight(Border.LineWeight weight)
Changes the line weight of the border. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Border()
Method Detail |
---|
public void setColor(java.awt.Color color)
color
- public java.awt.Color getColor()
public void setWeight(Border.LineWeight weight)
weight
- is an instance of Border.LineWeight
enumeration.Border.LineWeight
public Border.LineWeight getWeight()
Border.LineWeight
public void setLineStyle(Border.LineStyle lineStyle)
lineStyle
- is an instance of Border.LineStyle
enumeration.Border.LineStyle
public Border.LineStyle getLineStyle()
Border.LineStyle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |