|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--gov.noaa.pmel.sgt.PlotMark
Support class used to draw a PlotMark. Plot mark codes are defined
in the following table.
PointCartesianRenderer,
PlotMarkIcon| Constructor Summary | |
PlotMark(int mark)
Construct a PlotMark using the code from the
mark code. |
|
PlotMark(LineAttribute attr)
Construct a PlotMark using the code and height from the
LineAttribute. |
|
PlotMark(PointAttribute attr)
Construct a PlotMark using the code and height from the
PointAttribute. |
|
| Method Summary | |
int |
getMark()
Get the mark code. |
double |
getMarkHeightP()
Get the mark height |
static void |
main(java.lang.String[] args)
|
void |
paintMark(java.awt.Graphics g,
Layer ly,
int xp,
int yp)
Used internally by sgt. |
void |
setLineAttribute(LineAttribute attr)
Set the mark and height from the LineAttribute. |
void |
setMark(int mark)
Set the mark. |
void |
setMarkHeightP(double mHeight)
Set the mark height. |
void |
setPointAttribute(PointAttribute attr)
Set the mark and height from the PointAttribute. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PlotMark(LineAttribute attr)
PlotMark using the code and height from the
LineAttribute.
public PlotMark(PointAttribute attr)
PlotMark using the code and height from the
PointAttribute.
public PlotMark(int mark)
PlotMark using the code from the
mark code. Default height = 0.08.
| Method Detail |
public void setPointAttribute(PointAttribute attr)
PointAttribute.
public void setLineAttribute(LineAttribute attr)
LineAttribute.
public void setMark(int mark)
public int getMark()
public void setMarkHeightP(double mHeight)
public double getMarkHeightP()
public void paintMark(java.awt.Graphics g,
Layer ly,
int xp,
int yp)
public static void main(java.lang.String[] args)
public java.lang.String toString()
toString in class java.lang.Object
|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||