|
||||||||||
| 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.TopographyControl
public class TopographyControl
A Display Control with Displayable and controls for one 3D isosurface display of topography.
| 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.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 | |
|---|---|
TopographyControl()
Construct a new topography control. |
|
| Method Summary | |
|---|---|
void |
getControlWidgets(List controlWidgets)
Get any special control widgets for this control. |
protected Grid2DDisplayable |
getGridDisplay()
Get the main DisplayableData used for depicting this
data as a Grid2DDisplayable. |
float |
getPointSize()
Get the size of points for this display |
int |
getPolygonMode()
Return the type of depiction for this display |
boolean |
getSmoothed()
Return whether the display should show smoothed shading or not. |
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 |
projectionChanged()
Method to call if projection changes. |
protected boolean |
setData(DataChoice choice)
Set the data in the depiction based on the choice |
void |
setPointSize(float v)
Set the size of points if this is displayed as points |
void |
setPolygonMode(int v)
Set the type of depiction (solid, line, mesh) for this display |
void |
setSmoothed(boolean v)
Set whether the display should show smoothed shading or not. |
| 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 TopographyControl()
| Method Detail |
|---|
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class DisplayControlImpldataChoice - the DataChoice of the moment.
VisADException - couldn't create the depictor or set data
RemoteException - couldn't create the depictor or set data
protected boolean setData(DataChoice choice)
throws VisADException,
RemoteException
choice
setData in class DisplayControlImplchoice - DataChoice that describes the data to be depicted.
VisADException - couldn't set the data
RemoteException - couldn't set the datapublic void projectionChanged()
projectionChanged in interface DisplayControlprojectionChanged in class DisplayControlImpl
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class DisplayControlImplcontrolWidgets - input/ouput list of widgets
VisADException - couldn't set the data
RemoteException - couldn't set the dataprotected Grid2DDisplayable getGridDisplay()
DisplayableData used for depicting this
data as a Grid2DDisplayable.
public void setSmoothed(boolean v)
v - true if shading is to be smoothed. Used by XML persistence.public boolean getSmoothed()
public void setPolygonMode(int v)
v - polygon mode. Used by XML persistence.public int getPolygonMode()
public void setPointSize(float v)
v - point size. Used by XML persistence.public float getPointSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||