|
||||||||||
| 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 Form| Field 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 SGTTuplepublic void setXArray(double[] xArray)
public void setXArray(GeoDate[] tArray)
public void setXArray(GeoDateArray tArray)
public double[] getYArray()
getYArray in interface SGTTuplepublic void setYArray(double[] yArray)
public void setYArray(GeoDate[] tArray)
public void setYArray(GeoDateArray tArray)
public double[] getZArray()
getZArray in interface SGTTuplepublic void setZArray(double[] zArray)
public int getSize()
getSize in interface SGTTuplepublic GeoDate[] getTimeArray()
getTimeArray in interface SGTTuplepublic GeoDateArray getGeoDateArray()
SGTTupleGeoDateArray object.
getGeoDateArray in interface SGTTuplepublic double[] getAssociatedData()
getAssociatedData in interface SGTTuplepublic void setAssociatedData(double[] assocArray)
public boolean hasAssociatedData()
hasAssociatedData in interface SGTTuplepublic SGTMetaData getZMetaData()
getZMetaData in interface SGTTuplepublic void setZMetaData(SGTMetaData zMeta)
public java.lang.String getTitle()
SGTData
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()
SGTData
getId in interface SGTDataPane,
Layerpublic void setId(java.lang.String id)
public SGTData copy()
SGTDataFor example,
public SGTData copy() {
SGTData newData;
try {
newData = (SGTData)clone();
} catch (CloneNotSupportedException e) {
newData = null;
}
return newData;
}
copy in interface SGTDataObjectpublic boolean isXTime()
SGTData
isXTime in interface SGTDatapublic boolean isYTime()
SGTData
isYTime in interface SGTDatapublic SGTMetaData getXMetaData()
SGTData
getXMetaData in interface SGTDatapublic void setXMetaData(SGTMetaData xMeta)
public SGTMetaData getYMetaData()
SGTData
getYMetaData in interface SGTDatapublic void setYMetaData(SGTMetaData yMeta)
public 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 Range2D getZRange()
getZRange in interface SGTTuplepublic void addPropertyChangeListener(java.beans.PropertyChangeListener l)
SGTData
addPropertyChangeListener in interface SGTDatapublic 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 | |||||||||