Class SelectionListDialog.ZoomToJOSMSelectionAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.dialogs.SelectionListDialog.ZoomToJOSMSelectionAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,ListDataListener
- Enclosing class:
- SelectionListDialog
class SelectionListDialog.ZoomToJOSMSelectionAction extends AbstractAction implements ListDataListener
The action for zooming to the primitives in the current JOSM selection
-
-
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 ZoomToJOSMSelectionAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
void
contentsChanged(ListDataEvent e)
void
intervalAdded(ListDataEvent e)
void
intervalRemoved(ListDataEvent e)
void
updateEnabledState()
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
ZoomToJOSMSelectionAction
ZoomToJOSMSelectionAction()
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interfaceActionListener
-
updateEnabledState
public void updateEnabledState()
-
contentsChanged
public void contentsChanged(ListDataEvent e)
- Specified by:
contentsChanged
in interfaceListDataListener
-
intervalAdded
public void intervalAdded(ListDataEvent e)
- Specified by:
intervalAdded
in interfaceListDataListener
-
intervalRemoved
public void intervalRemoved(ListDataEvent e)
- Specified by:
intervalRemoved
in interfaceListDataListener
-
-