|
||||||||||
| 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.ObsDisplayControl
ucar.unidata.idv.control.StationModelControl
ucar.unidata.idv.control.StationLocationControl
ucar.unidata.idv.control.WorldWindControl
public class WorldWindControl
Class to display a set of locations
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.ObsDisplayControl |
|---|
ObsDisplayControl.RealWrapper |
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.idv.control.StationModelControl |
|---|
currentStationData, densityComps, filters, lastDeclutteredData, layoutModelWidget, lockIcon, stationsLocked, timeDeclutterComps, unlockIcon, zPositionPanel |
| Fields inherited from class ucar.unidata.idv.control.ObsDisplayControl |
|---|
colNames, colString, FIELD_ALL, format, LABEL_ALT, LABEL_LAT, LABEL_LON, LABEL_TIME |
| 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, 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 | |
|---|---|
WorldWindControl()
Default cstr; |
|
| Method Summary | |
|---|---|
protected void |
doMakeStationListPanel(List comps)
Override base class method to make the station list panel |
boolean |
getLayerOn(ucar.unidata.idv.control.WorldWindControl.Layer layer)
Is the layer visibile |
Hashtable |
getLayerVisibility()
set of visible layers |
boolean |
getOnlyShowVisible()
Get the OnlyShowVisible property. |
protected void |
getSaveMenuItems(List items,
boolean forMenuBar)
Add the relevant file menu items into the list |
protected List |
getStationList()
Get the station List. |
protected void |
getViewMenuItems(List items,
boolean forMenuBar)
Add the view menu items |
boolean |
init(DataChoice dataChoice)
Called to make this kind of Display Control; also calls code to made the Displayable. |
void |
loadData()
Loads the data into the StationModelDisplayable. |
void |
saveLocations()
Write out the current list of locations as a stations xml file |
void |
setLayerOn(boolean b,
ucar.unidata.idv.control.WorldWindControl.Layer layer)
set visibility of the layer |
void |
setLayerVisibility(Hashtable v)
set of visible layers |
void |
setOnlyShowVisible(boolean value)
Set the OnlyShowVisible property. |
| Methods inherited from class ucar.unidata.idv.control.ObsDisplayControl |
|---|
applyPreferences, doDeclutterTime, doMakeFieldSelector, doMakeShowRawSelector, exportAsNetcdf, getColString, getColValue, getColValue, getDisplayUnit, getDisplayUnitName, getFieldsToShow, getIndex, getIndicesToShow, getParamLabel, getShowDataRaw, getTimeDeclutterComps, getTimeDeclutterEnabled, getTimeDeclutterMinutes, isIdParam, setColString, setShowDataRaw, setTimeDeclutterEnabled, setTimeDeclutterMinutes, showFieldSelector |
| 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 WorldWindControl()
| Method Detail |
|---|
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class StationLocationControldataChoice - the DataChoice of the moment -
VisADException - there was a VisAD error
RemoteException - there was a remote errorpublic void loadData()
StationModelDisplayable.
Declutters the stations if necessary.
loadData in class StationLocationControlObsDisplayControl.doMakeDataInstance(DataChoice)protected void doMakeStationListPanel(List comps)
comps - Holds the components to put in the gui
public void setLayerOn(boolean b,
ucar.unidata.idv.control.WorldWindControl.Layer layer)
b - on or offlayer - the layer_public boolean getLayerOn(ucar.unidata.idv.control.WorldWindControl.Layer layer)
layer - The layer
protected void getSaveMenuItems(List items,
boolean forMenuBar)
getSaveMenuItems in class StationLocationControlitems - List of menu itemsforMenuBar - Is this for the menu in the window's menu bar or
for a popup menu in the legend
protected void getViewMenuItems(List items,
boolean forMenuBar)
getViewMenuItems in class StationLocationControlitems - List of itemsforMenuBar - for menubarpublic void saveLocations()
protected List getStationList()
getStationList in class StationLocationControlpublic Hashtable getLayerVisibility()
public void setLayerVisibility(Hashtable v)
v - set of visible layerspublic void setOnlyShowVisible(boolean value)
value - The new value for OnlyShowVisiblepublic boolean getOnlyShowVisible()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||