net.sf.jguiraffe.gui.builder.action
Enum Accelerator.Keys

java.lang.Object
  extended by java.lang.Enum<Accelerator.Keys>
      extended by net.sf.jguiraffe.gui.builder.action.Accelerator.Keys
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Accelerator.Keys>
Enclosing class:
Accelerator

public static enum Accelerator.Keys
extends java.lang.Enum<Accelerator.Keys>

An enumeration defining constants for special keys on a standard keyboard. This enumeration lists keys that do not represent a normal alphanumeric letter or a viewable character, but have a special meaning.


Enum Constant Summary
BACKSPACE
          The backspace key.
DELETE
          The delete key.
DOWN
          The down arrow key.
END
          The end key.
ENTER
          The enter key.
ESCAPE
          The escape key.
F1
          A function key.
F10
           
F11
           
F12
           
F13
           
F14
           
F15
           
F16
           
F2
           
F3
           
F4
           
F5
           
F6
           
F7
           
F8
           
F9
           
HOME
          The home key.
INSERT
          The insert key.
LEFT
          The left arrow key.
PAGE_DOWN
          The page down key.
PAGE_UP
          The page up key.
PRINT_SCREEN
          The print screen key.
RIGHT
          The right arrow key.
SPACE
          The space key.
TAB
          The tab key.
UP
          The up arrow key.
 
Method Summary
static Accelerator.Keys valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Accelerator.Keys[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BACKSPACE

public static final Accelerator.Keys BACKSPACE
The backspace key.


DELETE

public static final Accelerator.Keys DELETE
The delete key.


DOWN

public static final Accelerator.Keys DOWN
The down arrow key.


END

public static final Accelerator.Keys END
The end key.


ENTER

public static final Accelerator.Keys ENTER
The enter key.


ESCAPE

public static final Accelerator.Keys ESCAPE
The escape key.


F1

public static final Accelerator.Keys F1
A function key.


F2

public static final Accelerator.Keys F2

F3

public static final Accelerator.Keys F3

F4

public static final Accelerator.Keys F4

F5

public static final Accelerator.Keys F5

F6

public static final Accelerator.Keys F6

F7

public static final Accelerator.Keys F7

F8

public static final Accelerator.Keys F8

F9

public static final Accelerator.Keys F9

F10

public static final Accelerator.Keys F10

F11

public static final Accelerator.Keys F11

F12

public static final Accelerator.Keys F12

F13

public static final Accelerator.Keys F13

F14

public static final Accelerator.Keys F14

F15

public static final Accelerator.Keys F15

F16

public static final Accelerator.Keys F16

HOME

public static final Accelerator.Keys HOME
The home key.


INSERT

public static final Accelerator.Keys INSERT
The insert key.


LEFT

public static final Accelerator.Keys LEFT
The left arrow key.


PAGE_DOWN

public static final Accelerator.Keys PAGE_DOWN
The page down key.


PAGE_UP

public static final Accelerator.Keys PAGE_UP
The page up key.


PRINT_SCREEN

public static final Accelerator.Keys PRINT_SCREEN
The print screen key.


RIGHT

public static final Accelerator.Keys RIGHT
The right arrow key.


SPACE

public static final Accelerator.Keys SPACE
The space key.


TAB

public static final Accelerator.Keys TAB
The tab key.


UP

public static final Accelerator.Keys UP
The up arrow key.

Method Detail

values

public static final Accelerator.Keys[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Accelerator.Keys c : Accelerator.Keys.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Accelerator.Keys valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2009 The JGUIraffe Team. All Rights Reserved.