com.levigo.jadice.demo.gestures
Interface MouseGestureListener


public interface MouseGestureListener

MouseGestureListeners are notified about mouse gestures in progress and recognized gestures.


Method Summary
 void mouseGestureAborted()
          Receive notification about an aborted recognition attempt.
 void mouseGestureInProgress(Component source, String gesture, GeneralPath path)
          Receive notification about a gesture in progress on the given component.
 void mouseGestureRecognized(Component source, String gesture, GeneralPath path)
          Receive notification about a recognized gesture.
 

Method Detail

mouseGestureInProgress

void mouseGestureInProgress(Component source,
                            String gesture,
                            GeneralPath path)
Receive notification about a gesture in progress on the given component. This method is called many times during the recognition phase.

Parameters:
source - the component on which the gesture is executed
gesture - the gesture, as recognized so far
path - the path the mouse traveled, relative to the source component

mouseGestureAborted

void mouseGestureAborted()
Receive notification about an aborted recognition attempt. This may be due to an invalid gesture or an invalid modifier state change.


mouseGestureRecognized

void mouseGestureRecognized(Component source,
                            String gesture,
                            GeneralPath path)
Receive notification about a recognized gesture.

Parameters:
source - the component on which the gesture was executed
gesture - the recognized gesture
path - the path the mouse traveled, relative to the source component


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.