|
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.SimpleLine
SimpleLine provides an implementation of the
SGTLine and Cartesian interfaces.
SGTLine,
Cartesian,
Serialized Form| Constructor Summary | |
SimpleLine()
Default constuctor. |
|
SimpleLine(double[] xloc,
double[] yloc,
java.lang.String title)
Constructor for X and Y double. |
|
SimpleLine(double[] xloc,
GeoDate[] tloc,
java.lang.String title)
Constructor for X double and Y Time. |
|
SimpleLine(double[] xloc,
GeoDateArray tloc,
java.lang.String title)
Constructor for X double and Y Time. |
|
SimpleLine(GeoDate[] tloc,
double[] yloc,
java.lang.String title)
Constructor for X Time and Y double. |
|
SimpleLine(GeoDateArray tloc,
double[] yloc,
java.lang.String title)
Constructor for X Time and Y double. |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Add a PropertyChangeListener to the listener list. |
SGTData |
copy()
Create a shallow copy. |
SGTLine |
getAssociatedData()
Get the associated data. |
GeoDateArray |
getGeoDateArray()
Get the GeoDateArray object. |
java.lang.String |
getId()
Get the unique identifier. |
SGLabel |
getKeyTitle()
Get a title formatted for a Key. |
GeoDate[] |
getTimeArray()
Get the Time coordinate array. |
java.lang.String |
getTitle()
Get the Title. |
double[] |
getXArray()
Get the X coordinate array. |
SGTMetaData |
getXMetaData()
Get the X coordinate metadata. |
SoTRange |
getXRange()
Returns the range of the X coordinates. |
double[] |
getYArray()
Get the Y coordinate array. |
SGTMetaData |
getYMetaData()
Get the Y coordinate metadata |
SoTRange |
getYRange()
Returns the range of the Y coordinates. |
boolean |
hasAssociatedData()
Is there associated data? |
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 |
setAssociatedData(SGTLine assoc)
Set the data that will be associated with SGTLine
Property Change: associatedDataModified. |
void |
setId(java.lang.String ident)
Set the unique identifier. |
void |
setKeyTitle(SGLabel title)
Set the title formatted for the VectorKey. |
void |
setTimeArray(GeoDate[] tloc)
Set the Time coordinate array Property Change: dataModified. |
void |
setTimeArray(GeoDateArray tarray)
|
void |
setTitle(java.lang.String title)
Set the title. |
void |
setXArray(double[] xloc)
Set the X coordinate array. |
void |
setXMetaData(SGTMetaData md)
Set the X coordinate metadata. |
void |
setYArray(double[] yloc)
Set the Y coordinate array Property Change: dataModified. |
void |
setYMetaData(SGTMetaData md)
Set the Y coordinate metadata. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleLine()
public SimpleLine(double[] xloc,
double[] yloc,
java.lang.String title)
xloc - X coordinatesyloc - Y coordinatestitle - the Title
public SimpleLine(GeoDate[] tloc,
double[] yloc,
java.lang.String title)
tloc - Time coordinatesyloc - Y coordinatestitle - the Title
public SimpleLine(GeoDateArray tloc,
double[] yloc,
java.lang.String title)
tloc - Time coordinatesyloc - Y coordinatestitle - the Title
public SimpleLine(double[] xloc,
GeoDateArray tloc,
java.lang.String title)
xloc - X coordinatestloc - Time coordinatestitle - the Title
public SimpleLine(double[] xloc,
GeoDate[] tloc,
java.lang.String title)
xloc - X coordinatestloc - Time coordinatestitle - the Title| Method Detail |
public SGTData copy()
copy in interface SGTDataSGTDatapublic double[] getXArray()
getXArray in interface SGTLinepublic double[] getYArray()
getYArray in interface SGTLinepublic GeoDate[] getTimeArray()
getTimeArray in interface SGTLinepublic GeoDateArray getGeoDateArray()
GeoDateArray object.
getGeoDateArray in interface SGTLinepublic boolean isXTime()
isXTime in interface SGTDatapublic boolean isYTime()
isYTime in interface SGTDatapublic SGTMetaData getXMetaData()
getXMetaData in interface SGTDatapublic SGTMetaData getYMetaData()
getYMetaData in interface SGTDatapublic java.lang.String getTitle()
getTitle in interface SGTDatapublic java.lang.String getId()
getId in interface SGTDataJPane,
Layerpublic void setId(java.lang.String ident)
public void setAssociatedData(SGTLine assoc)
SGTLine
associatedDataModified.
public SGTLine getAssociatedData()
getAssociatedData in interface SGTLinepublic boolean hasAssociatedData()
hasAssociatedData in interface SGTLinepublic void setXMetaData(SGTMetaData md)
public void setYMetaData(SGTMetaData md)
public 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 void setXArray(double[] xloc)
dataModified.
public void setYArray(double[] yloc)
dataModified.
public void setTimeArray(GeoDate[] tloc)
dataModified.
public void setTimeArray(GeoDateArray tarray)
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.
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 | |||||||||||