|
||||||||||
| 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.HovmollerControl
public class HovmollerControl
Class description
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
static int |
LAT_DIM
the latitude dimension id |
static int |
LON_DIM
the longitude dimenstion id |
| 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, 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 | |
|---|---|
HovmollerControl()
Default Contructor; sets flags. |
|
| Method Summary | |
|---|---|
protected void |
addDisplaySettings(DisplaySettingsDialog dsd)
Add DisplaySettings appropriate for this display |
void |
addPropertiesComponents(JTabbedPane jtp)
Add tabs to the properties dialog. |
protected void |
applyColor()
If the color is non-null then apply it to the Displayables in the displayables
list that are flagged with the FLAG_COLOR |
void |
applyPreferences()
Apply the preferences. |
protected DisplayableData |
createDataDisplay()
Create the default data display if not showAsContours |
protected void |
displayTSForCoord(FieldImpl fi,
int NN)
Make a 2D display of the range values against domain coordinate # NN. |
boolean |
doApplyProperties()
Apply the properties |
protected void |
doMakeColorScales()
Actually create the color scales. |
protected Container |
doMakeContents()
Make the UI contents for this control window. |
int |
getAverageDimension()
Get the averaging dimension |
String |
getColorWidgetLabel()
Return the label that is to be used for the color widget This allows derived classes to override this and provide their own name, |
void |
getControlWidgets(List controlWidgets)
make widgets for time format and latest data time on bottom of y axis. |
DisplayableData |
getDataDisplay()
Return the Displayable created by createDataDisplay. |
protected int |
getDataDisplayFlags()
Get the attribute flags for the data display |
protected String |
getDefaultDisplayListTemplate()
Get the default display list template for this control. |
HovmollerViewManager |
getHovmollerView()
Get the HovmollerView property. |
boolean |
getReverseTime()
Get reverse times property |
boolean |
getShowAsContours()
Get whether the display is an image or contours. |
String |
getTimeFormat()
Get the time format |
protected void |
getViewMenuItems(List items,
boolean forMenuBar)
Add items to the command menu. |
boolean |
init(DataChoice dataChoice)
Construct the display, frame, and controls |
void |
initDone()
Called after init(). |
void |
loadData()
Load the data into the display |
void |
setAverageDimension(int dim)
Set the averaging dimension |
protected boolean |
setData(DataChoice dataChoice)
User has asked to see a different new parameter in this existing display. |
void |
setHovmollerView(HovmollerViewManager value)
Set the HovmollerView property. |
void |
setReverseTime(boolean yesorno)
Set reverse times |
void |
setShowAsContours(boolean yesorno)
Get whether the display is shown as contours. |
void |
setTimeFormat(String format)
Set the time format |
void |
viewManagerChanged(String property)
Method called when the view changes. |
| 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 final int LON_DIM
public static final int LAT_DIM
| Constructor Detail |
|---|
public HovmollerControl()
| Method Detail |
|---|
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class DisplayControlImpldataChoice - the data to use
RemoteException - Java RMI error
VisADException - VisAD Errorprotected int getDataDisplayFlags()
protected DisplayableData createDataDisplay()
throws VisADException,
RemoteException
RemoteException - Java RMI error
VisADException - VisAD Errorpublic DisplayableData getDataDisplay()
Displayable created by createDataDisplay.
DisplayableData
protected boolean setData(DataChoice dataChoice)
throws VisADException,
RemoteException
setData in class DisplayControlImpldataChoice - choice for data
RemoteException - Java RMI error
VisADException - VisAD Error
public void loadData()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.public void initDone()
initDone in class DisplayControlImpl
protected void displayTSForCoord(FieldImpl fi,
int NN)
throws VisADException,
RemoteException
fi - a VisAD FlatField or seqence of FlatFields with 3 or more
domain coordinates, manifold dimension 1.NN - an integer, the index number of the coordinate to use
as profile or y axis of plot (0,1,2,...)
RemoteException - Java RMI error
VisADException - VisAD Errorprotected void addDisplaySettings(DisplaySettingsDialog dsd)
addDisplaySettings in class DisplayControlImpldsd - the dialog to add topublic String getColorWidgetLabel()
getColorWidgetLabel in class DisplayControlImplprotected String getDefaultDisplayListTemplate()
getDefaultDisplayListTemplate in class DisplayControlImpl
protected Container doMakeContents()
throws VisADException,
RemoteException
doMakeContents in class DisplayControlImplRemoteException - Java RMI error
VisADException - VisAD Errorpublic void viewManagerChanged(String property)
viewManagerChanged in interface DisplayControlviewManagerChanged in class DisplayControlImplproperty - The property that changed
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class DisplayControlImplcontrolWidgets - to fill
RemoteException - Java RMI error
VisADException - VisAD Error
protected void applyColor()
throws VisADException,
RemoteException
Displayables in the displayables
list that are flagged with the FLAG_COLOR
applyColor in class DisplayControlImplRemoteException
VisADException
protected void getViewMenuItems(List items,
boolean forMenuBar)
getViewMenuItems in class DisplayControlImplitems - menu to add to.forMenuBar - whether for menu bar (true) or popup (false)
protected void doMakeColorScales()
throws VisADException,
RemoteException
doMakeColorScales in class DisplayControlImplRemoteException
VisADExceptionpublic void addPropertiesComponents(JTabbedPane jtp)
addPropertiesComponents in class DisplayControlImpljtp - the JTabbedPane to add topublic boolean doApplyProperties()
doApplyProperties in class DisplayControlImplpublic void applyPreferences()
applyPreferences in interface DisplayControlapplyPreferences in class DisplayControlImplpublic void setShowAsContours(boolean yesorno)
yesorno - true if want contours instead of an image.public boolean getShowAsContours()
true if contours display, false if imagepublic void setAverageDimension(int dim)
dim - the dimension (LAT_DIM, LON_DIM)public int getAverageDimension()
public void setTimeFormat(String format)
format - time formatpublic String getTimeFormat()
public void setReverseTime(boolean yesorno)
yesorno - true to go oldest to youngestpublic boolean getReverseTime()
public void setHovmollerView(HovmollerViewManager value)
value - The new value for HovmollerViewpublic HovmollerViewManager getHovmollerView()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||