|
||||||||||
| 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.OmniControl
public class OmniControl
A wrapper around the visad spread sheet cell display
| 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.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 | |
|---|---|
OmniControl()
Default constructor |
|
| Method Summary | |
|---|---|
protected void |
addNewData(List newChoices)
Override base class method which is called when the user has selected new data choices. |
protected Container |
doMakeContents()
Make the gui |
void |
doRemove()
Removes this display control |
String |
getCellName()
Get the name of this cell. |
protected String |
getChangeParameterLabel()
Override superclass method and return the appropriate label. |
String |
getSaveString()
Get the save string name of this cell. |
ScalarMap[] |
getScalarMaps()
Get the set of ScalarMaps used in this display. |
boolean |
init(List choices)
Initialize this with the list of DataChoices. |
void |
initAfterUnPersistence(ControlContext vc,
Hashtable properties)
After the XML unpersistence, initialize the set of ScalarMaps, and control parameters |
protected void |
processNewData(List newChoices)
Override base class method which is called when the user has selected new data choices. |
protected void |
resetData()
Override base class method to just trigger a redisplay of the data. |
void |
setCellName(String name)
Set the name of this cell. |
protected boolean |
setData(List newChoices)
Gets called when the user has selected a new DataChoice. |
void |
setSaveString(String save)
Set the saved string properties |
void |
setScalarMaps(ScalarMap[] maps)
Set the set of ScalarMaps used in this display |
| 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 OmniControl()
| Method Detail |
|---|
public boolean init(List choices)
throws VisADException,
RemoteException
DataChoices.
init in class DisplayControlImplchoices - list of choices for data selection
RemoteException - Java RMI error
VisADException - VisAD Error
public void doRemove()
throws RemoteException,
VisADException
doRemove in interface DisplayControldoRemove in class DisplayControlImplRemoteException
VisADException
protected Container doMakeContents()
throws VisADException,
RemoteException
doMakeContents in class DisplayControlImplRemoteException - On badness
VisADException - On badness
public void initAfterUnPersistence(ControlContext vc,
Hashtable properties)
initAfterUnPersistence in interface DisplayControlinitAfterUnPersistence in class DisplayControlImplvc - control contextproperties - Can hold arbitrary state when unpersistingprotected String getChangeParameterLabel()
getChangeParameterLabel in class DisplayControlImpl
protected boolean setData(List newChoices)
throws VisADException,
RemoteException
This returns whether the data setting was successfull or not.
setData in class DisplayControlImplnewChoices - list of choices
RemoteException - Java RMI error
VisADException - VisAD Error
protected void addNewData(List newChoices)
throws VisADException,
RemoteException
addNewData in class DisplayControlImplnewChoices - list of new data choices
RemoteException - Java RMI error
VisADException - VisAD Error
protected void processNewData(List newChoices)
throws VisADException,
RemoteException
newChoices - list of new data choices
RemoteException - Java RMI error
VisADException - VisAD Error
protected void resetData()
throws VisADException,
RemoteException
resetData in class DisplayControlImplRemoteException - Java RMI error
VisADException - VisAD Errorpublic ScalarMap[] getScalarMaps()
public void setScalarMaps(ScalarMap[] maps)
maps - set of ScalarMaps to usepublic String getCellName()
public void setCellName(String name)
name - cell namepublic String getSaveString()
public void setSaveString(String save)
save - save string properties
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||