|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | 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
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 vectorMethod Detail |
public SGTData copy()
copy
in interface SGTData
SGTData
public SGTGrid getU()
public SGTGrid getV()
public void setU(SGTGrid uComp)
uComp
- U componentpublic void setV(SGTGrid vComp)
vComp
- V componentpublic void setComponents(SGTGrid uComp, SGTGrid vComp)
uComp
- U componentvComp
- V componentpublic void setTitle(java.lang.String title)
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
gov.noaa.pmel.sgt.dm.SGTData
SGLabel
,
ColorKey
,
LineKey
,
PointCollectionKey
,
VectorKey
public void setKeyTitle(SGLabel title)
VectorKey
.public java.lang.String getId()
getId
in interface SGTData
Pane
,
Layer
public void setId(java.lang.String ident)
public java.lang.String getTitle()
getTitle
in interface SGTData
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 SGTMetaData getYMetaData()
SGTData
getYMetaData
in interface SGTData
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
gov.noaa.pmel.sgt.dm.SGTData
GeoDate.isMissing()
public SoTRange getYRange()
SGTData
getYRange
in interface SGTData
gov.noaa.pmel.sgt.dm.SGTData
SGTData.getXRange()
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
SGTData
addPropertyChangeListener
in interface SGTData
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
SGTData
removePropertyChangeListener
in interface SGTData
|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |