|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.geotools.swing.action.MapAction
public abstract class MapAction
Base class for map pane actions; just provides a common initializing method and a reference to the map pane being serviced.
Field Summary |
---|
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.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 | |
---|---|
MapAction()
|
Method Summary | |
---|---|
JMapPane |
getMapPane()
Get the map pane that this Action is working with |
protected void |
init(JMapPane mapPane,
java.lang.String toolName,
java.lang.String toolTip,
java.lang.String iconImage)
Called by sub-classes to set the map pane field and initialize the control action properties |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.awt.event.ActionListener |
---|
actionPerformed |
Constructor Detail |
---|
public MapAction()
Method Detail |
---|
protected void init(JMapPane mapPane, java.lang.String toolName, java.lang.String toolTip, java.lang.String iconImage)
mapPane
- the map pane that this action is working withtoolName
- short (single word) tool name; may be null
toolTip
- brief tool description for GUI tool tipiconImage
- path to the icon to display on the controlpublic JMapPane getMapPane()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |