|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.ui.io.FileArrayEditor
public class FileArrayEditor
An UI-Component which represents a product file list with the ability to add and remove files.
| Nested Class Summary | |
|---|---|
static interface |
FileArrayEditor.EditorParent
|
static interface |
FileArrayEditor.FileArrayEditorListener
|
| Constructor Summary | |
|---|---|
FileArrayEditor(FileArrayEditor.EditorParent parent,
String label)
Constructs the object with default values |
|
| Method Summary | |
|---|---|
JButton |
createAddFileButton()
|
JComponent |
createFileArrayComponent()
|
protected JFileChooser |
createFileChooserDialog()
|
JButton |
createRemoveFileButton()
|
List<File> |
getFiles()
Retrieves the list of files currently edited |
protected FileArrayEditor.EditorParent |
getParent()
|
JComponent |
getUI()
Retrieves the editor UI. |
void |
setFiles(List<File> files)
Sets the list of files to be edited. |
void |
setListener(FileArrayEditor.FileArrayEditorListener listener)
Sets the listener for this class |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileArrayEditor(FileArrayEditor.EditorParent parent,
String label)
parent - the parent editorlabel - the label for this editor| Method Detail |
|---|
protected final FileArrayEditor.EditorParent getParent()
public JComponent getUI()
public void setFiles(List<File> files)
files - List of Files to be setpublic List<File> getFiles()
List of currently edited Filespublic void setListener(FileArrayEditor.FileArrayEditorListener listener)
listener - the listener to associate with this editorpublic JButton createRemoveFileButton()
public JButton createAddFileButton()
public JComponent createFileArrayComponent()
protected JFileChooser createFileChooserDialog()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||