ucar.unidata.view.sounding
Class SpeedLabels
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.LineDrawing
ucar.visad.display.PolarLineDrawing
ucar.unidata.view.sounding.SpeedLabels
public class SpeedLabels
- extends PolarLineDrawing
Provides support for speed labels for a 3D wind hodograph.
- Version:
- $Id: SpeedLabels.java,v 1.21 2005/05/13 18:33:39 jeffmc Exp $
- Author:
- Steven R. Emmerson
|
Method Summary |
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display. |
boolean |
equals(Object obj)
Indicates if this instance is semantically identical to another object. |
int |
hashCode()
Returns the hash code of this instance. |
void |
setLabels(Gridded1DSet speedSet)
Sets the values for the labels. |
void |
setSize(double size)
Sets the size of the labels. |
| 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, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, showme, toString |
| Methods inherited from class ucar.visad.display.Displayable |
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 |
SpeedLabels
public SpeedLabels()
throws RemoteException,
VisADException
- Constructs from nothing.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
SpeedLabels
protected SpeedLabels(SpeedLabels that)
throws RemoteException,
VisADException
- Constructs from another instance.
- Parameters:
that - The other instance.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
setSize
public void setSize(double size)
throws VisADException,
RemoteException
- Sets the size of the labels.
- Parameters:
size - The size of the labels. 1 is normal.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
setLabels
public void setLabels(Gridded1DSet speedSet)
throws VisADException,
RemoteException
- Sets the values for the labels.
- Parameters:
speedSet - The set of speeds to be labeled.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
equals
public boolean equals(Object obj)
- Indicates if this instance is semantically identical to another object.
- Overrides:
equals in class PolarLineDrawing
- Parameters:
obj - The other object.
- Returns:
true if and only if this instance
is semantically identical to the other object.
hashCode
public int hashCode()
- Returns the hash code of this instance.
- Overrides:
hashCode in class PolarLineDrawing
- Returns:
- The hash code of this instance.
cloneForDisplay
public Displayable cloneForDisplay()
throws VisADException,
RemoteException
- Returns a clone of this instance suitable for another VisAD display.
Underlying data objects are not cloned.
- Overrides:
cloneForDisplay in class DisplayableData
- Returns:
- A clone of this instance.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.