public class ResetAction extends MapAction
| Modifier and Type | Field and Description |
|---|---|
static String |
ICON_IMAGE
Icon for the control
|
static String |
TOOL_NAME
Name for this tool
|
static String |
TOOL_TIP
Tool tip text
|
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 |
|---|
ResetAction(MapPane mapPane)
Constructor.
|
ResetAction(MapPane mapPane,
boolean showToolName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent ev)
Called when the control is activated.
|
getMapPane, initaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic static final String TOOL_NAME
public static final String TOOL_TIP
public static final String ICON_IMAGE
public ResetAction(MapPane mapPane)
mapPane - the map pane being serviced by this actionpublic ResetAction(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.