|
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.dm.Annote
|
+--gov.noaa.pmel.sgt.dm.Annote.Point
Class for point annotations.
| Nested Class Summary |
| Nested classes inherited from class gov.noaa.pmel.sgt.dm.Annote |
Annote.Line, Annote.Oval, Annote.Point, Annote.Rect, Annote.Text |
| Constructor Summary | |
Annote.Point(java.lang.String id,
SGTPoint point,
PointAttribute attr)
|
|
| Method Summary | |
SGTData |
copy()
Create a shallow copy. |
PointAttribute |
getAttribute()
|
java.awt.Rectangle |
getBounds(Graph graph)
|
SoTDomain |
getDomain()
|
java.lang.String |
getId()
Get the unique identifier. |
SGLabel |
getKeyTitle()
Get a title formatted for a Key. |
SGTPoint |
getPoint()
|
java.lang.String |
getTitle()
Get the title. |
SGTMetaData |
getXMetaData()
Returns the X SGTMetaData. |
SoTRange |
getXRange()
Returns the range of the X coordinates. |
SGTMetaData |
getYMetaData()
Returns the Y SGTMetaData. |
SoTRange |
getYRange()
Returns the range of the Y coordinates. |
void |
init()
Init method used to setup serialized object. |
boolean |
isXTime()
Returns true if the X coordinate is Time. |
boolean |
isYTime()
Returns true if the Y coordinate is Time. |
void |
moveBy(SoTPoint pnt)
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
| Methods inherited from class gov.noaa.pmel.sgt.dm.Annote |
addPropertyChangeListener, getAnnoteId, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Annote.Point(java.lang.String id,
SGTPoint point,
PointAttribute attr)
| Method Detail |
public void init()
Annote
init in class Annotepublic SGTPoint getPoint()
public PointAttribute getAttribute()
public SoTDomain getDomain()
getDomain in class Annotepublic java.awt.Rectangle getBounds(Graph graph)
getBounds in class Annotepublic void moveBy(SoTPoint pnt)
moveBy in class Annotepublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerpropertyChange in class Annotepublic SGTData copy()
SGTDataFor example,
public SGTData copy() {
SGTData newData;
try {
newData = (SGTData)clone();
} catch (CloneNotSupportedException e) {
newData = null;
}
return newData;
}
Objectpublic java.lang.String getId()
SGTData
Pane,
Layerpublic SGLabel getKeyTitle()
SGTDataJPlotLayout will use this
if an explicit Key title is not given in the addData method.
SGLabel,
ColorKey,
LineKey,
PointCollectionKey,
VectorKeypublic java.lang.String getTitle()
SGTData
public SGTMetaData getXMetaData()
SGTData
public SoTRange getXRange()
SGTDataDouble.NaN
as the start and end values for data of type double
and return GeoDate(Long.MIN_VALUE) for data of type
GeoDate.
GeoDate.isMissing()public SGTMetaData getYMetaData()
SGTData
public SoTRange getYRange()
SGTData
SGTData.getXRange()public boolean isXTime()
SGTData
public boolean isYTime()
SGTData
|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||