|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdatabionics.esom.util.actions.FileAction
databionics.esom.util.actions.LoadFileAction
public abstract class LoadFileAction
Show a dialog to load a file of the specific filetype. Actual loading is delegated to subclasses with abstract method load().
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
log
log4j logging |
Fields inherited from class databionics.esom.util.actions.FileAction |
---|
myFileType |
Constructor Summary | |
---|---|
LoadFileAction(FileType type)
Constructor with file tpye |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Ask for a filename by dialog |
abstract void |
load(java.lang.String filename)
Really load the file in subclasses. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.log4j.Logger log
Constructor Detail |
---|
public LoadFileAction(FileType type)
type
- the specific FileTypeMethod Detail |
---|
public abstract void load(java.lang.String filename)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |