|
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.Rect
Class for rectangle 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.Rect(java.lang.String id,
SoTPoint upperLeft,
SoTPoint lowerRight,
LineAttribute attr,
java.awt.Color color)
|
|
| Method Summary | |
SGTData |
copy()
Create a shallow copy. |
java.awt.Rectangle |
getBounds(Graph graph)
|
SoTDomain |
getDomain()
|
java.awt.Color |
getFillColor()
|
java.lang.String |
getId()
Get the unique identifier. |
SGLabel |
getKeyTitle()
Get a title formatted for a Key. |
LineAttribute |
getLineAttribute()
|
SoTPoint |
getLowerRight()
|
java.lang.String |
getTitle()
Get the title. |
SoTPoint |
getUpperLeft()
|
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 point)
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
void |
setFillColor(java.awt.Color color)
|
void |
setLocation(SoTPoint ul,
SoTPoint lr)
|
void |
setLowerRight(SoTPoint lr)
|
void |
setUpperLeft(SoTPoint ul)
|
| 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.Rect(java.lang.String id,
SoTPoint upperLeft,
SoTPoint lowerRight,
LineAttribute attr,
java.awt.Color color)
| Method Detail |
public void init()
Annote
init in class Annotepublic SoTPoint getUpperLeft()
public void setUpperLeft(SoTPoint ul)
public SoTPoint getLowerRight()
public void setLowerRight(SoTPoint lr)
public void setLocation(SoTPoint ul,
SoTPoint lr)
public LineAttribute getLineAttribute()
public java.awt.Color getFillColor()
public void setFillColor(java.awt.Color color)
public SoTDomain getDomain()
getDomain in class Annotepublic java.awt.Rectangle getBounds(Graph graph)
getBounds in class Annotepublic void moveBy(SoTPoint point)
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 | |||||||||||