Package ucar.unidata.idv.control
Class SoundingProfile
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.LineDrawing
ucar.unidata.idv.control.SoundingProfile
Supports a profile trace on a thermodynamic diagram.
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData
DisplayableData.DragAdapter
-
Field Summary
FieldsFields 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
ConstructorsModifierConstructorDescriptionSoundingProfile
(String name, FunctionType funcType) Constructs from a name for the displayable and a function type.protected
Constructs from another instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clears the profile-field.Returns a clone of this instance suitable for another VisAD display.protected void
Handles a change to the data referenced by this instances's DataReference.boolean
Indicates if this instance is semantically identical to another object.Returns the profile-field property.int
hashCode()
Returns the hash code of this instance.void
setProfile
(Field field) Sets the profile field property.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, 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
-
Field Details
-
FIELD
The name of the profile-field property.- See Also:
-
-
Constructor Details
-
SoundingProfile
Constructs from a name for the displayable and a function type.- Parameters:
name
- The name for the displayable.funcType
- The type of the profile function.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
SoundingProfile
Constructs from another instance.- Parameters:
that
- The other instance.- Throws:
RemoteException
VisADException
-
-
Method Details
-
setProfile
Sets the profile field property. This method will cause a PropertyChangeEvent to be fired for the FIELD property.- Parameters:
field
- The profile field property.- Throws:
TypeException
- Argument has incorrect type.VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
getProfile
Returns the profile-field property. NB: Does not return a copy.- Returns:
- The profile-field property.
- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
dataChange
Handles a change to the data referenced by this instances's DataReference. This method is invoked by the parent class when the data is either explicitly set or directly manipulated. This method fires a PropertyChangeEvent for the FIELD property with the Field value of the last setProfile(Field) invocation as the old value. It also causes a PropertyChangeEvent to be fired for the RANGE_VALUE property.- Overrides:
dataChange
in classDisplayableData
- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
equals
Indicates if this instance is semantically identical to another object. -
hashCode
public int hashCode()Returns the hash code of this instance. -
clear
public void clear()Clears the profile-field. -
cloneForDisplay
Returns a clone of this instance suitable for another VisAD display. Underlying data objects are not cloned.- Overrides:
cloneForDisplay
in classDisplayableData
- Returns:
- A clone of this instance.
- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-