|
||
| Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate | ||
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aspose.cells.Line
public class Line
Encapsulates the object that represents the chart line.
| Method Summary | |
|---|---|
Color |
getColor()
Gets the Color of the line. |
int |
getStyle()
Gets the style of the line. |
int |
getWeight()
Gets the weight type of the line. |
boolean |
isAuto()
Indicates whether Microsoft Workbook automatically determines the line pattern. |
boolean |
isVisible()
Indicates whether the line is visible in the chart. |
void |
setAuto(boolean isAuto)
Sets whether Microsoft Workbook automatically determines the line pattern. |
void |
setColor(Color color)
Sets the Color of the line. |
void |
setStyle(int style)
Sets the style of the line |
void |
setVisible(boolean visible)
Sets whether the line is visible in the chart. |
void |
setWeight(int wight)
Sets the weight type of the line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Color getColor()
public void setColor(Color color)
color - the Color of the line.public boolean isVisible()
public void setVisible(boolean visible)
visible - whether the line is visible in the chart.public int getStyle()
setStyle(int)public void setStyle(int style)
style - the style of the line.
It could be one of the following values: | LineType.DARK_GRAY |
| LineType.DASH |
| LineType.DASH_DOT |
| LineType.DASH_DOT_DOT |
| LineType.DOT |
| LineType.LIGHT_GRAY |
| LineType.MEDIUM_GRAY |
| LineType.SOLID |
java.lang.IllegalArgumentException - if line type is invalid.public int getWeight()
setWeight(int)public void setWeight(int wight)
wight - the weight type of the line.
It could be one of the following values: | WeightType.HAIR_LINE |
| WeightType.MEDIUME_LINE |
| WeightType.SINGLE_LINE |
| WeightType.WIDE_LINE |
java.lang.IllegalArgumentException - if line weight type is invalid.public void setAuto(boolean isAuto)
isAuto - whether Microsoft Workbook automatically determines the line pattern.public boolean isAuto()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||