|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.idv.control.DisplayControlBase
ucar.unidata.idv.control.DisplayControlImpl
ucar.unidata.idv.control.AerologicalSoundingControl
ucar.unidata.idv.control.GriddedSoundingControl
public class GriddedSoundingControl
Creates an aerological sounding diagram for soundings. Adds a line probe to the main display and uses its position to interpolate the data.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.idv.control.AerologicalSoundingControl |
|---|
aeroDisplay, hodoDisplay, soundingView |
| Fields inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, controlContext, ctw, cw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayListTable, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, noteTextArea, noteWrapper, paramName, requestProperties, settingVisibility, sharables, showNoteText, skipSlider, srw, version, viewManagers |
| Fields inherited from interface ucar.unidata.view.sounding.AerologicalDisplayConstants |
|---|
EMAGRAM_DISPLAY, SKEWT_DISPLAY, STUVE_DISPLAY |
| Fields inherited from interface ucar.unidata.idv.DisplayControl |
|---|
BOTTOM_LEGEND, DEFAULT_PROBEFORMAT, PREF_PREFIX, PREF_PROBEFORMAT, PREF_REMOVEONWINDOWCLOSE, PREF_SAMPLING_MODE, PREF_STANDALONE_REMOVEONCLOSE, PREF_STANDALONE_REMOVEONCLOSE_ASK, PROP_LEGENDICON, SIDE_LEGEND |
| Constructor Summary | |
|---|---|
GriddedSoundingControl()
Constructs from nothing. |
|
| Method Summary | |
|---|---|
void |
doRemove()
Remove this control. |
protected Set |
getDataTimeSet()
Collect the time animation set from the displayables. |
protected Data |
getDisplayListData()
Add the data to the in display legend |
protected void |
getEditMenuItems(List items,
boolean forMenuBar)
Add the relevant edit menu items into the list |
RealTuple |
getPosition()
Returns the horizontal position of the probe or null if the
probe's position is indeterminate. |
protected String |
getSpatialLociLabel()
Override the base class method to return the relevant name |
boolean |
init(DataChoice dataChoice)
Constructs the vertical profile display and control buttons |
void |
initDone()
Called by the parent class after all initialization has been done. |
void |
probeMoved(RealTuple pos)
Handles internal consequences of a change to the probe position. |
void |
receiveShareData(Sharable from,
Object dataId,
Object[] data)
Receive shared-data updates. |
void |
setPosition(RealTuple p)
Sets the horizontal position of the probe. |
protected void |
timeChanged(Real time)
Respond to a timeChange event |
| Methods inherited from class ucar.unidata.idv.control.DisplayControlBase |
|---|
boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getScreenCenter, getSelectedStation, isLeftButtonDown, logException, logException, makeEarthLocation, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.collab.Sharable |
|---|
getShareGroup, getSharing, getUniqueId |
| Constructor Detail |
|---|
public GriddedSoundingControl()
throws VisADException,
RemoteException
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.| Method Detail |
|---|
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class DisplayControlImpldataChoice - The data for this instance.
true if and only if this instance
was correctly initialized.
VisADException - couldn't create a VisAD object needed
RemoteException - couldn't create a remote object neededpublic void initDone()
initDone in class DisplayControlImpl
public void doRemove()
throws VisADException,
RemoteException
doRemove in interface DisplayControldoRemove in class AerologicalSoundingControlRemoteException
VisADException
protected void getEditMenuItems(List items,
boolean forMenuBar)
getEditMenuItems in class AerologicalSoundingControlitems - List of menu itemsforMenuBar - Is this for the menu in the window's menu bar or
for a popup menu in the legendprotected void timeChanged(Real time)
timeChanged in class DisplayControlImpltime - new timeprotected String getSpatialLociLabel()
getSpatialLociLabel in class AerologicalSoundingControl
public void setPosition(RealTuple p)
throws VisADException,
RemoteException
p - The horizontal position of the probe.
VisADException - if p.getType() isn't RealTupleType.SpatialCartesian2DTuple
or if another VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
public RealTuple getPosition()
throws VisADException,
RemoteException
null if the
probe's position is indeterminate.
null . The MathType
of a non-null returned object is
RealTupleType.SpatialCartesian2DTuple.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
public void receiveShareData(Sharable from,
Object dataId,
Object[] data)
receiveShareData in interface SharablereceiveShareData in class DisplayControlImplfrom - The Sharable
object from which this event originates.dataId - The shared data identifier.data - The shared data.public void probeMoved(RealTuple pos)
pos - The probe's new position.
protected Set getDataTimeSet()
throws RemoteException,
VisADException
getDataTimeSet in class DisplayControlImplRemoteException - On badness
VisADException - On badnessprotected Data getDisplayListData()
getDisplayListData in class DisplayControlImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||