|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.drawing.ChartPen
public class ChartPen
Title: ChartPen class
Description: Common Chart Pen. Pen used to draw lines and borders.
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
Color |
color
|
DashCap |
dashCap
|
DashStyle |
dashStyle
|
protected Color |
defaultColor
|
protected LineCap |
defaultEndCap
|
protected DashStyle |
defaultStyle
|
protected boolean |
defaultVisible
|
LineCap |
endCap
|
protected boolean |
usesVisible
|
boolean |
visible
|
int |
width
|
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
ChartPen(ChartPen source)
|
|
ChartPen(Color c)
|
|
ChartPen(IBaseChart c)
|
|
ChartPen(IBaseChart c,
boolean startVisible)
|
|
ChartPen(IBaseChart c,
Color startColor)
|
|
ChartPen(IBaseChart c,
Color startColor,
boolean startVisible)
|
|
ChartPen(IBaseChart c,
Color startColor,
boolean startVisible,
int startWidth,
LineCap startEndCap,
DashStyle startStyle)
|
|
ChartPen(IBaseChart c,
Color startColor,
boolean startVisible,
LineCap cap)
|
|
ChartPen(IBaseChart c,
Color startColor,
DashStyle startStyle)
|
|
ChartPen(IBaseChart c,
Color startColor,
int startWidth)
|
Method Summary | |
---|---|
void |
assign(ChartPen p)
|
void |
assign(ChartPen p,
Color value)
|
Color |
getColor()
Determines the color used by the pen to draw lines on the Drawing. |
DashCap |
getDashCap()
Defines segment ending style of dashed lines. |
LineCap |
getEndCap()
Style of line endings. |
java.awt.Stroke |
getStroke()
|
DashStyle |
getStyle()
Determines the style in which the pen draw lines on the Drawing. |
int |
getTransparency()
Sets Transparency level from 0 to 100%. |
boolean |
getVisible()
Determines if the pen will draw lines or not. |
int |
getWidth()
Determines the width of lines the pen draws. |
void |
internalAssign(ChartPen p)
|
void |
invalidate()
Use invalidate when the entire canvas needs to be repainted. |
void |
reset()
|
void |
setColor(java.awt.Color value)
|
void |
setColor(Color value)
|
void |
setDashCap(DashCap value)
|
void |
setDefaultColor(Color value)
|
void |
setDefaultStyle(DashStyle value)
|
void |
setDefaultVisible(boolean value)
|
void |
setEndCap(LineCap value)
Style of line endings. |
void |
setStyle(DashStyle value)
Determines the style in which the pen draw lines on the Drawing. |
void |
setTransparency(int value)
Sets Transparency level from 0 to 100%. |
void |
setUsesVisible(boolean value)
|
void |
setVisible(boolean value)
Determines if the pen will draw lines or not. |
void |
setWidth(int value)
Determines the width of lines the pen draws. |
protected boolean |
shouldSerializeColor()
|
protected boolean |
shouldSerializeEndCap()
|
protected boolean |
shouldSerializeStyle()
|
protected boolean |
shouldSerializeVisible()
|
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, setBooleanProperty, setChart, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Color color
public DashStyle dashStyle
public int width
public LineCap endCap
public DashCap dashCap
public boolean visible
protected transient Color defaultColor
protected transient LineCap defaultEndCap
protected transient DashStyle defaultStyle
protected transient boolean defaultVisible
protected transient boolean usesVisible
Constructor Detail |
---|
public ChartPen(ChartPen source)
public ChartPen(IBaseChart c, Color startColor, boolean startVisible, int startWidth, LineCap startEndCap, DashStyle startStyle)
public ChartPen(IBaseChart c)
public ChartPen(Color c)
public ChartPen(IBaseChart c, boolean startVisible)
public ChartPen(IBaseChart c, Color startColor, DashStyle startStyle)
public ChartPen(IBaseChart c, Color startColor, boolean startVisible)
public ChartPen(IBaseChart c, Color startColor, int startWidth)
public ChartPen(IBaseChart c, Color startColor)
public ChartPen(IBaseChart c, Color startColor, boolean startVisible, LineCap cap)
Method Detail |
---|
public void reset()
public void internalAssign(ChartPen p)
public void assign(ChartPen p)
public void assign(ChartPen p, Color value)
public void setUsesVisible(boolean value)
protected boolean shouldSerializeColor()
public void setDefaultColor(Color value)
public void setColor(java.awt.Color value)
public void setColor(Color value)
public void setDefaultStyle(DashStyle value)
public void setDefaultVisible(boolean value)
protected boolean shouldSerializeVisible()
public final boolean getVisible()
public void setVisible(boolean value)
value
- booleanpublic int getTransparency()
public void setTransparency(int value)
value
- intpublic Color getColor()
protected boolean shouldSerializeEndCap()
public LineCap getEndCap()
public void setEndCap(LineCap value)
value
- LineCappublic java.awt.Stroke getStroke()
public void invalidate()
TeeBase
invalidate
in class TeeBase
public DashCap getDashCap()
public void setDashCap(DashCap value)
public int getWidth()
public void setWidth(int value)
value
- intprotected boolean shouldSerializeStyle()
public DashStyle getStyle()
public void setStyle(DashStyle value)
value
- DashStyle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |