public abstract class Profile extends LineDrawing
DisplayableData.DragAdapter| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD
The name of the profile-field property.
|
static java.lang.String |
RANGE_VALUE
The name of the range-value property.
|
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZEMANIPULABLE, renderer, VISIBLEDISPLAY, parent, SCALAR_MAP_SET| Modifier | Constructor and Description |
|---|---|
protected |
Profile(Profile that)
Constructs from another instance.
|
protected |
Profile(java.lang.String name,
visad.FunctionType funcType)
Constructs from a name for the displayable and a function type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the profile-field.
|
protected void |
dataChange()
Handles a change to the data referenced by this instances's
DataReference.
|
boolean |
equals(java.lang.Object obj)
Indicates if this instance is semantically identical to another object.
|
visad.Real |
getPressure()
Returns the pressure property.
|
visad.Field |
getProfile()
Returns the profile-field property.
|
visad.Real |
getRangeValue()
Returns the range-value property.
|
int |
hashCode()
Returns the hash code of this instance.
|
void |
setOriginalProfile()
Resets the vertical profile to the profile of the last setProfile().
|
void |
setPressure(visad.Real pressure)
Sets the pressure property.
|
void |
setProfile(visad.Field field)
Sets the profile field property.
|
protected void |
updateRangeValue()
Updates the range-value.
|
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBAaddAction, cloneForDisplay, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, showme, toStringaddConstantMap, 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, toFrontpublic static final java.lang.String RANGE_VALUE
public static final java.lang.String FIELD
protected Profile(java.lang.String name,
visad.FunctionType funcType)
throws visad.VisADException,
java.rmi.RemoteException
name - The name for the displayable.funcType - The type of the profile function.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.java.lang.ClassCastException - if the range isn't a RealTypeprotected Profile(Profile that) throws java.rmi.RemoteException, visad.VisADException
that - The other instance.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.java.lang.NullPointerException - if the argument is null.public void setProfile(visad.Field field)
throws visad.TypeException,
java.rmi.RemoteException,
visad.VisADException
field - The profile field property.visad.TypeException - Argument has incorrect type.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.java.lang.NullPointerException - if the argument is null.public visad.Field getProfile()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setOriginalProfile()
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 DisplayableDatavisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The other object.true if and only if this instance
is semantically identical to the other object.public int hashCode()
hashCode in class java.lang.Objectpublic void setPressure(visad.Real pressure)
throws visad.TypeException,
java.rmi.RemoteException,
visad.VisADException
pressure - The new value.visad.TypeException - if the pressure has the wrong type.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.java.lang.NullPointerException - if the argument is null.public visad.Real getPressure()
public visad.Real getRangeValue()
public void clear()
protected void updateRangeValue()
throws java.rmi.RemoteException,
visad.VisADException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.java.lang.NullPointerException - if the profile is null.