|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart3d.ParentTrackChange | +--com.klg.jclass.chart3d.JCChart3dStyle
For point data, JChart3dStyle
represents a style for rendering a
series or points. It controls symbol styles and line styles.
Name | Description |
---|---|
LineColor
|
The LineColor property determines the color used to draw a line. Default value is generated.
|
LinePattern
|
The LinePattern property dictates the pattern used to draw a line.
Valid values include JCLineStyle.NONE ,
JCLineStyle.SOLID , JCLineStyle.LONG_DASH ,
JCLineStyle.SHORT_DASH , JCLineStyle.LSL_DASH
,
and JCLineStyle.DASH_DOT . Note: This property is supported only in JDK 1.2 and higher. Default value is JCLineStyle.SOLID .
|
LineStyle
|
The LineStyle property controls the appearance of lines in chart. See
JCLineStyle for additional properties.
|
LineWidth
|
The LineWidth property controls the line width.
Default value is 1.
|
SymbolColor
|
The SymbolColor property determines the color used to paint
the symbol. Default value is generated.
|
Custom Shapes |
Custom shapes can made by creating an object that implements the
JCSymbolShape interface. The new shape can be used by using
the setSymbolShape() method with the filename of the class. See
com.klg.jclass.chart3d.shape.JCSymbolShape for details.
|
SymbolShape
|
The SymbolShape property determines the type of symbol that
will be drawn. Valid values include JCSymbolStyle.DOT ,
JCSymbolStyle.BOX , JCSymbolStyle.TRIANGLE ,
JCSymbolStyle.DIAMOND , JCSymbolStyle.STAR ,
JCSymbolStyle.VERT_LINE , JCSymbolStyle.HORIZ_LINE ,
JCSymbolStyle.CROSS , JCSymbolStyle.CIRCLE , and
JCSymbolStyle.SQUARE .
Default value is generated.
|
SymbolSize
|
The SymbolSize property determines the size of the symbol.
Default value is 6.
|
SymbolStyle
|
The SymbolStyle property controls the symbol that represents
an individual point. See JCSymbolStyle for additional properties.
Note: All JCChart3dStyle properties of the format Symbol* are
virtual properties that map to properties of JCSymbolStyle .
|
JCFillStyle
,
JCLineStyle
,
JCSymbolStyle
,
Serialized FormField Summary | |
protected com.klg.jclass.chart3d.JCLineStyle |
lineStyle
The line style to be used for this chart style. |
protected com.klg.jclass.chart3d.JCSymbolStyle |
symbolStyle
The symbol style to be used for this chart style. |
Fields inherited from class com.klg.jclass.chart3d.ParentTrackChange |
parents |
Constructor Summary | |
JCChart3dStyle()
Default constructor for chart style objects. |
|
JCChart3dStyle(com.klg.jclass.chart3d.JCLineStyle lineStyle,
com.klg.jclass.chart3d.JCSymbolStyle symbolStyle)
Constructor for chart style objects. |
Method Summary | |
int |
getLineCap()
Gets the value of the LineCap property. |
Color |
getLineColor()
Gets the value of the LineColor property. |
int |
getLineJoin()
Gets the value of the LineJoin property. |
int |
getLinePattern()
Gets the value of the LinePattern property. |
com.klg.jclass.chart3d.JCLineStyle |
getLineStyle()
Gets the JCLineStyle property, which controls how lines are
drawn. |
int |
getLineWidth()
Gets the value of the LineWidth property. |
Color |
getSymbolColor()
Gets the value of the SymbolColor property. |
String |
getSymbolShape()
Gets the value of the SymbolShape property. |
int |
getSymbolSize()
Gets the value of the SymbolSize property. |
com.klg.jclass.chart3d.JCSymbolStyle |
getSymbolStyle()
Gets the SymbolStyle property
The SymbolStyle property controls the symbol that represents
an individual point. |
static com.klg.jclass.chart3d.JCChart3dStyle |
makeDefault(com.klg.jclass.chart3d.JCChart3d c)
Creates a default chart style. |
static com.klg.jclass.chart3d.JCChart3dStyle |
makeDefault(com.klg.jclass.chart3d.JCChart3d c,
com.klg.jclass.chart3d.Changeable parent)
Creates a default chart style. |
void |
setLineCap(int c)
Sets the value of the LineCap property. |
void |
setLineColor(Color lc)
Sets the value of the LineColor property. |
void |
setLineJoin(int j)
Sets the value of the LineJoin property. |
void |
setLinePattern(int p)
Sets the value of the LinePattern property. |
void |
setLineStyle(com.klg.jclass.chart3d.JCLineStyle lineStyle)
Sets the JCLineStyle property, which controls how lines are
drawn. |
void |
setLineWidth(int lw)
Sets the value of the LineWidth property. |
void |
setSymbolColor(Color sc)
Sets the value of the SymbolColor property. |
void |
setSymbolShape(String shape)
Sets the value of the SymbolShape property. |
void |
setSymbolSize(int sz)
Sets the value of the SymbolSize property. |
void |
setSymbolStyle(com.klg.jclass.chart3d.JCSymbolStyle symbolStyle)
Gets the SymbolStyle property
The SymbolStyle property controls the symbol that represents
an individual point. |
Methods inherited from class com.klg.jclass.chart3d.ParentTrackChange |
addParent, clearParents, removeParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.klg.jclass.chart3d.JCLineStyle lineStyle
protected com.klg.jclass.chart3d.JCSymbolStyle symbolStyle
Constructor Detail |
public JCChart3dStyle(com.klg.jclass.chart3d.JCLineStyle lineStyle, com.klg.jclass.chart3d.JCSymbolStyle symbolStyle)
lineStyle
- JCLineStyle
instance representing the line
style for this chart style objectsymbolStyle
- JCSymbolStyle
instance representing the
symbol style for this chart style objectJCLineStyle
,
JCSymbolStyle
public JCChart3dStyle()
Method Detail |
public static com.klg.jclass.chart3d.JCChart3dStyle makeDefault(com.klg.jclass.chart3d.JCChart3d c)
c
- JCChart3d
instance that is the parent of the created
JCChart3dStyle
object
JCChart3dStyle
object with default line, fill and
symbol styles. The defaults are cycled, so consecutive calls will return
different chart styles.public static com.klg.jclass.chart3d.JCChart3dStyle makeDefault(com.klg.jclass.chart3d.JCChart3d c, com.klg.jclass.chart3d.Changeable parent)
c
- JCChart3d
instance that this
JCChart3dStyle
will useparent
- an instance of Changeable
that will be the
parent of the created JCChart3dStyle
object
JCChart3dStyle
object with default line, fill and
symbol styles. The defaults are cycled, so consecutive calls will return
different chart styles.public com.klg.jclass.chart3d.JCLineStyle getLineStyle()
JCLineStyle
property, which controls how lines are
drawn.
JCLineStyle
instance representing the line drawing
stylepublic void setLineStyle(com.klg.jclass.chart3d.JCLineStyle lineStyle)
JCLineStyle
property, which controls how lines are
drawn.
lineStyle
- public int getLinePattern()
LinePattern
property.
The LinePattern
property dictates the pattern used to draw a line.
Valid values include JCLineStyle.NONE
, JCLineStyle.SOLID
,
JCLineStyle.LONG_DASH
, JCLineStyle.SHORT_DASH
, JCLineStyle.LSL_DASH
, and JCLineStyle.DASH_DOT
.
This feature is supported only in JDK 1.2 and higher.
public void setLinePattern(int p)
LinePattern
property.
The LinePattern
property dictates the pattern used to draw a line.
Valid values include JCLineStyle.NONE
,
JCLineStyle.SOLID
, JCLineStyle.LONG_DASH
,
JCLineStyle.SHORT_DASH
, JCLineStyle.LSL_DASH
,
and JCLineStyle.DASH_DOT
.
This feature is supported only in JDK 1.2 and higher.
p
- the new line patternpublic int getLineJoin()
LineJoin
property. The
LineJoin
property dictates the join style used to join two lines.
Valid values include BasicStroke.JOIN_MITER
,
BasicStroke.JOIN_BEVEL
, and BasicStroke.JOIN_ROUND
.
This feature is supported only in JDK 1.2 and higher.
public void setLineJoin(int j)
LineJoin
property. The LineJoin
property
dictates the join style used to join two lines. Valid values include
BasicStroke.JOIN_MITER
, BasicStroke.JOIN_BEVEL
,
and BasicStroke.JOIN_ROUND
.
This feature is supported only in JDK 1.2 and higher.
j
- join enumpublic int getLineCap()
LineCap
property.
The LineCap
property dictates the cap style used to end a line.
Valid values include BasicStroke.CAP_BUTT
,
BasicStroke.CAP_ROUND
, and BasicStroke.CAP_SQUARE
.
This feature is supported only in JDK 1.2 and higher.
public void setLineCap(int c)
LineCap
property.
The LineCap
property dictates the cap style used to end a line.
Valid values include BasicStroke.CAP_BUTT
,
BasicStroke.CAP_ROUND
, and BasicStroke.CAP_SQUARE
.
This feature is supported only in JDK 1.2 and higher.
c
- cap enumpublic int getLineWidth()
LineWidth
property.
The LineWidth
property controls the line width.
public void setLineWidth(int lw)
LineWidth
property.
The LineWidth
property controls the line width.
lw
- line widthpublic Color getLineColor()
LineColor
property.
The LineColor
property determines the color used to draw a line.
public void setLineColor(Color lc)
LineColor
property.
The LineColor
property determines the color used to draw a line.
lc
- line colorpublic com.klg.jclass.chart3d.JCSymbolStyle getSymbolStyle()
SymbolStyle
property
The SymbolStyle
property controls the symbol that represents
an individual point.
JCSymbolStyle
instance representing the symbol drawing
stylepublic void setSymbolStyle(com.klg.jclass.chart3d.JCSymbolStyle symbolStyle)
SymbolStyle
property
The SymbolStyle
property controls the symbol that represents
an individual point.
symbolStyle
- public String getSymbolShape()
SymbolShape
property. The
SymbolShape
property determines the type of symbol that will be
drawn. Valid values include JCSymbolStyle.NONE
,
JCSymbolStyle.DOT
, JCSymbolStyle.BOX
,
JCSymbolStyle.TRIANGLE
, JCSymbolStyle.DIAMOND
,
JCSymbolStyle.STAR
, JCSymbolStyle.VERT_LINE
,
JCSymbolStyle.HORIZ_LINE
, JCSymbolStyle.CROSS
,
JCSymbolStyle.CIRCLE
, and JCSymbolStyle.SQUARE
.
public void setSymbolShape(String shape)
SymbolShape
property.
The SymbolShape
property determines the type of symbol that will be
drawn. Valid values include JCSymbolStyle.NONE
,
JCSymbolStyle.DOT
, JCSymbolStyle.BOX
,
JCSymbolStyle.TRIANGLE
, JCSymbolStyle.DIAMOND
,
JCSymbolStyle.STAR
, JCSymbolStyle.VERT_LINE
,
JCSymbolStyle.HORIZ_LINE
, JCSymbolStyle.CROSS
,
JCSymbolStyle.CIRCLE
, and JCSymbolStyle.SQUARE
.
shape
- symbol shapepublic Color getSymbolColor()
SymbolColor
property. The
SymbolColor
property determines the color used to paint the symbol.
public void setSymbolColor(Color sc)
SymbolColor
property. The
SymbolColor
property determines the color used to paint the symbol.
sc
- symbol colorpublic int getSymbolSize()
SymbolSize
property.
The SymbolSize
property determines the size of the symbols.
public void setSymbolSize(int sz)
SymbolSize
property.
The SymbolSize
property determines the size of the symbols.
When set to 0, no symbol is drawn.
sz
- symbol size
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |