org.graffiti.plugin.view.interactive
Class KeyPressGesture

java.lang.Object
  extended by org.graffiti.plugin.view.interactive.ModifiableUserGesture
      extended by org.graffiti.plugin.view.interactive.KeyboardGesture
          extended by org.graffiti.plugin.view.interactive.KeyPressGesture
All Implemented Interfaces:
UserGesture

public class KeyPressGesture
extends KeyboardGesture

User gesture that represents a key press. It is provided for convenience and its use by InteractiveViews is not prescribed.

Version:
$Revision$ $Date$
Author:
Andreas Gleißner
See Also:
UserGesture, InputEvent.getModifiersEx(), KeyEvent.getKeyCode()

Constructor Summary
KeyPressGesture(int keyCode, int modifierMask)
          Constructs a KeyPressGesture.
 
Method Summary
 
Methods inherited from class org.graffiti.plugin.view.interactive.KeyboardGesture
getKeyCode
 
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

KeyPressGesture

public KeyPressGesture(int keyCode,
                       int modifierMask)
Constructs a KeyPressGesture.

Parameters:
keyCode - the key code.
modifierMask - a bit set representing the state of modal keys and mouse buttons.
See Also:
InputEvent.getModifiersEx()


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