|
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.SimplePoint
SimplePoint provides an implementation of the
SGTPoint and Cartesian interfaces.
SGTPoint,
Cartesian,
Serialized Form| Constructor Summary | |
SimplePoint()
Default constructor. |
|
SimplePoint(double xloc,
double yloc,
java.lang.String title)
Simple Point constructor. |
|
SimplePoint(SoTPoint loc,
java.lang.String title)
Simple Point constructor. |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Add a PropertyChangeListener to the listener list. |
SGTData |
copy()
Create a copy. |
java.lang.String |
getId()
Get the unique identifier. |
SGLabel |
getKeyTitle()
Get a title formatted for a Key. |
long |
getLongTime()
Get the time in long referenced
to 1970-01-01 |
GeoDate |
getTime()
Get the time coordinate. |
java.lang.String |
getTitle()
Get the title. |
double |
getValue()
Get the associated value. |
SGTMetaData |
getValueMetaData()
Get the associated value SGTMetaData. |
double |
getX()
Get the X coordinate. |
SGTMetaData |
getXMetaData()
Returns the X SGTMetaData. |
SoTRange |
getXRange()
Returns the range of the X coordinates. |
double |
getY()
Get the Y coordinate |
SGTMetaData |
getYMetaData()
Returns the Y SGTMetaData. |
SoTRange |
getYRange()
Returns the range of the Y coordinates. |
boolean |
hasValue()
Is there an associated value? |
boolean |
isXTime()
Is the X coordinate Time? |
boolean |
isYTime()
Is the Y coordinate Time? |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Remove a PropertyChangeListener from the listener list. |
void |
setId(java.lang.String ident)
Set the unique identifier. |
void |
setKeyTitle(SGLabel title)
Set the title formatted for the VectorKey. |
void |
setTime(GeoDate date)
Set the time coordinate |
void |
setTime(long t)
|
void |
setTitle(java.lang.String title)
Set the title. |
void |
setValue(double value,
java.lang.String name,
java.lang.String units)
The the associated value and basic metadata. |
void |
setX(double xloc)
Set the X coordinate. |
void |
setXMetaData(SGTMetaData md)
Set the SGTMetaData associated with the x
coordinate |
void |
setY(double yloc)
Set the Y coordinate. |
void |
setYMetaData(SGTMetaData md)
Set the SGTMetaData associated with the y
coordinate |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimplePoint()
public SimplePoint(double xloc,
double yloc,
java.lang.String title)
xloc - X coordinateyloc - Y coordinatetitle - the title
public SimplePoint(SoTPoint loc,
java.lang.String title)
loc - SoTPointtitle - the title| Method Detail |
public SGTData copy()
copy in interface SGTDataSGTDatapublic double getX()
getX in interface SGTPointpublic double getY()
getY in interface SGTPointpublic double getValue()
getValue in interface SGTPointpublic boolean hasValue()
hasValue in interface SGTPointpublic GeoDate getTime()
getTime in interface SGTPointpublic long getLongTime()
long referenced
to 1970-01-01
getLongTime in interface SGTPointpublic void setTime(GeoDate date)
public void setTime(long t)
public boolean isXTime()
isXTime in interface SGTDatapublic boolean isYTime()
isYTime in interface SGTDatapublic java.lang.String getTitle()
getTitle in interface SGTDatapublic void setTitle(java.lang.String title)
public SGLabel getKeyTitle()
SGTDataJPlotLayout will use this
if an explicit Key title is not given in the addData method.
getKeyTitle in interface SGTDataSGLabel,
ColorKey,
LineKey,
PointCollectionKey,
VectorKeypublic void setKeyTitle(SGLabel title)
VectorKey.
public java.lang.String getId()
getId in interface SGTDataPane,
Layerpublic void setId(java.lang.String ident)
public SGTMetaData getValueMetaData()
getValueMetaData in interface SGTPointpublic void setX(double xloc)
dataModified.
public void setY(double yloc)
dataModified.
public void setValue(double value,
java.lang.String name,
java.lang.String units)
associatedDataModified.
value - associated dataname - values nameunits - values unitspublic void setXMetaData(SGTMetaData md)
SGTMetaData associated with the x
coordinate
public void setYMetaData(SGTMetaData md)
SGTMetaData associated with the y
coordinate
public SGTMetaData getXMetaData()
SGTData
getXMetaData in interface SGTDatapublic SGTMetaData getYMetaData()
SGTData
getYMetaData in interface SGTDatapublic 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.
getXRange in interface SGTDataGeoDate.isMissing()public SoTRange getYRange()
SGTData
getYRange in interface SGTDataSGTData.getXRange()public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
SGTData
addPropertyChangeListener in interface SGTDatapublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
SGTData
removePropertyChangeListener in interface SGTData
|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||