Class FilterDialog.AbstractFilterAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.dialogs.FilterDialog.AbstractFilterAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,MultikeyShortcutAction
- Direct Known Subclasses:
FilterDialog.EnableFilterAction
,FilterDialog.HidingFilterAction
- Enclosing class:
- FilterDialog
abstract class FilterDialog.AbstractFilterAction extends AbstractAction implements MultikeyShortcutAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstreetmap.josm.gui.util.MultikeyShortcutAction
MultikeyShortcutAction.MultikeyInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected Filter
lastFilter
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
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
-
-
Constructor Summary
Constructors Constructor Description AbstractFilterAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
MultikeyShortcutAction.MultikeyInfo
getLastMultikeyAction()
List<MultikeyShortcutAction.MultikeyInfo>
getMultikeyCombinations()
protected boolean
isLastFilterValid()
-
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
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from interface org.openstreetmap.josm.gui.util.MultikeyShortcutAction
executeMultikeyAction, getMultikeyShortcut
-
-
-
-
Field Detail
-
lastFilter
protected transient Filter lastFilter
-
-
Constructor Detail
-
AbstractFilterAction
AbstractFilterAction()
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interfaceActionListener
-
getMultikeyCombinations
public List<MultikeyShortcutAction.MultikeyInfo> getMultikeyCombinations()
- Specified by:
getMultikeyCombinations
in interfaceMultikeyShortcutAction
-
isLastFilterValid
protected final boolean isLastFilterValid()
-
getLastMultikeyAction
public MultikeyShortcutAction.MultikeyInfo getLastMultikeyAction()
- Specified by:
getLastMultikeyAction
in interfaceMultikeyShortcutAction
-
-