public class PanAction extends MapAction
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 |
---|
PanAction(MapPane mapPane)
Constructor.
|
PanAction(MapPane mapPane,
boolean showToolName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent ev)
Called when the associated control is activated.
|
getMapPane, init
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public PanAction(MapPane mapPane)
mapPane
- the map pane being serviced by this actionpublic PanAction(MapPane mapPane, boolean showToolName)
mapPane
- the map pane being serviced by this actionshowToolName
- set to true for the control to display the tool namepublic void actionPerformed(ActionEvent ev)
ev
- the event (not used)Copyright © 1996–2019 Geotools. All rights reserved.