Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4 rc2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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

### BrowseForFile

    protected BrowseForFile(JComponent parent,
                            String description)

### BrowseForFile

    protected BrowseForFile(JComponent parent,
                            String description,
                            String extension)

Method Detail

### actionPerformed

    public void actionPerformed(ActionEvent event)

### onFileChosen

    public abstract void onFileChosen(File file)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4 rc2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2009 Stanford University.