|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.noaa.pmel.sgt.dm.SimpleTuple
public class SimpleTuple
SimpleTuple
provides an implementation of the
SGTTuple
and Cartesian
interfaces.
SGTTuple
,
Cartesian
,
Serialized FormField Summary | |
---|---|
protected SGTMetaData |
xMetaData_
|
protected SGTMetaData |
yMetaData_
|
protected SGTMetaData |
zMetaData_
|
Constructor Summary | |
---|---|
SimpleTuple()
|
|
SimpleTuple(double[] xArray,
double[] yArray,
double[] zArray,
java.lang.String title)
|
|
SimpleTuple(double[] xArray,
double[] yArray,
java.lang.String title)
|
|
SimpleTuple(double[] xArray,
GeoDate[] yArray,
double[] zArray,
java.lang.String title)
|
|
SimpleTuple(double[] xArray,
GeoDate[] yArray,
java.lang.String title)
|
|
SimpleTuple(GeoDate[] xArray,
double[] yArray,
double[] zArray,
java.lang.String title)
|
|
SimpleTuple(GeoDate[] xArray,
double[] yArray,
java.lang.String title)
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Add a PropertyChangeListener to the listener list. |
SGTData |
copy()
Create a shallow copy. |
double[] |
getAssociatedData()
|
GeoDateArray |
getGeoDateArray()
Get the GeoDateArray object. |
java.lang.String |
getId()
Get the unique identifier. |
SGLabel |
getKeyTitle()
Get a title formatted for a Key. |
int |
getSize()
|
GeoDate[] |
getTimeArray()
|
java.lang.String |
getTitle()
Get the title. |
double[] |
getXArray()
|
SGTMetaData |
getXMetaData()
Returns the X SGTMetaData. |
SoTRange |
getXRange()
Returns the range of the X coordinates. |
double[] |
getYArray()
|
SGTMetaData |
getYMetaData()
Returns the Y SGTMetaData. |
SoTRange |
getYRange()
Returns the range of the Y coordinates. |
double[] |
getZArray()
|
SGTMetaData |
getZMetaData()
|
Range2D |
getZRange()
|
boolean |
hasAssociatedData()
|
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 |
setAssociatedData(double[] assocArray)
|
void |
setId(java.lang.String id)
|
void |
setKeyTitle(SGLabel title)
|
void |
setTitle(java.lang.String title)
|
void |
setXArray(double[] xArray)
|
void |
setXArray(GeoDate[] tArray)
|
void |
setXArray(GeoDateArray tArray)
|
void |
setXMetaData(SGTMetaData xMeta)
|
void |
setYArray(double[] yArray)
|
void |
setYArray(GeoDate[] tArray)
|
void |
setYArray(GeoDateArray tArray)
|
void |
setYMetaData(SGTMetaData yMeta)
|
void |
setZArray(double[] zArray)
|
void |
setZMetaData(SGTMetaData zMeta)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SGTMetaData xMetaData_
protected SGTMetaData yMetaData_
protected SGTMetaData zMetaData_
Constructor Detail |
---|
public SimpleTuple(double[] xArray, double[] yArray, java.lang.String title)
public SimpleTuple(GeoDate[] xArray, double[] yArray, java.lang.String title)
public SimpleTuple(double[] xArray, GeoDate[] yArray, java.lang.String title)
public SimpleTuple(double[] xArray, double[] yArray, double[] zArray, java.lang.String title)
public SimpleTuple(GeoDate[] xArray, double[] yArray, double[] zArray, java.lang.String title)
public SimpleTuple(double[] xArray, GeoDate[] yArray, double[] zArray, java.lang.String title)
public SimpleTuple()
Method Detail |
---|
public double[] getXArray()
getXArray
in interface SGTTuple
public void setXArray(double[] xArray)
public void setXArray(GeoDate[] tArray)
public void setXArray(GeoDateArray tArray)
public double[] getYArray()
getYArray
in interface SGTTuple
public void setYArray(double[] yArray)
public void setYArray(GeoDate[] tArray)
public void setYArray(GeoDateArray tArray)
public double[] getZArray()
getZArray
in interface SGTTuple
public void setZArray(double[] zArray)
public int getSize()
getSize
in interface SGTTuple
public GeoDate[] getTimeArray()
getTimeArray
in interface SGTTuple
public GeoDateArray getGeoDateArray()
SGTTuple
GeoDateArray
object.
getGeoDateArray
in interface SGTTuple
public double[] getAssociatedData()
getAssociatedData
in interface SGTTuple
public void setAssociatedData(double[] assocArray)
public boolean hasAssociatedData()
hasAssociatedData
in interface SGTTuple
public SGTMetaData getZMetaData()
getZMetaData
in interface SGTTuple
public void setZMetaData(SGTMetaData zMeta)
public java.lang.String getTitle()
SGTData
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
SGLabel
,
ColorKey
,
LineKey
,
PointCollectionKey
,
VectorKey
public void setKeyTitle(SGLabel title)
public java.lang.String getId()
SGTData
getId
in interface SGTData
Pane
,
Layer
public void setId(java.lang.String id)
public SGTData copy()
SGTData
For example,
public SGTData copy() { SGTData newData; try { newData = (SGTData)clone(); } catch (CloneNotSupportedException e) { newData = null; } return newData; }
copy
in interface SGTData
Object
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 void setXMetaData(SGTMetaData xMeta)
public SGTMetaData getYMetaData()
SGTData
getYMetaData
in interface SGTData
public void setYMetaData(SGTMetaData yMeta)
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
GeoDate.isMissing()
public SoTRange getYRange()
SGTData
getYRange
in interface SGTData
SGTData.getXRange()
public Range2D getZRange()
getZRange
in interface SGTTuple
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
SGTData
addPropertyChangeListener
in interface SGTData
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
SGTData
removePropertyChangeListener
in interface SGTData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |