|
Protege 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
edu.stanford.smi.protege.action.BrowseForFile
public abstract class BrowseForFile
Action to bring up a file chooser dialog and pick a file. When the file is chosen and OK is pressed #onFileChosen is called.
Field Summary |
---|
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
protected |
BrowseForFile(JComponent parent,
String description)
|
protected |
BrowseForFile(JComponent parent,
String description,
String extension)
|
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent event)
|
abstract void |
onFileChosen(File file)
|
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BrowseForFile(JComponent parent, String description)
protected BrowseForFile(JComponent parent, String description, String extension)
Method Detail |
---|
public void actionPerformed(ActionEvent event)
public abstract void onFileChosen(File file)
|
Protege 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |