public class InfoAction extends MapAction
changeSupport, enabledACCELERATOR_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 |
|---|
InfoAction(MapPane mapPane)
Constructor.
|
InfoAction(MapPane mapPane,
boolean showToolName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent ev)
Called when the associated control is activated.
|
getMapPane, initaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic InfoAction(MapPane mapPane)
mapPane - the map pane being serviced by this actionpublic InfoAction(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.