|
||||||||||
| 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.ContourPlanViewControl
public class ContourPlanViewControl
A control for displaying gridded data as 2D contours.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.PlanViewControl |
|---|
PlanViewControl.VerticalRangeWidget |
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.idv.control.PlanViewControl |
|---|
currentLevel, currentLevels, currentSlice, datachoice, haveEnsemble, 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, 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.idv.DisplayControl |
|---|
BOTTOM_LEGEND, DEFAULT_PROBEFORMAT, DOTIMEDRIVER, 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 | |
|---|---|
ContourPlanViewControl()
Create a new ContourPlanViewControl setting the
attribute flags as appropriate. |
|
| Method Summary | |
|---|---|
protected void |
applySmoothing()
Use the value of the smoothing type and weight to subset the data. |
protected DisplayableData |
createPlanDisplay()
Method to create the particular DisplayableData that
this this instance uses for data depictions. |
boolean |
getColorByMember()
Get the color by ensemble member property |
boolean |
getColorFill()
Get whether this display should use color filled contours. |
protected String |
getColorParamName()
Get the parameter name for color. |
protected Unit |
getColorUnit()
If ensemble, return null, otherwise return the default |
ContourInfo |
getContourInfo()
Get the contour info. |
void |
getControlWidgets(List controlWidgets)
Add in any special control widgets to the current list of widgets. |
protected ContourInfo |
getDefaultContourInfo()
Get the default contour info |
boolean |
getIsRaster()
Is this a raster display? |
protected boolean |
haveMultipleFields()
Return whether the Data held by this display control contains multiple fields (e.g., for the isosurface colored by another parameter |
protected void |
initializeDefaultContourInfo(ContourInfo contourInfo)
A hook for derived classes to set any state. |
void |
projectionChanged()
Do what is needed when projection changes |
void |
setColorByMember(boolean yesorno)
Set the color by ensemble member property |
void |
setColorFill(boolean v)
Set whether this display should use color filled contours. |
protected boolean |
setData(DataChoice data)
Set the data displayed by this control |
| Methods inherited from class ucar.unidata.idv.control.GridDisplayControl |
|---|
actionPerformed, addTopographyMap, convertColorRange, doMakeContourLevelControl, doMakeDataInstance, doMakeLevelControl, doMakeLevelControl, exportDisplayedData, getColorRangeFromData, getDataProjection, getDataRangeInColorUnits, getDisplayUnit, getGridDataInstance, getInitialColorTable, getInitialRange, getRawDataUnit, isDisplayUnitAlsoColorUnit, setLevel |
| 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 ContourPlanViewControl()
ContourPlanViewControl setting the
attribute flags as appropriate.
| Method Detail |
|---|
protected DisplayableData createPlanDisplay()
throws VisADException,
RemoteException
DisplayableData that
this this instance uses for data depictions.
createPlanDisplay in class PlanViewControlRemoteException
VisADExceptionpublic boolean getColorFill()
public ContourInfo getContourInfo()
getContourInfo in class GridDisplayControlprotected ContourInfo getDefaultContourInfo()
getDefaultContourInfo in class GridDisplayControlpublic boolean getIsRaster()
getIsRaster in class DisplayControlImplprotected void initializeDefaultContourInfo(ContourInfo contourInfo)
initializeDefaultContourInfo in class GridDisplayControlcontourInfo - The contour info to initializepublic void projectionChanged()
projectionChanged in interface DisplayControlprojectionChanged in class PlanViewControlpublic void setColorFill(boolean v)
v - true if color fill should be used.
protected boolean setData(DataChoice data)
throws VisADException,
RemoteException
setData in class PlanViewControldata - DataChoice representing the data
VisADException - error creating data
RemoteException - error creating remote dataprotected boolean haveMultipleFields()
haveMultipleFields in class PlanViewControl
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class PlanViewControlcontrolWidgets - list of control widgets
VisADException - VisAD error
RemoteException - RMI error
protected void applySmoothing()
throws VisADException,
RemoteException
applySmoothing in class PlanViewControlRemoteException - Java RMI problem
VisADException - VisAD problemprotected String getColorParamName()
getColorParamName in class GridDisplayControlpublic void setColorByMember(boolean yesorno)
yesorno - true to color by ensemble memberpublic boolean getColorByMember()
protected Unit getColorUnit()
getColorUnit in class GridDisplayControl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||