public class OpenFolderPanel extends AbstractOpenPanel
AbstractOpenPanel.FormatFilter| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_NAME |
static String |
FILTER_NAME |
| Constructor and Description |
|---|
OpenFolderPanel(String id,
String title) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getFieldNames()
Return the names of the fields in the FileChooser.
|
URL |
getIconURL()
Gets the icon of the UIPanel.
|
File |
getSelectedFile() |
FileFilter |
getSelectedFilter() |
void |
setValue(String fieldName,
String fieldValue) |
boolean |
showFoldersOnly()
To be set by inheriting classes.
|
String |
validateInput()
This method validates the input selected in the panel. it returns a
message when a problem has been encountered, and null otherwise.
|
addFilter, addFilter, getComponent, getCurrentDirectory, getCurrentFilterId, getFileChooser, getSelectedFiles, getTitle, loadState, saveState, setAcceptAllFileFilterUsed, setCurrentDirectory, setCurrentFilter, setSelectedFile, setSingleSelectionpublic static final String FIELD_NAME
public static final String FILTER_NAME
public FileFilter getSelectedFilter()
public String validateInput()
public File getSelectedFile()
getSelectedFile in class AbstractOpenPanelpublic boolean showFoldersOnly()
AbstractOpenPanelshowFoldersOnly in class AbstractOpenPanelpublic String[] getFieldNames()
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.