|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.bio.MeasureThing
visad.bio.MeasurePoint
public class MeasurePoint
An endpoint in the list of measurements.
Constructor Summary | |
---|---|
MeasurePoint(double x,
double y,
double z)
Constructs an endpoint with the given coordinates. |
|
MeasurePoint(double x,
double y,
double z,
java.awt.Color color,
MeasureGroup group)
Constructs an endpoint with the given coordinates, color, group and selection status. |
|
MeasurePoint(MeasurePoint point,
double z)
Constructs an endpoint cloned from the given endpoint, but with a (possibly) different Z value. |
Method Summary | |
---|---|
void |
refreshColor()
Sets the point's color to match its associated lines. |
void |
setColor(java.awt.Color color)
Sets the point's preferred color to the given one. |
void |
setCoordinates(PoolPoint p,
double x,
double y,
double z)
Sets the coordinates of the endpoint to match those given. |
void |
setStdId(int stdId)
Sets the point's standard id to match the given id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MeasurePoint(double x, double y, double z)
public MeasurePoint(double x, double y, double z, java.awt.Color color, MeasureGroup group)
public MeasurePoint(MeasurePoint point, double z)
Method Detail |
---|
public void setColor(java.awt.Color color)
setColor
in class MeasureThing
public void setStdId(int stdId)
setStdId
in class MeasureThing
public void setCoordinates(PoolPoint p, double x, double y, double z)
public void refreshColor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |