org.netbeans.modules.jellytools.platform/3 3.13

org.netbeans.jellytools.actions
Class Action.Shortcut

java.lang.Object
  extended by org.netbeans.jellytools.actions.Action.Shortcut
Enclosing class:
Action

Deprecated. Use KeyStroke instead.

public static class Action.Shortcut
extends Object

This class defines keyboard shortcut for action execution.


Field Summary
protected  int keyCode
          Deprecated. key code of shortcut (see KeyEvent)
protected  int keyModifiers
          Deprecated. key modifiers of shortcut (see KeyEvent)
 
Constructor Summary
Action.Shortcut(int keyCode)
          Deprecated. creates new shortcut
Action.Shortcut(int keyCode, int keyModifiers)
          Deprecated. creates new shortcut
 
Method Summary
 int getKeyCode()
          Deprecated. getter for key code
 int getKeyModifiers()
          Deprecated. getter for key modifiers
 String toString()
          Deprecated. returns String representation of shortcut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

keyCode

protected int keyCode
Deprecated. 
key code of shortcut (see KeyEvent)


keyModifiers

protected int keyModifiers
Deprecated. 
key modifiers of shortcut (see KeyEvent)

Constructor Detail

Action.Shortcut

public Action.Shortcut(int keyCode)
Deprecated. 
creates new shortcut

Parameters:
keyCode - int key code (see KeyEvent)

Action.Shortcut

public Action.Shortcut(int keyCode,
                       int keyModifiers)
Deprecated. 
creates new shortcut

Parameters:
keyCode - int key code (see KeyEvent)
keyModifiers - int key modifiers (see KeyEvent)
Method Detail

getKeyCode

public int getKeyCode()
Deprecated. 
getter for key code

Returns:
int key code

getKeyModifiers

public int getKeyModifiers()
Deprecated. 
getter for key modifiers

Returns:
int key modifiers

toString

public String toString()
Deprecated. 
returns String representation of shortcut

Overrides:
toString in class Object
Returns:
String representation of shortcut

org.netbeans.modules.jellytools.platform/3 3.13

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.