|
||||||||||
| 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, headerLabel, hodoDisplay, hodoView, soundingTable, soundingView |
| Fields inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, contourWidget, controlContext, ctw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayListTable, displayListUsesColor, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, noteTextArea, noteWrapper, paramName, requestProperties, selectRangeWidget, settingVisibility, sharables, showNoteText, skipSlider, version, viewManagers, ZFUDGE |
| Fields inherited from interface ucar.unidata.view.sounding.AerologicalDisplayConstants |
|---|
EMAGRAM_DISPLAY, HODOGRAPH_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, RASTERMODE_SHOWALL, RASTERMODE_SHOWNONRASTER, RASTERMODE_SHOWRASTER, SIDE_LEGEND |
| Constructor Summary | |
|---|---|
GriddedSoundingControl()
Constructs from nothing. |
|
| Method Summary | |
|---|---|
protected void |
addLabelMacros(String template,
List patterns,
List values)
Add any macro name/value pairs. |
void |
doRemove()
Remove this control. |
protected Set |
getDataTimeSet()
Collect the time animation set from the displayables. |
protected void |
getEditMenuItems(List items,
boolean forMenuBar)
Add the relevant edit menu items into the list |
protected void |
getMacroNames(List names,
List labels)
Add any macro name/label pairs |
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 |
protected void |
updateHeaderLabel()
Update the location label, subclasses can override. |
| Methods inherited from class ucar.unidata.idv.control.DisplayControlBase |
|---|
boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getLabeledReal, getLevelReal, getScreenCenter, getSelectedStation, getTmpProperty, isLeftButtonDown, logException, logException, makeEarthLocation, putTmpProperty, removeTmpProperty, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, 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.idv.DisplayControl |
|---|
getTmpProperty, putTmpProperty, removeTmpProperty |
| Methods inherited from interface ucar.unidata.collab.Sharable |
|---|
getReceiveShareTime, getShareGroup, getSharing, getUniqueId, setReceiveShareTime |
| 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 badness
protected void getMacroNames(List names,
List labels)
getMacroNames in class DisplayControlImplnames - List of macro nameslabels - List of macro labels
protected void addLabelMacros(String template,
List patterns,
List values)
addLabelMacros in class DisplayControlImpltemplate - templatepatterns - The macro namesvalues - The macro valuesprotected void updateHeaderLabel()
updateHeaderLabel in class AerologicalSoundingControl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||