|
||||||||||
| 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.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.idv.chooser.adde.AddeChooser |
|---|
CMD_CONNECT, DATA_NAME_KEY, DATASET_NAME_KEY, DEFAULT_COMPRESS, DEFAULT_DEBUG, DEFAULT_PORT, DEFAULT_PROJ, DEFAULT_USER, DEFAULT_VERSION, FILE_PUBLICSRV, groupSelector, ignoreStateChangedEvents, LABEL_DATAINTERVAL, LABEL_DATASET, LABEL_DATATYPE, LABEL_SERVER, LABEL_STATIONS, LABEL_TIMES, MSG_TIMES, NEW_SELECTION, passwords, PROP_COMPRESS, PROP_CYD, PROP_DATANAME, PROP_DAY, PROP_DEBUG, PROP_DESCR, PROP_FILE, PROP_GROUP, PROP_HMS, PROP_NUM, PROP_PARAM, PROP_PORT, PROP_POS, PROP_PROJ, PROP_SELECT, PROP_TIME, PROP_USER, PROP_VERSION, REQ_DATASETINFO, REQ_IMAGEDATA, REQ_IMAGEDIR, REQ_POINTDATA, REQ_TEXT, serverTimeStamp, STATE_CONNECTED, STATE_CONNECTING, STATE_UNCONNECTED, STATUS_ERROR, STATUS_NEEDSLOGIN, STATUS_OK, WIDGET_MUTEX |
| Fields inherited from class ucar.unidata.idv.chooser.TimesChooser |
|---|
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_TDSRADARSERVER, PROP_CHOOSER_MAPS, PROP_CHOOSER_PROJECTION_BOUNDS, stationMap |
| Fields inherited from class ucar.unidata.ui.ChooserPanel |
|---|
cancelButton, CMD_LOAD, contents, GRID_INSETS, GRID_SPACING, haveData, helpPath, loadButton, MAP_COLOR, simpleMode |
| 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()
|
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 |
protected 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, checkIfServerIsOk, clearOnChange, doConnect, doUpdate, enableWidgets, getConnectButton, getDataSetName, getDataType, getGoodToGo, getGroup, getGroupType, getGroupUrl, getLoadToolTip, getMiscKeyProps, getMiscKeywords, 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, clearWaitCursor, doHelp, doLoad, doMakeContents, firePropertyChange, getButtonLabels, getDefaultButtons, getHaveData, getLoadCommandName, getSimpleMode, getStatusComponent, getStatusLabel, getUpdateToolTip, registerStatusComp, revalidate, setHaveData, setHelpPath, setStatus, setStatus |
| 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 |
|---|
pu