gov.noaa.pmel.sgt.dm
Class PointCollection

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--gov.noaa.pmel.sgt.dm.Collection
                          |
                          +--gov.noaa.pmel.sgt.dm.PointCollection
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable, SGTData

public class PointCollection
extends Collection

PointCollection is an extension to Vector designed to hold SGTPoint objects.

Since:
2.0
Version:
$Revision: 1.6 $, $Date: 2001/02/06 00:47:24 $
Author:
Donald Denbo
See Also:
SGTData, SGTPoint, SGTLine, SGTGrid, SGTVector, Serialized Form

Constructor Summary
PointCollection()
          Default consturctor
PointCollection(java.lang.String title)
           
PointCollection(java.lang.String title, int initialCapacity)
           
PointCollection(java.lang.String title, int initialCapacity, int increment)
           
 
Method Summary
 SGTData copy()
          Create a copy.
 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 setXMetaData(SGTMetaData xMetaData)
          Set the SGTMetaData associated with the x axis.
 void setYMetaData(SGTMetaData yMetaData)
          Set the SGTMetaData associated with the y axis.
 
Methods inherited from class gov.noaa.pmel.sgt.dm.Collection
addPropertyChangeListener, getId, getKeyTitle, getTitle, isXTime, isYTime, removePropertyChangeListener, setId, setKeyTitle, setTitle
 
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

PointCollection

public PointCollection()
Default consturctor

PointCollection

public PointCollection(java.lang.String title)

PointCollection

public PointCollection(java.lang.String title,
                       int initialCapacity)

PointCollection

public PointCollection(java.lang.String title,
                       int initialCapacity,
                       int increment)
Method Detail

copy

public SGTData copy()
Create a copy.
Overrides:
copy in class Collection
See Also:
SGTData

getXRange

public SoTRange getXRange()
Description copied from interface: SGTData
Returns the range of the X coordinates. If all the data in the array is missing, this method will return Double.NaN as the start and end values for data of type double and return GeoDate(Long.MIN_VALUE) for data of type GeoDate.
Overrides:
getXRange in class Collection
Following copied from interface: gov.noaa.pmel.sgt.dm.SGTData
See Also:
GeoDate.isMissing()

getYRange

public SoTRange getYRange()
Description copied from interface: SGTData
Returns the range of the Y coordinates.
Overrides:
getYRange in class Collection
Following copied from interface: gov.noaa.pmel.sgt.dm.SGTData
See Also:
SGTData.getXRange()

getXMetaData

public SGTMetaData getXMetaData()
Description copied from interface: SGTData
Returns the X SGTMetaData.
Overrides:
getXMetaData in class Collection

setXMetaData

public void setXMetaData(SGTMetaData xMetaData)
Set the SGTMetaData associated with the x axis.

getYMetaData

public SGTMetaData getYMetaData()
Description copied from interface: SGTData
Returns the Y SGTMetaData.
Overrides:
getYMetaData in class Collection

setYMetaData

public void setYMetaData(SGTMetaData yMetaData)
Set the SGTMetaData associated with the y axis.


Send comments about the Scientific Graphics toolkit to dwd@pmel.noaa.gov. For more information about Java Development in the EPIC Group see the EPIC Software Page
Generated on December 13 2001