de.miethxml.hawron.gui.context.action
Class MenuAction
java.lang.Object
javax.swing.AbstractAction
de.miethxml.hawron.gui.context.action.MenuAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, RepositorySelectionListener, java.io.Serializable
- public class MenuAction
- extends javax.swing.AbstractAction
- implements RepositorySelectionListener
- Author:
- Simon Mieth
- See Also:
- Serialized Form
| 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 |
| 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 |
MenuAction
public MenuAction(Action action)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
directorySelected
public void directorySelected(Reloadable model,
FileModel directory)
- Specified by:
directorySelected in interface RepositorySelectionListener
fileSelected
public void fileSelected(Reloadable model,
FileModel file)
- Specified by:
fileSelected in interface RepositorySelectionListener
setFileSystemModel
public void setFileSystemModel(RepositoryModel model)
unselect
public void unselect()
- Specified by:
unselect in interface RepositorySelectionListener
setCheckSupportedExtensions
public void setCheckSupportedExtensions(boolean check)