|
||||||||||
| 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.PlanViewControl
ucar.unidata.idv.control.ColorPlanViewControl
ucar.unidata.idv.control.RadarSweepControl
public class RadarSweepControl
Class for making and controlling the display of color shaded plots of WSR-88D Level II radar sweeps in 2D or in 3D.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
static String |
SHARE_ANGLE
property for sharing angles |
| Fields inherited from class ucar.unidata.idv.control.PlanViewControl |
|---|
currentLevel, currentLevels, currentSlice, datachoice, levelReadout, MACRO_LEVEL, SHARE_LEVEL |
| 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 | |
|---|---|
RadarSweepControl()
Default constructor. |
|
| Method Summary | |
|---|---|
protected DisplayableData |
createPlanDisplay()
Method to create the particular DisplayableData that
this this instance uses for data depictions. |
protected DataInstance |
doMakeDataInstance(DataChoice dataChoice)
Override the super class to set the initial level |
boolean |
getAllowSmoothing()
Get whether we can smooth this display |
void |
getControlWidgets(List controlWidgets)
If we have a volume then we'll add in an angles choosing combobox. |
protected String |
getDataProjectionLabel()
Get the data projection label |
void |
getLegendLabels(List labels,
int legendType)
Override the base class method to include the station name, param type, and the elevation angle This is used to label the display legend and the gui box title |
String |
getLevelsLabel()
Get the label for the levels box. |
protected Hashtable |
getRequestProperties()
Override the base class method that creates request properties and add in the appropriate 2d/3d request parameter. |
boolean |
getUse3D()
Get the Use3D property. |
boolean |
init(DataChoice dataChoice)
Call to help make this kind of Display Control; also calls code to made the Displayable (empty of data thus far). |
void |
receiveShareData(Sharable from,
Object dataId,
Object[] data)
Method called by other classes that share the selector. |
void |
setCurrentAngle(double value)
Set the CurrentAngle property. |
protected boolean |
setData(DataChoice choice)
Set the data in the control. |
void |
setUse3D(boolean value)
Set the Use3D property. |
protected boolean |
shouldShowZSelector()
Dont show the z selector |
protected boolean |
shouldUseZPosition()
Overwrite base class method to determine if the display and gui should have a Z position. |
| Methods inherited from class ucar.unidata.idv.control.ColorPlanViewControl |
|---|
getSmoothed, setAllowSmoothing, setSmoothed |
| 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_ANGLE
| Constructor Detail |
|---|
public RadarSweepControl()
| Method Detail |
|---|
protected boolean setData(DataChoice choice)
throws VisADException,
RemoteException
setData in class PlanViewControlchoice - data choice description
RemoteException - Java RMI error
VisADException - VisAD Error
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class PlanViewControldataChoice - the DataChoice of the moment.
RemoteException - Java RMI error
VisADException - VisAD Errorprotected Hashtable getRequestProperties()
getRequestProperties in class DisplayControlImpl
protected DisplayableData createPlanDisplay()
throws VisADException,
RemoteException
DisplayableData that
this this instance uses for data depictions.
createPlanDisplay in class ColorPlanViewControlVisADException - VisAD error
RemoteException - RMI error
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class ColorPlanViewControlcontrolWidgets - list of control widgets
VisADException - VisAD error
RemoteException - RMI error
public void receiveShareData(Sharable from,
Object dataId,
Object[] data)
receiveShareData in interface SharablereceiveShareData in class PlanViewControlfrom - other class.dataId - type of sharingdata - Array of data being shared. In this case, the first
(and only?) object in the array is the levelprotected boolean shouldUseZPosition()
shouldUseZPosition in class PlanViewControl
public void getLegendLabels(List labels,
int legendType)
getLegendLabels in class PlanViewControllabels - List to add labels tolegendType - The type of legend, BOTTOM_LEGEND or SIDE_LEGEND
protected DataInstance doMakeDataInstance(DataChoice dataChoice)
throws RemoteException,
VisADException
doMakeDataInstance in class PlanViewControldataChoice - the data choice to use
RemoteException - Java RMI problem
VisADException - unable to create the VisAD objectprotected boolean shouldShowZSelector()
shouldShowZSelector in class PlanViewControlpublic void setUse3D(boolean value)
value - The new value for Use3Dpublic boolean getUse3D()
public void setCurrentAngle(double value)
value - The new value for CurrentAnglepublic boolean getAllowSmoothing()
getAllowSmoothing in class ColorPlanViewControlpublic String getLevelsLabel()
getLevelsLabel in class PlanViewControlprotected String getDataProjectionLabel()
getDataProjectionLabel in class PlanViewControl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||