edu.stanford.smi.protege.action
Class BrowseForFile
java.lang.Object
javax.swing.AbstractAction
edu.stanford.smi.protege.action.BrowseForFile
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public abstract class BrowseForFile
- extends AbstractAction
Action to bring up a file chooser dialog and pick a file.
When the file is chosen and OK is pressed #onFileChosen is called.
- Author:
- Ray Fergerson
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
BrowseForFile
protected BrowseForFile(JComponent parent,
String description)
BrowseForFile
protected BrowseForFile(JComponent parent,
String description,
String extension)
actionPerformed
public void actionPerformed(ActionEvent event)
onFileChosen
public abstract void onFileChosen(File file)
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2013 Stanford University.