|
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.JCContourStyle
Object defining the style used to draw a contour.
Field Summary | |
protected com.klg.jclass.chart3d.JCFillStyle |
fillStyle
The fill style to be used for this contour style. |
protected com.klg.jclass.chart3d.JCLineStyle |
lineStyle
The line style to be used for this contour style. |
protected com.klg.jclass.chart3d.JCSymbolStyle |
symbolStyle
The symbol style to be used for this contour style. |
Fields inherited from class com.klg.jclass.chart3d.ParentTrackChange |
parents |
Constructor Summary | |
JCContourStyle()
Default constructor for contour style objects. |
|
JCContourStyle(Color fillColor)
Constructor for contour style objects. |
|
JCContourStyle(int width,
Color lineColor,
int linePattern,
Color fillColor,
int fillPattern)
Constructor for contour style objects. |
|
JCContourStyle(int width,
Color lineColor,
int linePattern,
Color fillColor,
int fillPattern,
String shape,
Color symbolColor,
int symbolSize)
Constructor for contour style objects. |
|
JCContourStyle(com.klg.jclass.chart3d.JCLineStyle lineStyle,
com.klg.jclass.chart3d.JCFillStyle fillStyle,
com.klg.jclass.chart3d.JCSymbolStyle symbolStyle)
Constructor for contour style objects. |
Method Summary | |
Color |
getFillBackground()
Gets the value of the FillBackground property. |
Color |
getFillColor()
Gets the value of the FillColor property. |
Image |
getFillImage()
Gets the value of the FillImage property. |
int |
getFillPattern()
Gets the value of the FillPattern property. |
com.klg.jclass.chart3d.JCFillStyle |
getFillStyle()
Gets the JCFillStyle property, which controls how contour zones
are filled. |
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 contour 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. |
protected void |
initialize(com.klg.jclass.chart3d.JCContour contour,
int index)
Initializes the contour style so that it has a lineStyle ,
fillStyle , and symbolStyle with valid information. |
static com.klg.jclass.chart3d.JCContourStyle |
makeDefault(com.klg.jclass.chart3d.JCChart3d c)
Creates a default chart style. |
static com.klg.jclass.chart3d.JCContourStyle |
makeDefault(com.klg.jclass.chart3d.JCChart3d c,
com.klg.jclass.chart3d.Changeable parent)
Creates a default contour style. |
void |
setFillBackground(Color fillColor)
Sets the value of the FillBackground property. |
void |
setFillColor(Color fillColor)
Sets the value of the FillColor property. |
void |
setFillImage(Image fillImage)
Sets the value of the FillImage property. |
void |
setFillPattern(int fillPattern)
Sets the value of the FillPattern property. |
void |
setFillStyle(com.klg.jclass.chart3d.JCFillStyle fillStyle)
Sets the JCFillStyle property, which controls how contour zones
are filled. |
void |
setLineCap(int cap)
Sets the value of the LineCap property. |
void |
setLineColor(Color lineColor)
Sets the value of the LineColor property. |
void |
setLineJoin(int join)
Sets the value of the LineJoin property. |
void |
setLinePattern(int pattern)
Sets the value of the LinePattern property. |
void |
setLineStyle(com.klg.jclass.chart3d.JCLineStyle lineStyle)
Sets the JCLineStyle property, which controls how contour lines
are drawn. |
void |
setLineWidth(int lineWidth)
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)
Sets the SymbolStyle property. |
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.JCFillStyle fillStyle
protected com.klg.jclass.chart3d.JCSymbolStyle symbolStyle
Constructor Detail |
public JCContourStyle()
public JCContourStyle(Color fillColor)
fillColor
of
the fillStyle
is specified. All other values are at their
default values.
fillColor
- the color of the fillStyle
public JCContourStyle(int width, Color lineColor, int linePattern, Color fillColor, int fillPattern)
fillColor
.
width
- the width of the linelineColor
- the color of the linelinePattern
- the line pattern - see
JCLineStyle
for detailsfillColor
- the color of the fillStyle
fillPattern
- the fill pattern - see
JCFillStyle
for detailspublic JCContourStyle(int width, Color lineColor, int linePattern, Color fillColor, int fillPattern, String shape, Color symbolColor, int symbolSize)
symbolColor
.
width
- the width of the linelineColor
- the color of the linelinePattern
- the line pattern - see
JCLineStyle
for detailsfillColor
- the color of the fillStyle
.fillPattern
- the fill pattern - see
JCFillStyle
for detailsshape
- the shape of the symbolStyle
- see
JCSymbolStyle
for detailssymbolColor
- the color of the symbolsymbolSize
- the size of the symbolpublic JCContourStyle(com.klg.jclass.chart3d.JCLineStyle lineStyle, com.klg.jclass.chart3d.JCFillStyle fillStyle, com.klg.jclass.chart3d.JCSymbolStyle symbolStyle)
lineStyle
- JCLineStyle
instance representing the line
style for this contour style objectfillStyle
- JCFillStyle
instance representing the fill
style for this contour style objectsymbolStyle
- JCSymbolStyle
instance representing the
symbol style for this contour style objectMethod Detail |
public static com.klg.jclass.chart3d.JCContourStyle makeDefault(com.klg.jclass.chart3d.JCChart3d c)
c
- JCChart3d
instance that is the parent of the created
JCContourStyle
object
JCContourStyle
object with default line and fill
styles. The defaults are cycled, so consecutive calls will return contour
styles with different fill colors.public static com.klg.jclass.chart3d.JCContourStyle makeDefault(com.klg.jclass.chart3d.JCChart3d c, com.klg.jclass.chart3d.Changeable parent)
c
- JCChart3d
instance that uses this
JCContourStyle
parent
- an instance of Changeable
that will be the
parent of the created JCContourStyle
object
JCContourStyle
object with default line and fill
styles. The defaults are cycled, so consecutive calls will return contour
styles with different fill colors.public com.klg.jclass.chart3d.JCLineStyle getLineStyle()
JCLineStyle
property, which controls how contour lines
are drawn.
JCLineStyle
instance representing the contour line
drawing stylepublic void setLineStyle(com.klg.jclass.chart3d.JCLineStyle lineStyle)
JCLineStyle
property, which controls how contour lines
are drawn.
lineStyle
- JCLineStyle
instance representing the contour
line drawing stylepublic 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
.
public void setLinePattern(int pattern)
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
.
pattern
- Line pattern enumpublic 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
.
public void setLineJoin(int join)
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
.
join
- Line 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
.
public void setLineCap(int cap)
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
.
cap
- Line cap enumpublic int getLineWidth()
LineWidth
property.
The LineWidth
property controls the line width.
public void setLineWidth(int lineWidth)
LineWidth
property.
The LineWidth
property controls the line width.
lineWidth
- Line widthpublic Color getLineColor()
LineColor
property.
The LineColor
property determines the color used to draw a line.
public void setLineColor(Color lineColor)
LineColor
property.
The LineColor
property determines the color used to draw a line.
lineColor
- Line colorpublic com.klg.jclass.chart3d.JCFillStyle getFillStyle()
JCFillStyle
property, which controls how contour zones
are filled.
JCFillStyle
instance representing the contour zone
fill stylepublic void setFillStyle(com.klg.jclass.chart3d.JCFillStyle fillStyle)
JCFillStyle
property, which controls how contour zones
are filled.
fillStyle
- JCFillStyle
instance representing the contour
zone fill stylepublic Color getFillColor()
FillColor
property. The
FillColor
property determines the color used to fill regions
in the chart.
public void setFillColor(Color fillColor)
FillColor
property. The
FillColor
property determines the color used to fill regions
in the chart.
fillColor
- Fill colorpublic Color getFillBackground()
FillBackground
property. The
FillBackground
property determines the color used for the
background when doing patterned fills in the chart.
public void setFillBackground(Color fillColor)
FillBackground
property. The
FillBackground
property determines the color used for the
background when doing patterned fills in the chart.
fillColor
- Fill background colorpublic int getFillPattern()
FillPattern
property. The
FillPattern
property determines the fill pattern used to fill
regions in chart.
public void setFillPattern(int fillPattern)
FillPattern
property. The
FillPattern
property determines the fill pattern used to fill
regions in chart.
fillPattern
- Fill patternpublic Image getFillImage()
FillImage
property. The
FillImage
property is not currently used in
JCChart3d
.
public void setFillImage(Image fillImage)
FillImage
property. The
FillImage
property is not currently used in
JCChart3d
.
fillImage
- fill imagepublic 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
- The current symbol style objectpublic 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 color used to paint the symbol.
public void setSymbolColor(Color sc)
SymbolColor
property. The
SymbolColor
property determines 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 sizeprotected void initialize(com.klg.jclass.chart3d.JCContour contour, int index)
lineStyle
,
fillStyle
, and symbolStyle
with valid information.
contour
- The contour object to use to get default colorsindex
- The index of the contour to initialize
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |