org.gvsig.fmap.mapcontrol.tools.Behavior
Class MouseWheelBehavior
java.lang.Object
org.gvsig.fmap.mapcontrol.tools.Behavior.Behavior
org.gvsig.fmap.mapcontrol.tools.Behavior.MouseWheelBehavior
- All Implemented Interfaces:
- IBehavior
public class MouseWheelBehavior
- extends Behavior
- Version:
- $Id$
- Author:
- gvSIG Team
| Methods inherited from class org.gvsig.fmap.mapcontrol.tools.Behavior.Behavior |
createArc, createArc, createArc, createCircle, createLineString, createPoint, createPoint, getImageCursor, getMapControl, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, setMapControl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MouseWheelBehavior
public MouseWheelBehavior()
- Constructor.
getListener
public ToolListener getListener()
- Description copied from interface:
IBehavior
Gets the ToolListener used by this behavior to perform actions on the
associated MapControl object.
- Specified by:
getListener in interface IBehavior- Specified by:
getListener in class Behavior
- Returns:
- the
ToolListener used by this behavior
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent event)
throws BehaviorException
- Specified by:
mouseWheelMoved in interface IBehavior- Overrides:
mouseWheelMoved in class Behavior
- Throws:
BehaviorException - any exception processing the action associated to a mouse wheel event, by the IBehavior object- See Also:
MouseWheelListener.mouseWheelMoved(java.awt.event.MouseWheelEvent)
paintComponent
public void paintComponent(MapControlDrawer mapControlDrawer)
- Description copied from interface:
IBehavior
Method executed in real-time, when user is working with a tool on the associated MapControl
object, repainting the MapControl'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:
paintComponent in interface IBehavior- Overrides:
paintComponent in class Behavior
- See Also:
Graphics.drawImage(java.awt.Image, int, int, java.awt.image.ImageObserver)
Copyright © 2004-2013 gvSIG. All Rights Reserved.