|
||||||||||
| 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.AddePointDataChooser
public class AddePointDataChooser
Selection widget for ADDE point data
| 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 | |
|---|---|
static String |
DATA_TYPE
Property for the data type. |
static String |
DATASET_NAME_KEY
Property for the dataset name key. |
protected JComboBox |
dataTypes
UI widget for selecting data types |
protected JComboBox |
levelBox
a selector for a particular level |
static String |
LEVELS
Property for the number of times |
static String |
SELECTED_LEVEL
Property for the time increment |
protected JComboBox |
stationModelBox
UI widget for selecting station models |
| Fields inherited from class ucar.unidata.idv.chooser.adde.AddeChooser |
|---|
CMD_CONNECT, DATA_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 | |
|---|---|
AddePointDataChooser(IdvChooserManager mgr,
Element root)
Create a chooser for Adde POINT data |
|
| Method Summary | |
|---|---|
protected void |
appendRequestSelectClause(StringBuffer buf)
Get the select clause for the adde request specific to this type of data. |
boolean |
canDoLevels()
Does this chooser support level selection |
void |
doLoadInThread()
Load in an ADDE point data set based on the PropertyChangeEvent |
protected JComponent |
doMakeContents()
Make the contents for this chooser |
protected void |
enableWidgets()
Enable or disable the GUI widgets based on what has been selected. |
String |
getDataName()
This allows derived classes to provide their own name for labeling, etc. |
String |
getDatasetName()
Get the name of the dataset. |
String |
getDataType()
Get the data type for this chooser |
protected String |
getDayTimeSelectString()
Create the date time selection string for the "select" clause of the ADDE URL. |
protected TwoFacedObject[] |
getDefaultDatasets()
Get an array of TwoFacedObject-s for the datasets. |
protected String |
getDefaultDisplayType()
Get the default display type |
String |
getDefaultStationModel()
Get the default station model for this chooser. |
protected String |
getDescriptor()
Return the currently selected descriptor form the combobox |
protected JComponent |
getExtraTimeComponent()
Get the extra time widget. |
protected String |
getGroup()
Return the currently selected group form the combobox |
List |
getLevels()
Get the list of possible levels for this chooser. |
protected int |
getNumTimesToSelect()
|
protected String |
getRelativeTimeId()
Get the identifier for relative time. |
float |
getRelativeTimeIncrement()
Get the increment between times for relative time requests |
String |
getRequestUrl()
Get the request URL |
Object |
getSelectedLevel()
Get the selected level |
StationModel |
getSelectedStationModel()
Get the selected station model. |
protected String |
getTimesRequest()
Get the request string for times particular to this chooser |
protected void |
handleConnectionError(Exception excp)
Show the given error to the user. |
void |
handleUpdate()
Update the widget with the latest data. |
protected boolean |
haveTimeSelected()
Are there any times selected. |
protected JPanel |
makeTimesPanel()
Add the 00 & 12Z checkbox to the component. |
protected void |
readTimes()
Set the list of available times. |
void |
setRelativeTimeIncrement(float increment)
Set the increment between times for relative time requests |
protected void |
updateStatus()
Update labels, enable widgets, etc. |
| Methods inherited from class ucar.unidata.idv.chooser.adde.AddeChooser |
|---|
actionPerformed, addServerComp, addTopComponents, addTopComponents, appendKeyValue, appendMiscKeyValues, canAccessServer, checkIfServerIsOk, clearOnChange, doConnect, doUpdate, getConnectButton, getDataSetName, getDefaultRelativeTimeIndex, getGoodToGo, getGroupType, getGroupUrl, getLoadToolTip, getMiscKeyProps, getMiscKeywords, getServer, getServerSelector, getState, getUrl, handleConnect, handleConnectFromThread, handleUnknownDataSetError, handleUpdateFromThread, readGroups, readTextLines, removeGroup, removeServer, saveServerState, setGroups, setState, updateServerList |
| Methods inherited from class ucar.unidata.ui.ChooserPanel |
|---|
addPropertyChangeListener, clearWaitCursor, doHelp, doLoad, 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 |