|
||||||||||
| 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.Profile
public abstract class Profile
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 | |
|---|---|
static String |
FIELD
The name of the profile-field property. |
static String |
RANGE_VALUE
The name of the range-value 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 | |
|---|---|
protected |
Profile(Profile that)
Constructs from another instance. |
protected |
Profile(String name,
FunctionType funcType)
Constructs from a name for the displayable and a function type. |
| Method Summary | |
|---|---|
void |
clear()
Clears the profile-field. |
protected void |
dataChange()
Handles a change to the data referenced by this instances's DataReference. |
boolean |
equals(Object obj)
Indicates if this instance is semantically identical to another object. |
Real |
getPressure()
Returns the pressure property. |
Field |
getProfile()
Returns the profile-field property. |
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(Real pressure)
Sets the pressure property. |
void |
setProfile(Field field)
Sets the profile field property. |
protected void |
updateRangeValue()
Updates the range-value. |
| 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, 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, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String RANGE_VALUE
public static final String FIELD
| Constructor Detail |
|---|
protected Profile(String name,
FunctionType funcType)
throws VisADException,
RemoteException
name - The name for the displayable.funcType - The type of the profile function.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
ClassCastException - if the range isn't a RealType
protected Profile(Profile that)
throws RemoteException,
VisADException
that - The other instance.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
NullPointerException - if the argument is null.| Method Detail |
|---|
public void setProfile(Field field)
throws TypeException,
RemoteException,
VisADException
field - The profile field property.
TypeException - Argument has incorrect type.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
NullPointerException - if the argument is null.
public Field getProfile()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setOriginalProfile()
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 semantically identical to the other object.public int hashCode()
hashCode in class Object
public void setPressure(Real pressure)
throws TypeException,
RemoteException,
VisADException
pressure - The new value.
TypeException - if the pressure has the wrong type.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
NullPointerException - if the argument is null.public Real getPressure()
public Real getRangeValue()
public void clear()
protected void updateRangeValue()
throws RemoteException,
VisADException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
NullPointerException - if the profile is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||