|
||||||||||
| 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.ObsListControl
public class ObsListControl
A DisplayControl for station models
| 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 | |
|---|---|
static boolean |
debug
debug_ |
| Fields inherited from class ucar.unidata.idv.control.ObsDisplayControl |
|---|
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 | |
|---|---|
ObsListControl()
Default ctor |
|
| Method Summary | |
|---|---|
void |
doExport(String what,
String filename)
Called by ISL. |
protected Container |
doMakeContents()
Make the UI contents for this control. |
void |
exportTable()
Export table as csv |
protected void |
fieldSelectorChanged()
Handle when the value in the column field has changed. |
protected void |
getSaveMenuItems(List items,
boolean forMenuBar)
Add the relevant file menu items into the list |
protected TupleType |
getTupleType()
Provide to the base class the type of the obs |
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). |
protected void |
loadData()
Load data into the Displayable. |
protected boolean |
setData(DataChoice choice)
Set the data for this instance from the choice supplied. |
protected void |
timeDeclutterChanged()
Handle when the time declutering state has changed |
| 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 |
| Field Detail |
|---|
public static boolean debug
| Constructor Detail |
|---|
public ObsListControl()
| Method Detail |
|---|
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class DisplayControlImpldataChoice - the DataChoice of the moment.
VisADException - some problem creating a VisAD object
RemoteException - some problem creating a remote VisAD object
protected boolean setData(DataChoice choice)
throws VisADException,
RemoteException
setData in class DisplayControlImplchoice - DataChoice that describes the data to
be loaded.
VisADException - some problem creating a VisAD object
RemoteException - some problem creating a remote VisAD objectDisplayControlImpl.setData(DataChoice)
protected Container doMakeContents()
throws VisADException,
RemoteException
doMakeContents in class DisplayControlImplRemoteException - Java RMI error
VisADException - VisAD Errorprotected void timeDeclutterChanged()
timeDeclutterChanged in class ObsDisplayControl
protected TupleType getTupleType()
throws RemoteException,
VisADException
getTupleType in class ObsDisplayControlRemoteException - When bad things happen
VisADException - When bad things happenprotected void fieldSelectorChanged()
fieldSelectorChanged in class ObsDisplayControlprotected void loadData()
Displayable. This is called from
setData(DataChoice) and whenever the projection changes.
Subclasses should override this to do whatever they need to.
This implementation uses a
PointDataInstance
to manager the data.
ObsDisplayControl.doMakeDataInstance(DataChoice)
protected void getSaveMenuItems(List items,
boolean forMenuBar)
getSaveMenuItems in class DisplayControlImplitems - List of menu itemsforMenuBar - Is this for the menu in the window's menu bar or
for a popup menu in the legendpublic void exportTable()
public void doExport(String what,
String filename)
throws Exception
doExport in class DisplayControlImplwhat - What is to be written outfilename - To what file
Exception - problem exporting
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||