Documentation of 'org.jplot2d.interaction.MouseWheelBehaviorHandler' Java class
MouseWheelBehaviorHandler
org.jplot2d.interaction

Class MouseWheelBehaviorHandler<B extends MouseWheelBehavior>

    • Method Detail

      • processMouseEvent

        public final boolean processMouseEvent(GenericMouseEvent e)
        Description copied from class: MouseBehaviorHandler
        Processes the mouse event. Returns true if the event is processed correctly and should not be passed on to other behaviors. Returns false if this behavior does not process the event.
        Specified by:
        processMouseEvent in class MouseBehaviorHandler<B extends MouseWheelBehavior>
        Parameters:
        e - the mouse event
        Returns:
        true if the event is processed correctly
      • behaviorPerformed

        public abstract boolean behaviorPerformed(int x,
                                                  int y,
                                                  int wheelRotation)
        Parameters:
        x - TODO
        y - TODO
        wheelRotation - On Windows/Linux, always 1. On MacOSX, may be any number due to its wheel acceleration.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.