|
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.JCGridColor
Class that allows certain bars (or rows/columns of bars) to be drawn with distinct colors. This can be used to do selection of bars.
Field Summary | |
protected Color |
color
The color to give selected bars. |
protected com.klg.jclass.chart3d.JCData3dGridIndex |
dataIndex
The grid index of the selected bar (or row/column of bars). |
protected com.klg.jclass.chart3d.TrackChange |
parent
The parent tracking changes in this object. |
Constructor Summary | |
JCGridColor()
Default constructor. |
|
JCGridColor(int x,
int y,
Color color)
Constructor that specifies the necessary info: x, y, and color. |
Method Summary | |
Color |
getColor()
Gets the color used to draw the bar (or row/column of bars) referenced by the x and y of the JCData3dGridIndex . |
com.klg.jclass.chart3d.JCData3dGridIndex |
getDataIndex()
Returns the JCData3dGridIndex object that contains the x
and y index for this grid color. |
int |
getX()
Returns the x index for this grid color. |
int |
getY()
Returns the y index for this grid color. |
protected void |
setChanged(boolean b,
int cf)
Tells the parent (if there is one) that a change has happened. |
void |
setColor(Color color)
Sets the color used to draw the bar (or row/column of bars) referenced by the x and y of the JCData3dGridIndex . |
void |
setDataIndex(com.klg.jclass.chart3d.JCData3dGridIndex dataIndex)
Sets the JCData3dGridIndex object that contains the x
and y index for this grid color. |
void |
setX(int x)
Sets the x index for this grid color. |
void |
setY(int y)
Returns the y index for this grid color. |
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.JCData3dGridIndex dataIndex
protected Color color
protected com.klg.jclass.chart3d.TrackChange parent
Constructor Detail |
public JCGridColor()
public JCGridColor(int x, int y, Color color)
x
- the x
index for this grid color objecty
- the y
index for this grid color objectcolor
- the color for this grid color objectMethod Detail |
public com.klg.jclass.chart3d.JCData3dGridIndex getDataIndex()
JCData3dGridIndex
object that contains the x
and y index for this grid color.
public void setDataIndex(com.klg.jclass.chart3d.JCData3dGridIndex dataIndex)
JCData3dGridIndex
object that contains the x
and y index for this grid color.
dataIndex
- the new data indexpublic int getX()
JCData3dGridIndex
object.
public void setX(int x)
JCData3dGridIndex
object.
x
- the new x indexpublic int getY()
JCData3dGridIndex
object.
public void setY(int y)
JCData3dGridIndex
object.
y
- the new y indexpublic Color getColor()
JCData3dGridIndex
.
public void setColor(Color color)
JCData3dGridIndex
.
color
- the new color used to draw bars referenced by this grid colorprotected void setChanged(boolean b, int cf)
b
- Is there a change?cf
- the change mask that tells which type of change
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |