|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--gov.noaa.pmel.sgt.dm.SGTVector
Defines a data object to be a Vector. Interpretation
of U and V is determined by the CoordinateSystem. For
Cartesian, U and V are the Cartesian vector
components. For Polar ,
U and V are R (radius) and Theta (angle) vector components,
respectively.
SGTData,
CoordinateSystem,
Serialized Form| Constructor Summary | |
SGTVector()
Default constructor. |
|
SGTVector(SGTGrid uComp,
SGTGrid vComp)
Construct a SGTVector from two components. |
|
| 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 vector's title. |
SGTGrid |
getU()
Get the U component. |
SGTGrid |
getV()
Get the V component. |
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 |
setComponents(SGTGrid uComp,
SGTGrid vComp)
Set the vector components. |
void |
setId(java.lang.String ident)
Set the unique identifier. |
void |
setKeyTitle(SGLabel title)
Set the title formatted for the VectorKey. |
void |
setTitle(java.lang.String title)
Set the vector's title. |
void |
setU(SGTGrid uComp)
Set the U component. |
void |
setV(SGTGrid vComp)
Set the V component. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SGTVector()
public SGTVector(SGTGrid uComp,
SGTGrid vComp)
uComp - U component of the vectorvComp - V component of the vector| Method Detail |
public SGTData copy()
copy in interface SGTDataSGTDatapublic SGTGrid getU()
public SGTGrid getV()
public void setU(SGTGrid uComp)
uComp - U componentpublic void setV(SGTGrid vComp)
vComp - V component
public void setComponents(SGTGrid uComp,
SGTGrid vComp)
uComp - U componentvComp - V componentpublic void setTitle(java.lang.String title)
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)
VectorKey.
public java.lang.String getId()
getId in interface SGTDataPane,
Layerpublic void setId(java.lang.String ident)
public java.lang.String getTitle()
getTitle in interface SGTDatapublic boolean isXTime()
SGTData
isXTime in interface SGTDatapublic boolean isYTime()
SGTData
isYTime in interface SGTDatapublic SGTMetaData getXMetaData()
SGTData
getXMetaData in interface SGTDatapublic SGTMetaData getYMetaData()
SGTData
getYMetaData in interface SGTDatapublic 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 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
SGTData
addPropertyChangeListener in interface SGTDatapublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
SGTData
removePropertyChangeListener in interface SGTData
|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||