|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.LineDrawing
ucar.unidata.view.sounding.WindArrow
public class WindArrow
Supports the display a horizontal wind as a wind-direction shaft with barbs. The VisAD MathType of the horizontal wind is the TupleType (GeopotentialAltitude, (WesterlyWind, SoutherlyWind)).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData |
|---|
DisplayableData.DragAdapter |
| Field Summary | |
|---|---|
static String |
WIND
The name of the wind property. |
| Fields inherited from class ucar.visad.display.LineDrawing |
|---|
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE |
| Fields inherited from class ucar.visad.display.DisplayableData |
|---|
MANIPULABLE, renderer, VISIBLE |
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
|
WindArrow()
Constructs from nothing. |
|
WindArrow(TupleType tupleType)
Constructs from the TupleType for the data. |
|
WindArrow(TupleType tupleType,
boolean manip)
Constructs from the TupleType for the data. |
protected |
WindArrow(WindArrow that)
Constructs from another instance. |
| Method Summary | |
|---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display. |
protected void |
dataChange()
Handles a change to the Data referenced by this displayable's DataReference. |
boolean |
equals(Object obj)
Indicates if this instance is identical to another object. |
protected DataRenderer |
getDataRenderer()
Returns the DataRenderer for this displayable. |
static TupleType |
getDefaultTupleType()
Returns the default type of the wind tuple. |
static RealType |
getGeopotentialAltitudeDefaultRealType()
Returns the default type of the geopotential altitude. |
static RealTupleType |
getHorizontalWindDefaultRealTupleType()
Returns the default type of the horizontal wind. |
static RealType |
getSoutherlyWindDefaultRealType()
Returns the default type of the southerly wind. |
TupleType |
getTupleType()
Returns the MathType of the wind tuple. |
RealType |
getVerticalComponentRealType()
Returns the type of the vertical component of the profile quantity. |
static RealType |
getWesterlyWindDefaultRealType()
Returns the default type of the westerly wind. |
Tuple |
getWind()
Returns the wind. |
int |
hashCode()
Returns the hash code of this instance. |
void |
setWind(DataReference windRef)
Sets the wind. |
void |
setWind(Tuple wind)
Sets the wind. |
String |
toString()
Returns a String representation of this WindArrow |
| Methods inherited from class ucar.visad.display.LineDrawing |
|---|
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBA |
| Methods inherited from class ucar.visad.display.DisplayableData |
|---|
addAction, destroy, getActive, getAnimationSet, getData, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, showme |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String WIND
| Constructor Detail |
|---|
public WindArrow()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public WindArrow(TupleType tupleType)
throws VisADException,
RemoteException
tupleType - The MathType for the data.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public WindArrow(TupleType tupleType,
boolean manip)
throws VisADException,
RemoteException
tupleType - The MathType for the data.manip - if true, will be manipulable
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected WindArrow(WindArrow that)
throws VisADException,
RemoteException
that - The other instance.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
public static TupleType getDefaultTupleType()
public static RealType getGeopotentialAltitudeDefaultRealType()
throws VisADException
VisADException - VisAD failure.
public RealType getVerticalComponentRealType()
throws VisADException
VisADException - VisAD failure.
public static RealTupleType getHorizontalWindDefaultRealTupleType()
throws VisADException
VisADException - VisAD failure.
public static RealType getWesterlyWindDefaultRealType()
throws VisADException
VisADException - VisAD failure.
public static RealType getSoutherlyWindDefaultRealType()
throws VisADException
VisADException - VisAD failure.public TupleType getTupleType()
public void setWind(Tuple wind)
throws VisADException,
RemoteException
wind - The horizontal wind
(geopotentialAltitude, (u, v)).
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setWind(DataReference windRef)
throws VisADException,
RemoteException
windRef - The data reference for the horizontal wind
(geopotentialAltitude, (u, v)).
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public Tuple getWind()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void dataChange()
throws VisADException,
RemoteException
dataChange in class DisplayableDataVisADException - VisAD failure.
RemoteException - Java RMI failure.public boolean equals(Object obj)
equals in class Objectobj - The other object.
true if and only if this instance
is identical to the other object.public int hashCode()
hashCode in class Object
public Displayable cloneForDisplay()
throws VisADException,
RemoteException
cloneForDisplay in class DisplayableDataVisADException - VisAD failure.
RemoteException - Java RMI failure.protected DataRenderer getDataRenderer()
getDataRenderer in class DisplayableDatapublic String toString()
toString in class DisplayableData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||