|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
ucar.unidata.ui.ChooserPanel
ucar.unidata.idv.chooser.IdvChooser
ucar.unidata.idv.chooser.TimesChooser
ucar.unidata.idv.chooser.adde.AddeChooser
ucar.unidata.idv.chooser.adde.AddeProfilerDataChooser
public class AddeProfilerDataChooser
Selection widget for specifing data sources of NOAA National Profiler Network data. For selecting Profiler data source; user selects ADDE server, profiler station(s), and choice of data interval such as hourly or 6 minute. Metadata about the station (lat, lon. elevation) and about the request is made available by "get" methods.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.idv.chooser.TimesChooser |
|---|
drivercbx, selectedDriver, timesComponents, timesContainer |
| Fields inherited from class ucar.unidata.idv.chooser.IdvChooser |
|---|
ATTR_ID, ATTR_SHOWDETAILS, dirHistoryCbx, ignoreDirHistory, NULL_PROPERTIES, NULL_STRING, PREF_ADDESERVERS, PREF_CATALOGLIST, PREF_DEFAULTDIR, PREF_IMAGEDESCLIST, PREF_POLLINGINFO, PREF_RADARDESCLIST, PREF_TDSPOINTOBSERVER, PREF_TDSRADARSERVER, PROP_CHOOSER_MAPS, PROP_CHOOSER_PROJECTION_BOUNDS, PROP_CHOOSERCLASSNAME, PROP_STATUS_BACKGROUND, PROP_STATUS_FOREGROUND, PROP_STATUS_TEMPLATE, stationMap |
| Fields inherited from class ucar.unidata.ui.ChooserPanel |
|---|
cancelButton, CMD_LOAD, contents, GRID_INSETS, GRID_SPACING, GRID_SPACING_H, GRID_SPACING_V, haveData, helpPath, loadButton, MAP_COLOR, simpleMode, statusLabel |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
AddeProfilerDataChooser(IdvChooserManager mgr,
Element root)
ctor |
|
| Method Summary | |
|---|---|
protected void |
appendMiscKeyValues(StringBuffer buff)
Get any extra key=value pairs that are appended to all requests. |
protected StationLocationMap |
createStationMap()
Overwrite base class method to create the station map with the appropriate properties. |
void |
doLoadInThread()
Get the selection event from the profiler data chooser and process it, creating a ADDE.PROFILER data source |
String |
getDataName()
Tell the AddeChooser our name |
String |
getDataSourceInterval()
Get data source interval (1 hour or 6 min are only possibilities) of actual data available. |
protected ucar.unidata.geoloc.ProjectionRect |
getDefaultProjectionRect()
Overwrite base class method to return the default rectangle for the station map |
protected int |
getDefaultRelativeTimeIndex()
Get the default selected index for the relative times list. |
protected int |
getNumTimesToSelect()
Get the number of times to select |
float |
getRelativeTimeIncrement()
Get the increment between times for relative time requests |
String |
getSelectedInterval()
Get data interval name as "30 minute" by user from this chooser gui. |
String |
getSelectedTimes()
Get String for time "select" item in ADDE data request. |
void |
handleUpdate()
Refresh this chooser. |
protected void |
initStationMap(StationLocationMap stationMap)
Initialize the station map |
void |
readTimes()
Set the list of available times; use adde request to a station to find times of data available now. |
| Methods inherited from class ucar.unidata.idv.chooser.adde.AddeChooser |
|---|
actionPerformed, addServerComp, addTopComponents, addTopComponents, appendKeyValue, canAccessServer, canDoCancel, checkIfServerIsOk, clearOnChange, doConnect, doUpdate, enableWidgets, getConnectButton, getDataSetName, getDataType, getGoodToGo, getGroup, getGroupType, getGroupUrl, getLoadToolTip, getMiscKeyProps, getMiscKeywords, getPort, getServer, getServerSelector, getState, getUrl, handleConnect, handleConnectFromThread, handleConnectionError, handleUnknownDataSetError, handleUpdateFromThread, readGroups, readTextLines, removeGroup, removeServer, saveServerState, setGroups, setState, updateServerList, updateStatus |
| Methods inherited from class ucar.unidata.ui.ChooserPanel |
|---|
addPropertyChangeListener, canDoUpdate, clearWaitCursor, doHelp, doMakeContents, firePropertyChange, getButtonLabels, getDefaultButtons, getHaveData, getLoadCommandName, getMessageTemplate, getSimpleMode, getStatusComponent, getUpdateToolTip, padLabel, registerStatusComp, revalidate, setHaveData, setHelpPath, setMessageTemplate, setStatus, setStatus, showNormalCursor, showWaitCursor |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AddeProfilerDataChooser(IdvChooserManager mgr,
Element root)
mgr - The chooser managerroot - The chooser.xml node| Method Detail |
|---|
public String getDataName()
getDataName in class AddeChooserpublic void readTimes()
readTimes in class AddeChooserprotected int getNumTimesToSelect()
getNumTimesToSelect in class TimesChooser
public void handleUpdate()
throws Exception
handleUpdate in class AddeChooserException - On badnessprotected StationLocationMap createStationMap()
createStationMap in class IdvChooserprotected ucar.unidata.geoloc.ProjectionRect getDefaultProjectionRect()
getDefaultProjectionRect in class IdvChooserprotected void initStationMap(StationLocationMap stationMap)
initStationMap in class IdvChooserstationMap - The station map to initializepublic String getSelectedTimes()
public String getSelectedInterval()
protected int getDefaultRelativeTimeIndex()
getDefaultRelativeTimeIndex in class AddeChooserpublic float getRelativeTimeIncrement()
getRelativeTimeIncrement in class TimesChooserpublic String getDataSourceInterval()
protected void appendMiscKeyValues(StringBuffer buff)
appendMiscKeyValues in class AddeChooserbuff - The buffer to append ontopublic void doLoadInThread()
doLoadInThread in class ChooserPanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||