|
||||||||||
| 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.GridDisplayControl
ucar.unidata.idv.control.ColorRadarVolumeControl
public class ColorRadarVolumeControl
Class to make controls and displays for WS-88D level II data showing all values for one parm from a full volume scan (one data file) as pixels in 3d space above the Earth.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
static String |
RADAR_VOLUME
property for radar volume |
static String |
SHARE_VOLUME
sharing property for volume |
| Fields inherited from class ucar.unidata.idv.control.GridDisplayControl |
|---|
CMD_CONTOURDIALOG, CMD_SETLEVELS, gridDataInstance, INITIAL_PROBE_EARTHLOCATION, log_, settingLevel |
| 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.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 | |
|---|---|
ColorRadarVolumeControl()
Default constructor. |
|
| Method Summary | |
|---|---|
protected DisplayableData |
createMainDisplay()
Create the DisplayableData that will be used
to depict the data in the main display. |
Container |
doMakeContents()
Used in making control window. |
void |
getControlWidgets(List controlWidgets)
Add any specialized control widgets for this control to the list. |
GridDisplayable |
getGridDisplayable()
Get the GridDisplayable used for setting the
data. |
DisplayableData |
getMainDisplay()
Get the DisplayableData used for depicting
data in the main display. |
protected Hashtable |
getRequestProperties()
Get (and make if necessary) the requester Hastable of properties that is carried along with the data instance; this one tells Level2Adapter to call the getVolume method. |
boolean |
init(DataChoice dataChoice)
Basic constructor-like actions; returns false if setData fails |
void |
receiveShareData(Sharable from,
Object dataId,
Object[] data)
reset the display with this data gotten by sharing |
protected boolean |
setData(DataChoice dataChoice)
Called by the init(datachoice) method. |
void |
setLabelFromData()
Called after all initialization is finished. |
protected void |
setRequestProperties()
Make the requester Hastable of properties that is carried along with the data instance; this one tells Level2Adapter to call the getVolume method. |
| 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 |
| Field Detail |
|---|
public static final String SHARE_VOLUME
public static final String RADAR_VOLUME
| Constructor Detail |
|---|
public ColorRadarVolumeControl()
| Method Detail |
|---|
protected DisplayableData createMainDisplay()
throws VisADException,
RemoteException
DisplayableData that will be used
to depict the data in the main display.
VisADException - unable to create depictor
RemoteException - unable to create depictor (shouldn't happen)public GridDisplayable getGridDisplayable()
GridDisplayable used for setting the
data.
GridDisplayablepublic DisplayableData getMainDisplay()
DisplayableData used for depicting
data in the main display.
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class DisplayControlImpldataChoice - data choice for selection
RemoteException - Java RMI error
VisADException - VisAD errorpublic void setLabelFromData()
public Container doMakeContents()
doMakeContents in class DisplayControlImpl
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class DisplayControlImplcontrolWidgets - List to add to.
VisADException - unable to create controls
RemoteException - unable to create controls (shouldn't happen)protected Hashtable getRequestProperties()
getRequestProperties in class DisplayControlImplprotected void setRequestProperties()
protected boolean setData(DataChoice dataChoice)
throws VisADException,
RemoteException
setData in class DisplayControlImpldataChoice - choice for the data
RemoteException - Java RMI error
VisADException - VisAD error
public void receiveShareData(Sharable from,
Object dataId,
Object[] data)
receiveShareData in interface SharablereceiveShareData in class DisplayControlImplfrom - object that is sharing datadataId - id for shareable datadata - the data being shared
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||