Class ImageryProvidersPanel.RemoveEntryAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.preferences.imagery.ImageryProvidersPanel.RemoveEntryAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,ListSelectionListener
- Enclosing class:
- ImageryProvidersPanel
private class ImageryProvidersPanel.RemoveEntryAction extends AbstractAction implements ListSelectionListener
-
-
Field Summary
-
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 RemoveEntryAction()
Constructs a newRemoveEntryAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
protected void
updateEnabledState()
void
valueChanged(ListSelectionEvent e)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
RemoveEntryAction
RemoveEntryAction()
Constructs a newRemoveEntryAction
.
-
-
Method Detail
-
updateEnabledState
protected final void updateEnabledState()
-
valueChanged
public void valueChanged(ListSelectionEvent e)
- Specified by:
valueChanged
in interfaceListSelectionListener
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interfaceActionListener
-
-