sgtplot.dm
Class PointCollection
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.Vector
-
- sgtplot.dm.Collection
-
- sgtplot.dm.PointCollection
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess, SGTData
public class PointCollection extends Collection
PointCollectionis an extension toVectordesigned to holdSGTPointobjects.
-
-
Constructor Summary
Constructors Constructor and Description PointCollection()Default consturctorPointCollection(java.lang.String title)PointCollection(java.lang.String title, int initialCapacity)PointCollection(java.lang.String title, int initialCapacity, int increment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description SGTDatacopy()Create a copy.SGTMetaDatagetXMetaData()Returns the X SGTMetaData.SoTRangegetXRange()Returns the range of the X coordinates.SGTMetaDatagetYMetaData()Returns the Y SGTMetaData.SoTRangegetYRange()Returns the range of the Y coordinates.voidsetXMetaData(SGTMetaData xMetaData)Set theSGTMetaDataassociated with the x axis.voidsetYMetaData(SGTMetaData yMetaData)Set theSGTMetaDataassociated with the y axis.-
Methods inherited from class sgtplot.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, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
-
-
-
-
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.- Specified by:
copyin interfaceSGTData- Overrides:
copyin classCollection- Returns:
- shallow copy
- See Also:
SGTData
-
getXRange
public SoTRange getXRange()
Description copied from interface:SGTDataReturns the range of the X coordinates. If all the data in the array is missing, this method will returnDouble.NaNas the start and end values for data of typedoubleand returnGeoDate(Long.MIN_VALUE)for data of typeGeoDate.- Specified by:
getXRangein interfaceSGTData- Overrides:
getXRangein classCollection- See Also:
GeoDate.isMissing()
-
getYRange
public SoTRange getYRange()
Description copied from interface:SGTDataReturns the range of the Y coordinates.- Specified by:
getYRangein interfaceSGTData- Overrides:
getYRangein classCollection- See Also:
SGTData.getXRange()
-
getXMetaData
public SGTMetaData getXMetaData()
Description copied from interface:SGTDataReturns the X SGTMetaData.- Specified by:
getXMetaDatain interfaceSGTData- Overrides:
getXMetaDatain classCollection
-
setXMetaData
public void setXMetaData(SGTMetaData xMetaData)
Set theSGTMetaDataassociated with the x axis.
-
getYMetaData
public SGTMetaData getYMetaData()
Description copied from interface:SGTDataReturns the Y SGTMetaData.- Specified by:
getYMetaDatain interfaceSGTData- Overrides:
getYMetaDatain classCollection
-
setYMetaData
public void setYMetaData(SGTMetaData yMetaData)
Set theSGTMetaDataassociated with the y axis.
-
-
DMelt 3.0 © DataMelt by jWork.ORG