class ChangesetDetailPanel.ZoomInCurrentLayerAction extends AbstractAction implements 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) |
protected void |
alertNoPrimitivesToZoomTo() |
void |
editLayerChanged(OsmDataLayer oldLayer,
OsmDataLayer newLayer)
Called after the active edit layer was changed.
|
void |
updateEnabledState() |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
ZoomInCurrentLayerAction()
protected void alertNoPrimitivesToZoomTo()
public void actionPerformed(ActionEvent arg0)
actionPerformed
in interface ActionListener
public void updateEnabledState()
public void editLayerChanged(OsmDataLayer oldLayer, OsmDataLayer newLayer)
MapView.EditLayerChangeListener
editLayerChanged
in interface MapView.EditLayerChangeListener
oldLayer
- The old edit layernewLayer
- The current (new) edit layer