org.graffiti.plugin.view.interactive
Class MouseReleaseGesture

java.lang.Object
  extended by org.graffiti.plugin.view.interactive.ModifiableUserGesture
      extended by org.graffiti.plugin.view.interactive.MouseGesture
          extended by org.graffiti.plugin.view.interactive.MouseButtonGesture
              extended by org.graffiti.plugin.view.interactive.MouseReleaseGesture
All Implemented Interfaces:
UserGesture

public class MouseReleaseGesture
extends MouseButtonGesture

User gesture that represents releasing a mouse button. It is provided for convenience and its use by InteractiveViews is not prescribed.

Version:
$Revision$ $Date$
Author:
Andreas Gleißner
See Also:
UserGesture

Constructor Summary
MouseReleaseGesture(Point2D position, int modifierMask, int buttonId)
          Constructs a MouseReleaseGesture.
MouseReleaseGesture(Point2D position, int modifierMask, MouseButton button)
          Constructs a MouseReleaseGesture.
 
Method Summary
 
Methods inherited from class org.graffiti.plugin.view.interactive.MouseButtonGesture
getButton
 
Methods inherited from class org.graffiti.plugin.view.interactive.MouseGesture
getPosition
 
Methods inherited from class org.graffiti.plugin.view.interactive.ModifiableUserGesture
isAltDown, isControlDown, isLeftMouseButtonDown, isMetaDown, isMiddleMouseButtonDown, isRightMouseButtonDown, isShiftDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MouseReleaseGesture

public MouseReleaseGesture(Point2D position,
                           int modifierMask,
                           int buttonId)
Constructs a MouseReleaseGesture.

Parameters:
position - the position of the mouse cursor. The referred coordinate system is left to the calling InteractiveView.
modifierMask - a bit set representing the state of the modifiers. It is interpreted like the extended modifier mask of InputEvent.
buttonId - the id of the button that was released, as used by MouseEvent.getButton().

MouseReleaseGesture

public MouseReleaseGesture(Point2D position,
                           int modifierMask,
                           MouseButton button)
Constructs a MouseReleaseGesture.

Parameters:
position - the position of the mouse cursor. The referred coordinate system is left to the calling InteractiveView.
modifierMask - a bit set representing the state of the modifiers. It is interpreted like the extended modifier mask of InputEvent.
button - the button that was released, as used by MouseEvent.getButton().


Generated at 2012-05-30 11:00:36 PM CEST