|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.Vector
|
+--gov.noaa.pmel.sgt.dm.Collection
Collection is an extension to Vector
designed to hold SGTData objects. These objects must
have consistent x and y coordinate types. Otherwise, the
isXTime(), isYTime(),
getXMetaData(), getYMetaData(), and
get?Ranges() methods will fail.
SGTData,
SGTPoint,
SGTLine,
SGTGrid,
SGTVector,
Serialized Form| Constructor Summary | |
Collection()
|
|
Collection(java.lang.String title)
|
|
Collection(java.lang.String title,
int initialCapacity)
|
|
Collection(java.lang.String title,
int initialCapacity,
int increment)
|
|
| 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. |
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. |
boolean |
isXTime()
Returns true if the X coordinate is Time. |
boolean |
isYTime()
Returns true if the Y coordinate is 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)
|
void |
setTitle(java.lang.String title)
Set the title. |
| Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
| Constructor Detail |
public Collection()
public Collection(java.lang.String title)
public Collection(java.lang.String title,
int initialCapacity)
public Collection(java.lang.String title,
int initialCapacity,
int increment)
| Method Detail |
public SGTData copy()
copy in interface SGTDataSGTDatapublic 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)
public java.lang.String getId()
getId in interface SGTDataPane,
Layerpublic void setId(java.lang.String ident)
public boolean isXTime()
SGTData
isXTime in interface SGTDatapublic boolean isYTime()
SGTData
isYTime in interface SGTDatapublic 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 | |||||||||||