class ChangesetContentPanel.ZoomInCurrentLayerAction extends AbstractAction implements ListSelectionListener, MapView.EditLayerChangeListener
changeSupport, enabled
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 and Description |
---|
ZoomInCurrentLayerAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent arg0) |
void |
editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer)
Called after the active edit layer was changed.
|
void |
updateEnabledState() |
void |
valueChanged(ListSelectionEvent e) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
ZoomInCurrentLayerAction()
public void actionPerformed(ActionEvent arg0)
actionPerformed
in interface ActionListener
public final void updateEnabledState()
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
public void editLayerChanged(OsmDataLayer oldLayer, OsmDataLayer newLayer)
MapView.EditLayerChangeListener
editLayerChanged
in interface MapView.EditLayerChangeListener
oldLayer
- The old edit layernewLayer
- The current (new) edit layer