|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ge.research.acuity.ui.Datapoint
An encapsulation of the information necessary to describe a point in space for charting purposes. The class name is a misnomer, in that a "point" can actually be an area, if min and max values for either x or y are supplied. A scalar color value can also be applied to the "point".
| Constructor Summary | |
Datapoint(double x,
double y)
Sets the minimum and maximum region values on the x and y axis to x and y, respectively. |
|
Datapoint(double x,
double y,
double color)
Sets the minimum and maximum region values on the x and y axis to x and y, respectively. |
|
Datapoint(double xMin,
double xMax,
double yMin,
double yMax)
Default constructor. |
|
Datapoint(double xMin,
double xMax,
double yMin,
double yMax,
double color)
Sets the minimum and maximum region values on the x and y axis. |
|
| Method Summary | |
double |
getColorValue()
Returns the scalar color value of the point. |
double |
getXmax()
Returns the xMax coordinate of the point region |
double |
getXmin()
Returns the xMin coordinate of the point region |
double |
getYmax()
Returns the yMax coordinate of the point region |
double |
getYmin()
Returns the yMin coordinate of the point region |
void |
setColorValue(double d)
Sets the scalar color value for the point |
void |
setXmax(double d)
Sets the xMax coordinate of the point region |
void |
setXmin(double d)
Sets the xMin coordinate of the point region |
void |
setYmax(double d)
Sets the yMax coordinate of the point region |
void |
setYmin(double d)
Sets the yMin coordinate of the point region |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Datapoint(double x,
double y)
x - the x-coordinate value for both xMin and xMaxy - the y-coordinate value for both yMin and yMaxDatapoint(double, double, double, double)
public Datapoint(double xMin,
double xMax,
double yMin,
double yMax)
xMin - the minimum x-coordinate value for the rangexMax - the minimum x-coordinate value for the rangeyMin - the minimum y-coordinate value for both the rangeyMax - the minimum y-coordinate value for both the rangesetXmin(double),
setXmax(double),
setYmin(double),
setYmax(double)
public Datapoint(double x,
double y,
double color)
x - the x-coordinate value for both xMin and xMaxy - the y-coordinate value for both yMin and yMaxcolor - the color value to apply to the pointDatapoint(double, double, double, double, double)
public Datapoint(double xMin,
double xMax,
double yMin,
double yMax,
double color)
xMin - the minimum x-coordinate value for the rangexMax - the minimum x-coordinate value for the rangeyMin - the minimum y-coordinate value for both the rangeyMax - the minimum y-coordinate value for both the rangecolor - the color value to apply to the pointDatapoint(double, double, double, double),
setColorValue(double)| Method Detail |
public double getXmax()
public double getXmin()
public double getYmax()
public double getYmin()
public void setXmax(double d)
d - the xMax coordinate of the point regionpublic void setXmin(double d)
d - the xMin coordinate of the point regionpublic void setYmax(double d)
d - the yMax coordinate of the point regionpublic void setYmin(double d)
d - the yMin coordinate of the point regionpublic double getColorValue()
public void setColorValue(double d)
d - the scalar color value for the point
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||