|
||||||||||
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
org.geotools.swing.action.ZoomInAction
public class ZoomInAction
An action for connect a control (probably a JButton) to the ZoomInTool for zooming the map with mouse clicks or drags.
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 | |
---|---|
ZoomInAction(JMapPane mapPane)
Constructor. |
|
ZoomInAction(JMapPane mapPane,
boolean showToolName)
Constructor. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ev)
Called when the associated control is activated. |
Methods inherited from class org.geotools.swing.action.MapAction |
---|
getMapPane, init |
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 |
Constructor Detail |
---|
public ZoomInAction(JMapPane mapPane)
mapPane
- the map pane being serviced by this actionpublic ZoomInAction(JMapPane 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(java.awt.event.ActionEvent ev)
ev
- the event (not used)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |