|
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.ScreenPoint
Data structure internal to JClass Chart 3D. Used to represent the pixel values and related information of a data point.
Field Summary | |
protected boolean |
drawn
Has point been drawn? |
protected boolean |
hidden
Is point hidden? |
protected boolean |
holeValue
Does this point correspond to a hole value in the data? |
protected int |
xPixel
The X pixel value. |
protected int |
yPixel
The Y pixel value. |
Constructor Summary | |
ScreenPoint()
Default constructor. |
|
ScreenPoint(int xPixel,
int yPixel)
Constructor which specifies the x an y pixel values |
Method Summary | |
int |
getXPixel()
Retrieves the x pixel value for this point. |
int |
getYPixel()
Retrieves the y pixel value for this point. |
boolean |
isDrawn()
Has this point/facet has already been drawn? |
boolean |
isHidden()
Is this point is hidden? |
boolean |
isHoleValue()
Does this point corresponds to a hole value? |
void |
reset()
Resets this point to default values. |
void |
setDrawn(boolean drawn)
Sets whether this point/facet has already been drawn. |
void |
setHidden(boolean hidden)
Sets whether this point is hidden or not. |
void |
setHoleValue(boolean holeValue)
Sets whether this point corresponds to a hole value or not. |
void |
setXPixel(int xPixel)
Sets the x pixel value for this point. |
void |
setYPixel(int yPixel)
Sets the y pixel value for this point. |
String |
toString()
Override toString method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int xPixel
protected int yPixel
protected boolean hidden
protected boolean holeValue
protected boolean drawn
Constructor Detail |
public ScreenPoint()
public ScreenPoint(int xPixel, int yPixel)
xPixel
- The x pixel valueyPixel
- The y pixel valueMethod Detail |
public void reset()
public void setXPixel(int xPixel)
xPixel
- The x pixel value for this pointpublic int getXPixel()
public void setYPixel(int yPixel)
yPixel
- The y pixel value for this pointpublic int getYPixel()
public void setHidden(boolean hidden)
hidden
- Is this point hidden?public boolean isHidden()
public void setHoleValue(boolean holeValue)
holeValue
- Is this point a hole value?public boolean isHoleValue()
public void setDrawn(boolean drawn)
drawn
- Has this point been drawn?public boolean isDrawn()
public String toString()
toString
in class Object
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |