|
||||||||||
| 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
edu.wisc.ssec.mcidasv.chooser.FileChooser
edu.wisc.ssec.mcidasv.chooser.SuomiNPPChooser
public class SuomiNPPChooser
| Nested Class Summary | |
|---|---|
class |
SuomiNPPChooser.SuomiNPPFileChooser
An extension of JFileChooser |
| 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.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
private static long |
CONSECUTIVE_GRANULE_TIME_GAP_MS
|
private static org.slf4j.Logger |
logger
|
(package private) SimpleDateFormat |
sdf
|
private static long |
serialVersionUID
|
| Fields inherited from class edu.wisc.ssec.mcidasv.chooser.FileChooser |
|---|
ATTR_SELECT_DSID, bottomPanel, buttonPressed, centerPanel, fileChooser, idv, path, topPanel |
| Fields inherited from class ucar.unidata.idv.chooser.FileChooser |
|---|
allowDirectorySelectionCbx, ATTR_DATASOURCEID, 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_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 |
| 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 | |
|---|---|
SuomiNPPChooser(IdvChooserManager mgr,
Element root)
Create the chooser with the given manager and xml |
|
| Method Summary | |
|---|---|
protected JFileChooser |
doMakeFileChooser(String path)
Make the file chooser |
protected JPanel |
getBottomPanel()
Get the bottom panel for the chooser |
protected JPanel |
getCenterPanel()
Get the center panel for the chooser |
protected String[] |
getFileNames(File[] files)
Convert the given array of File objects to an array of String file names. |
protected boolean |
selectFilesInner(File[] files,
File directory)
Handle the selection of the set of files |
private boolean |
testConsecutiveGranules(File[] files)
Test whether a set of files are consecutive Suomi NPP granules, any sensor. |
| Methods inherited from class edu.wisc.ssec.mcidasv.chooser.FileChooser |
|---|
doLoadInThread, doMakeContents, doUpdate, getAccessory, getAllowMultiple, getDataSourceId, getDataSourcesComponent, getDataSourcesLabel, getTopComponents, getTopPanel, setHaveData, setStatus, updateStatus |
| Methods inherited from class ucar.unidata.idv.chooser.FileChooser |
|---|
checkRecentPatternWidgetsEnable, getAllowDirectorySelectionCbx, getButtonLabels, getFileChooser, getFileCount, getFilePattern, getLoadToolTip, getRecentFilesComponent, getRecentFilesComponent, getUpdateToolTip, selectFiles, shouldShowRecentComponent |
| Methods inherited from class ucar.unidata.ui.ChooserPanel |
|---|
actionPerformed, addPropertyChangeListener, canDoUpdate, clearWaitCursor, doHelp, doLoad, firePropertyChange, getDefaultButtons, getHaveData, getLoadCommandName, getMessageTemplate, getSimpleMode, getStatusComponent, padLabel, registerStatusComp, revalidate, setHelpPath, setMessageTemplate, 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 |
| Field Detail |
|---|
private static final long serialVersionUID
private static final org.slf4j.Logger logger
private static final long CONSECUTIVE_GRANULE_TIME_GAP_MS
SimpleDateFormat sdf
| Constructor Detail |
|---|
public SuomiNPPChooser(IdvChooserManager mgr,
Element root)
mgr - The managerroot - The xml| Method Detail |
|---|
protected JFileChooser doMakeFileChooser(String path)
doMakeFileChooser in class FileChooserpath - the initial path
protected boolean selectFilesInner(File[] files,
File directory)
throws Exception
selectFilesInner in class FileChooserfiles - The files the user chosedirectory - The directory they chose them from
Exceptionprivate boolean testConsecutiveGranules(File[] files)
files -
protected String[] getFileNames(File[] files)
getFileNames in class FileChooserfiles - Selected files
protected JPanel getBottomPanel()
getBottomPanel in class FileChooserprotected JPanel getCenterPanel()
getCenterPanel in class FileChooser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||