public class WindArrow extends LineDrawing
DisplayableData.DragAdapter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
WIND
The name of the wind property.
|
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE
MANIPULABLE, renderer, VISIBLE
DISPLAY, parent, SCALAR_MAP_SET
Modifier | Constructor and Description |
---|---|
|
WindArrow()
Constructs from nothing.
|
|
WindArrow(visad.TupleType tupleType)
Constructs from the TupleType for the data.
|
|
WindArrow(visad.TupleType tupleType,
boolean manip)
Constructs from the TupleType for the data.
|
protected |
WindArrow(WindArrow that)
Constructs from another instance.
|
Modifier and Type | Method and Description |
---|---|
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(java.lang.Object obj)
Indicates if this instance is identical to another object.
|
protected visad.DataRenderer |
getDataRenderer()
Returns the DataRenderer for this displayable.
|
static visad.TupleType |
getDefaultTupleType()
Returns the default type of the wind tuple.
|
static visad.RealType |
getGeopotentialAltitudeDefaultRealType()
Returns the default type of the geopotential altitude.
|
static visad.RealTupleType |
getHorizontalWindDefaultRealTupleType()
Returns the default type of the horizontal wind.
|
static visad.RealType |
getSoutherlyWindDefaultRealType()
Returns the default type of the southerly wind.
|
visad.TupleType |
getTupleType()
Returns the MathType of the wind tuple.
|
visad.RealType |
getVerticalComponentRealType()
Returns the type of the vertical component of the profile quantity.
|
static visad.RealType |
getWesterlyWindDefaultRealType()
Returns the default type of the westerly wind.
|
visad.Tuple |
getWind()
Returns the wind.
|
int |
hashCode()
Returns the hash code of this instance.
|
void |
setWind(visad.DataReference windRef)
Sets the wind.
|
void |
setWind(visad.Tuple wind)
Sets the wind.
|
java.lang.String |
toString()
Returns a String representation of this WindArrow
|
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBA
addAction, destroy, getActive, getAnimationSet, getData, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, showme
addConstantMap, addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, isActive, isUnitCompatible, isVisible, logException, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setAdjustFlow, setColorPalette, setColorPalette, setColorUnit, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setDisplayUnit, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFront
public WindArrow() throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public WindArrow(visad.TupleType tupleType) throws visad.VisADException, java.rmi.RemoteException
tupleType
- The MathType for the data.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public WindArrow(visad.TupleType tupleType, boolean manip) throws visad.VisADException, java.rmi.RemoteException
tupleType
- The MathType for the data.manip
- if true, will be manipulablevisad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.protected WindArrow(WindArrow that) throws visad.VisADException, java.rmi.RemoteException
that
- The other instance.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public static visad.TupleType getDefaultTupleType()
public static visad.RealType getGeopotentialAltitudeDefaultRealType() throws visad.VisADException
visad.VisADException
- VisAD failure.public visad.RealType getVerticalComponentRealType() throws visad.VisADException
visad.VisADException
- VisAD failure.public static visad.RealTupleType getHorizontalWindDefaultRealTupleType() throws visad.VisADException
visad.VisADException
- VisAD failure.public static visad.RealType getWesterlyWindDefaultRealType() throws visad.VisADException
visad.VisADException
- VisAD failure.public static visad.RealType getSoutherlyWindDefaultRealType() throws visad.VisADException
visad.VisADException
- VisAD failure.public visad.TupleType getTupleType()
public void setWind(visad.Tuple wind) throws visad.VisADException, java.rmi.RemoteException
wind
- The horizontal wind
(geopotentialAltitude, (u, v)).visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setWind(visad.DataReference windRef) throws visad.VisADException, java.rmi.RemoteException
windRef
- The data reference for the horizontal wind
(geopotentialAltitude, (u, v)).visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public visad.Tuple getWind() throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.protected void dataChange() throws visad.VisADException, java.rmi.RemoteException
dataChange
in class DisplayableData
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The other object.true
if and only if this instance
is identical to the other object.public int hashCode()
hashCode
in class java.lang.Object
public Displayable cloneForDisplay() throws visad.VisADException, java.rmi.RemoteException
cloneForDisplay
in class DisplayableData
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.protected visad.DataRenderer getDataRenderer()
getDataRenderer
in class DisplayableData
public java.lang.String toString()
toString
in class DisplayableData