|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | 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 FormConstructor 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 SGTData
SGTData
public java.lang.String getTitle()
getTitle
in interface SGTData
public void setTitle(java.lang.String title)
public SGLabel getKeyTitle()
SGTData
JPlotLayout
will use this
if an explicit Key title is not given in the addData
method.getKeyTitle
in interface SGTData
gov.noaa.pmel.sgt.dm.SGTData
SGLabel
,
ColorKey
,
LineKey
,
PointCollectionKey
,
VectorKey
public void setKeyTitle(SGLabel title)
public java.lang.String getId()
getId
in interface SGTData
Pane
,
Layer
public void setId(java.lang.String ident)
public boolean isXTime()
SGTData
isXTime
in interface SGTData
public boolean isYTime()
SGTData
isYTime
in interface SGTData
public SGTMetaData getXMetaData()
SGTData
getXMetaData
in interface SGTData
public SGTMetaData getYMetaData()
SGTData
getYMetaData
in interface SGTData
public SoTRange getXRange()
SGTData
Double.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 SGTData
gov.noaa.pmel.sgt.dm.SGTData
GeoDate.isMissing()
public SoTRange getYRange()
SGTData
getYRange
in interface SGTData
gov.noaa.pmel.sgt.dm.SGTData
SGTData.getXRange()
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
SGTData
addPropertyChangeListener
in interface SGTData
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
SGTData
removePropertyChangeListener
in interface SGTData
|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |