|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.DisplayMaster
ucar.unidata.view.sounding.WindProfileDisplay
ucar.unidata.view.sounding.WindStaffDisplay
public class WindStaffDisplay
Provides support for a display comprising a wind staff.
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.view.sounding.WindProfileDisplay |
|---|
ACTIVE_MEAN_WIND, ACTIVE_PROFILE, GEOPOTENTIAL_ALTITUDE, PROFILE_DIRECTION, PROFILE_SPEED |
| Fields inherited from class ucar.visad.display.DisplayMaster |
|---|
behavior, defaultMouseFunctions, log_, POINT_MODE |
| Constructor Summary | |
|---|---|
WindStaffDisplay()
Constructs from nothing. |
|
WindStaffDisplay(Real minZ,
Real maxZ)
Constructs with a given altitude extent. |
|
| Method Summary | |
|---|---|
protected void |
addScalarMaps()
Adds the set of ScalarMap-s specific to this instance. |
protected void |
displayAltitudeExtentChange()
Handles a change to the displayed altitude extent |
static void |
main(String[] args)
Tests this class. |
protected Displayable |
newMeanWind()
Returns the MeanWind Displayable with a missing mean-wind. |
protected Displayable |
newMeanWind(DataReference meanWindRef)
Returns a MeanWind Displayable corresponding to a data reference for a mean-wind Tuple. |
protected Displayable |
newMeanWind(Tuple meanWind)
Returns a MeanWind Displayable corresponding to a mean-wind Tuple. |
protected WindProfile |
newWindProfile()
Returns the displayable WindProfile appropriate to this instance. |
void |
setBackgroundVisible(boolean visable)
Display or hide the background |
protected void |
setCenterPoleExtent()
Sets the extent of the center pole. |
void |
setCenterPoleVisible(boolean visible)
Sets the visibility of the center pole. |
protected void |
setCursorPosition(double[] position)
Sets the cursor position. |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WindStaffDisplay()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public WindStaffDisplay(Real minZ,
Real maxZ)
throws VisADException,
RemoteException
minZ - The minimum geopotential altitude.maxZ - The maximum geopotential altitude.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
protected WindProfile newWindProfile()
throws VisADException,
RemoteException
WindProfile appropriate to this instance.
This is a template method.
newWindProfile in class WindProfileDisplayVisADException - if a core VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
protected void addScalarMaps()
throws VisADException
VisADException - VisAD failure.
protected void displayAltitudeExtentChange()
throws VisADException,
RemoteException
displayAltitudeExtentChange in class WindProfileDisplayVisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void setCenterPoleExtent()
throws RemoteException,
VisADException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void setCursorPosition(double[] position)
throws VisADException,
RemoteException
setCursorPosition in class WindProfileDisplayposition - The cursor position.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setBackgroundVisible(boolean visable)
throws VisADException,
RemoteException
setBackgroundVisible in class WindProfileDisplayvisable - Display background if true, otherwise hide the
background
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setCenterPoleVisible(boolean visible)
throws VisADException,
RemoteException
visible - Whether or not the center pole should be
visible.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected Displayable newMeanWind(Tuple meanWind)
throws VisADException,
RemoteException
newMeanWind in class WindProfileDisplaymeanWind - the mean-wind Tuple
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected Displayable newMeanWind(DataReference meanWindRef)
throws VisADException,
RemoteException
newMeanWind in class WindProfileDisplaymeanWindRef - The data reference for the mean-wind Tuple.
VisADException - VisAD failure.
RemoteException - Java RMI failure.protected Displayable newMeanWind()
newMeanWind in class WindProfileDisplay
public static void main(String[] args)
throws Exception
args - Test arguments. Ignored.
Exception - Something went wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||