Class MouseWheelBehavior
java.lang.Object
org.gvsig.fmap.mapcontrol.tools.Behavior.Behavior
org.gvsig.fmap.mapcontrol.tools.Behavior.MouseWheelBehavior
- All Implemented Interfaces:
IBehavior
- Version:
- $Id$
- Author:
- gvSIG Team
-
Field Summary
Fields inherited from class org.gvsig.fmap.mapcontrol.tools.Behavior.Behavior
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT, geomManager, LOG, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theToolListenerused by this behavior to perform actions on the associatedMapControlobject.voidmouseWheelMoved(MouseWheelEvent event) voidpaintComponent(MapControlDrawer mapControlDrawer) Method executed in real-time, when user is working with a tool on the associatedMapControlobject, repainting theMapControl's image.Methods inherited from class org.gvsig.fmap.mapcontrol.tools.Behavior.Behavior
clean, createArc, createArc, createArc, createCircle, createEllipse, createPoint, createPoint, getImageCursor, getMapControl, getUseSnapping, isMyButton, isMyButton, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paintComponent, resetMyButton, setMapControl, setUseSnapping
-
Constructor Details
-
MouseWheelBehavior
public MouseWheelBehavior()Constructor.
-
-
Method Details
-
getListener
Description copied from interface:IBehaviorGets the
ToolListenerused by this behavior to perform actions on the associatedMapControlobject.- Specified by:
getListenerin interfaceIBehavior- Specified by:
getListenerin classBehavior- Returns:
- the
ToolListenerused by this behavior
-
mouseWheelMoved
- Specified by:
mouseWheelMovedin interfaceIBehavior- Overrides:
mouseWheelMovedin classBehavior- Throws:
BehaviorException- any exception processing the action associated to a mouse wheel event, by theIBehaviorobject- See Also:
-
paintComponent
Description copied from interface:IBehaviorMethod executed in real-time, when user is working with a tool on the associated
MapControlobject, repainting theMapControl's image.Returns immediately in all cases, even if the complete image has not yet been loaded.
This method will be implemented according to the specific nature of each behavior, and its extra and particular features.
- Specified by:
paintComponentin interfaceIBehavior- Overrides:
paintComponentin classBehavior- See Also:
-