|
||||||||||
| 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.FileChooser
ucar.unidata.idv.chooser.PollingFileChooser
public class PollingFileChooser
A class for choosing files that can be polled.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.chooser.FileChooser |
|---|
FileChooser.MyFileChooser |
| 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 |
ATTR_DATASOURCEID
Pre-defined data source id to use |
static String |
ATTR_DIRECTORY
Any initial file system path to start with |
static String |
ATTR_INTERVAL
Polling interval |
static String |
ATTR_LOADLABEL
The load command name |
static String |
ATTR_TITLE
The title attribute |
| Fields inherited from class ucar.unidata.idv.chooser.FileChooser |
|---|
allowDirectorySelectionCbx, ATTR_DSCOMP, ATTR_FILECOUNT, ATTR_FILEPATTERN, ATTR_FILTERS, ATTR_PATH, ATTR_POLLON, ATTR_SHOWPATTERNFIELD, patternFld, recentFilesCbx |
| 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 | |
|---|---|
PollingFileChooser(IdvChooserManager mgr,
Element root)
Create the PollingFileChooser, passing in the manager and the xml element from choosers.xml |
|
| Method Summary | |
|---|---|
void |
doLoadInThread()
Override the base class method to catch the do load |
protected JComponent |
doMakeContents()
Make the UI for this chooser |
void |
doUpdate()
Override the base class method to catch the do update |
protected String[] |
getButtonLabels()
Get the names for the buttons. |
protected String |
getLoadCommandName()
This allows for derived classes to define their own name for the "Add source" button. |
protected String |
getUpdateToolTip()
Get the tooltip for the update button |
| Methods inherited from class ucar.unidata.idv.chooser.FileChooser |
|---|
checkRecentPatternWidgetsEnable, doMakeFileChooser, getAccessory, getAllowDirectorySelectionCbx, getFileChooser, getFileCount, getFileNames, getFilePattern, getLoadToolTip, getRecentFilesComponent, getRecentFilesComponent, getTopComponents, selectFiles, selectFilesInner, shouldShowRecentComponent |
| Methods inherited from class ucar.unidata.ui.ChooserPanel |
|---|
actionPerformed, addPropertyChangeListener, clearWaitCursor, doHelp, doLoad, firePropertyChange, getDefaultButtons, getHaveData, getSimpleMode, getStatusComponent, getStatusLabel, 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 |
| Field Detail |
|---|
public static final String ATTR_DIRECTORY
public static final String ATTR_INTERVAL
public static final String ATTR_DATASOURCEID
public static final String ATTR_TITLE
public static final String ATTR_LOADLABEL
| Constructor Detail |
|---|
public PollingFileChooser(IdvChooserManager mgr,
Element root)
mgr - The managerroot - The xml root| Method Detail |
|---|
protected String getUpdateToolTip()
getUpdateToolTip in class FileChooserprotected JComponent doMakeContents()
doMakeContents in class FileChooserpublic void doLoadInThread()
doLoadInThread in class FileChooserpublic void doUpdate()
doUpdate in class FileChooserprotected String[] getButtonLabels()
getButtonLabels in class FileChooserprotected String getLoadCommandName()
getLoadCommandName in class ChooserPanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||