org.jplot2d.interaction
Class MouseWheelZoomHandler
- java.lang.Object
-
- org.jplot2d.interaction.MouseBehaviorHandler<B>
-
- org.jplot2d.interaction.MouseWheelBehaviorHandler<MouseWheelZoomBehavior>
-
- org.jplot2d.interaction.MouseWheelZoomHandler
-
public class MouseWheelZoomHandler extends MouseWheelBehaviorHandler<MouseWheelZoomBehavior>
-
-
Constructor Summary
Constructors Constructor and Description MouseWheelZoomHandler(MouseWheelZoomBehavior behavior, InteractionModeHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanbehaviorPerformed(int x, int y, int wheelRotation)-
Methods inherited from class org.jplot2d.interaction.MouseWheelBehaviorHandler
processMouseEvent
-
Methods inherited from class org.jplot2d.interaction.MouseBehaviorHandler
enterModifiersKey, exitModifiersKey, getName
-
-
-
-
Constructor Detail
-
MouseWheelZoomHandler
public MouseWheelZoomHandler(MouseWheelZoomBehavior behavior, InteractionModeHandler handler)
-
-
Method Detail
-
behaviorPerformed
public boolean behaviorPerformed(int x, int y, int wheelRotation)- Specified by:
behaviorPerformedin classMouseWheelBehaviorHandler<MouseWheelZoomBehavior>- Parameters:
x- TODOy- TODOwheelRotation- On Windows/Linux, always 1. On MacOSX, may be any number due to its wheel acceleration.
-
-
DMelt 3.0 © DataMelt by jWork.ORG