|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractAction
MapAction
ResetAction
public class ResetAction
An action to reset a map pane display to its full extent.
Field Summary | |
---|---|
static String |
ICON_IMAGE
Icon for the control |
static String |
TOOL_NAME
Name for this tool |
static String |
TOOL_TIP
Tool tip text |
Fields inherited from class AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface Action |
---|
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 Summary | |
---|---|
ResetAction(MapPane mapPane)
Constructor. |
|
ResetAction(MapPane mapPane,
boolean showToolName)
Constructor. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent ev)
Called when the control is activated. |
Methods inherited from class MapAction |
---|
getMapPane, init |
Methods inherited from class AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TOOL_NAME
public static final String TOOL_TIP
public static final String ICON_IMAGE
Constructor Detail |
---|
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 nameMethod Detail |
---|
public void actionPerformed(ActionEvent ev)
ev
- the event (not used)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |