Share this page

com.hp.lft.sdk

## Enum Keyboard.Keys

- java.lang.Object
- - java.lang.Enum<Keyboard.Keys>
  - - com.hp.lft.sdk.Keyboard.Keys

- All Implemented Interfaces:
    com.hp.lft.sdk.internal.EnumValueProvider<java.lang.Integer>, java.io.Serializable, java.lang.Comparable<Keyboard.Keys>
  Enclosing class:
    Keyboard

      public static enum Keyboard.Keys
      extends java.lang.Enum<Keyboard.Keys>
      implements com.hp.lft.sdk.internal.EnumValueProvider<java.lang.Integer>

  Keys which can be used in sending keyboards events.

- - ### Enum Constant Summary

    Enum Constant and Description
    `A` The A key.
    `ADD` The Add key.
    `ALT` The Alt key.
    `B` The B key.
    `BACKSLASH` The Backslash key.
    `BACKSPACE` The Backspace key.
    `C` The C key.
    `CAPSLOCK` /// The CapsLock key.
    `COMMA` The Comma key.
    `CONTROL` The Control key.
    `D` The D key.
    `D0` The 0 key.
    `D1` The 1 key.
    `D2` The 2 key.
    `D3` The 3 key.
    `D4` The 4 key.
    `D5` The 5 key.
    `D6` The 6 key.
    `D7` The 7 key.
    `D8` The 8 key.
    `D9` The 9 key.
    `DECIMAL` The Decimal key.
    `DELETE` The Delete key.
    `DIVIDE` The Divide key.
    `DOWN` The Down key.
    `E` The E key.
    `END` The End key.
    `ENTER` The Enter key.
    `EQUAL` The Equal key.
    `ESCAPE` The Escape key.
    `F` The F key.
    `F1` The F1 key.
    `F10` The F10 key.
    `F11` The F11 key.
    `F12` The F12 key.
    `F2` The F2 key.
    `F3` The F3 key.
    `F4` The F4 key.
    `F5` The F5 key.
    `F6` The F6 key.
    `F7` The F7 key.
    `F8` The F8 key.
    `F9` The F9 key.
    `G` The G key.
    `GRAVE` The Grave key.
    `H` The H key.
    `HOME` The Home key.
    `I` The I key.
    `INSERT` The Insert key.
    `J` The J key.
    `K` The K key.
    `L` The L key.
    `LEFT` The Left key.
    `LEFT_ALT` The Left Alt key.
    `LEFT_BRACKET` The Left Bracket key.
    `LEFT_CONTROL` The Left Control key.
    `LEFT_SHIFT` The Left Shift.
    `LEFT_SYSTEM` The Left System key.
    `M` The M key.
    `MINUS` The Minus key.
    `MULTIPLY` The Multiply key.
    `N` The N key.
    `NUM0` /// The Num 0 key.
    `NUM1` /// The Num 1 key.
    `NUM2` /// The Num 2 key.
    `NUM3` /// The Num 3 key.
    `NUM4` /// The Num 4 key.
    `NUM5` /// The Num 5 key.
    `NUM6` /// The Num 6 key.
    `NUM7` /// The Num 7 key.
    `NUM8` /// The Num 8 key.
    `NUM9` /// The Num 9 key.
    `NUMLOCK` /// The NumLock key.
    `O` The O key.
    `P` The P key.
    `PAGE_DOWN` The Page Down key.
    `PAGE_UP` The Page Up key.
    `PAUSE` The Pause key.
    `PERIOD` The Period key.
    `PRINT` The Print key.
    `Q` The Q key.
    `QUOTE` The Quote key.
    `R` The R key.
    `RETURN` The Return key.
    `RIGHT` The Right key.
    `RIGHT_ALT` The Right Alt key.
    `RIGHT_BRACKET` The Right Bracket key.
    `RIGHT_CONTROL` The Right Control key.
    `RIGHT_SHIFT` The Right Shift.
    `RIGHT_SYSTEM` The Right System key.
    `S` The S key.
    `SCROLLLOCK` /// The ScrollLock key.
    `SEMICOLON` The Semicolon key.
    `SHIFT` The Shift key.
    `SLASH` The Slash key.
    `SPACE` The Space key.
    `SUBTRACT` The Subtract key.
    `SYSTEM` The System key.
    `T` The T key.
    `TAB` The Tab key.
    `U` The U key.
    `UP` The Up key.
    `V` The V key.
    `W` The W key.
    `X` The X key.
    `Y` The Y key.
    `Z` The Z key.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Integer` | `getValue()` Returns the integer value representing the Keys value.
    `static Keyboard.Keys` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static Keyboard.Keys[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### SPACE

          public static final Keyboard.Keys SPACE

      The Space key.

    - #### ESCAPE

          public static final Keyboard.Keys ESCAPE

      The Escape key.

    - #### TAB

          public static final Keyboard.Keys TAB

      The Tab key.

    - #### ALT

          public static final Keyboard.Keys ALT

      The Alt key.

    - #### LEFT_ALT

          public static final Keyboard.Keys LEFT_ALT

      The Left Alt key.

    - #### RIGHT_ALT

          public static final Keyboard.Keys RIGHT_ALT

      The Right Alt key.

    - #### CONTROL

          public static final Keyboard.Keys CONTROL

      The Control key.

    - #### LEFT_CONTROL

          public static final Keyboard.Keys LEFT_CONTROL

      The Left Control key.

    - #### RIGHT_CONTROL

          public static final Keyboard.Keys RIGHT_CONTROL

      The Right Control key.

    - #### SHIFT

          public static final Keyboard.Keys SHIFT

      The Shift key.

    - #### LEFT_SHIFT

          public static final Keyboard.Keys LEFT_SHIFT

      The Left Shift.

    - #### RIGHT_SHIFT

          public static final Keyboard.Keys RIGHT_SHIFT

      The Right Shift.

    - #### SYSTEM

          public static final Keyboard.Keys SYSTEM

      The System key.

    - #### LEFT_SYSTEM

          public static final Keyboard.Keys LEFT_SYSTEM

      The Left System key.

    - #### RIGHT_SYSTEM

          public static final Keyboard.Keys RIGHT_SYSTEM

      The Right System key.

    - #### F1

          public static final Keyboard.Keys F1

      The F1 key.

    - #### F2

          public static final Keyboard.Keys F2

      The F2 key.

    - #### F3

          public static final Keyboard.Keys F3

      The F3 key.

    - #### F4

          public static final Keyboard.Keys F4

      The F4 key.

    - #### F5

          public static final Keyboard.Keys F5

      The F5 key.

    - #### F6

          public static final Keyboard.Keys F6

      The F6 key.

    - #### F7

          public static final Keyboard.Keys F7

      The F7 key.

    - #### F8

          public static final Keyboard.Keys F8

      The F8 key.

    - #### F9

          public static final Keyboard.Keys F9

      The F9 key.

    - #### F10

          public static final Keyboard.Keys F10

      The F10 key.

    - #### F11

          public static final Keyboard.Keys F11

      The F11 key.

    - #### F12

          public static final Keyboard.Keys F12

      The F12 key.

    - #### D0

          public static final Keyboard.Keys D0

      The 0 key.

    - #### D1

          public static final Keyboard.Keys D1

      The 1 key.

    - #### D2

          public static final Keyboard.Keys D2

      The 2 key.

    - #### D3

          public static final Keyboard.Keys D3

      The 3 key.

    - #### D4

          public static final Keyboard.Keys D4

      The 4 key.

    - #### D5

          public static final Keyboard.Keys D5

      The 5 key.

    - #### D6

          public static final Keyboard.Keys D6

      The 6 key.

    - #### D7

          public static final Keyboard.Keys D7

      The 7 key.

    - #### D8

          public static final Keyboard.Keys D8

      The 8 key.

    - #### D9

          public static final Keyboard.Keys D9

      The 9 key.

    - #### A

          public static final Keyboard.Keys A

      The A key.

    - #### B

          public static final Keyboard.Keys B

      The B key.

    - #### C

          public static final Keyboard.Keys C

      The C key.

    - #### D

          public static final Keyboard.Keys D

      The D key.

    - #### E

          public static final Keyboard.Keys E

      The E key.

    - #### F

          public static final Keyboard.Keys F

      The F key.

    - #### G

          public static final Keyboard.Keys G

      The G key.

    - #### H

          public static final Keyboard.Keys H

      The H key.

    - #### I

          public static final Keyboard.Keys I

      The I key.

    - #### J

          public static final Keyboard.Keys J

      The J key.

    - #### K

          public static final Keyboard.Keys K

      The K key.

    - #### L

          public static final Keyboard.Keys L

      The L key.

    - #### M

          public static final Keyboard.Keys M

      The M key.

    - #### N

          public static final Keyboard.Keys N

      The N key.

    - #### O

          public static final Keyboard.Keys O

      The O key.

    - #### P

          public static final Keyboard.Keys P

      The P key.

    - #### Q

          public static final Keyboard.Keys Q

      The Q key.

    - #### R

          public static final Keyboard.Keys R

      The R key.

    - #### S

          public static final Keyboard.Keys S

      The S key.

    - #### T

          public static final Keyboard.Keys T

      The T key.

    - #### U

          public static final Keyboard.Keys U

      The U key.

    - #### V

          public static final Keyboard.Keys V

      The V key.

    - #### W

          public static final Keyboard.Keys W

      The W key.

    - #### X

          public static final Keyboard.Keys X

      The X key.

    - #### Y

          public static final Keyboard.Keys Y

      The Y key.

    - #### Z

          public static final Keyboard.Keys Z

      The Z key.

    - #### GRAVE

          public static final Keyboard.Keys GRAVE

      The Grave key.

    - #### MINUS

          public static final Keyboard.Keys MINUS

      The Minus key.

    - #### EQUAL

          public static final Keyboard.Keys EQUAL

      The Equal key.

    - #### BACKSPACE

          public static final Keyboard.Keys BACKSPACE

      The Backspace key.

    - #### LEFT_BRACKET

          public static final Keyboard.Keys LEFT_BRACKET

      The Left Bracket key.

    - #### RIGHT_BRACKET

          public static final Keyboard.Keys RIGHT_BRACKET

      The Right Bracket key.

    - #### BACKSLASH

          public static final Keyboard.Keys BACKSLASH

      The Backslash key.

    - #### SEMICOLON

          public static final Keyboard.Keys SEMICOLON

      The Semicolon key.

    - #### QUOTE

          public static final Keyboard.Keys QUOTE

      The Quote key.

    - #### RETURN

          public static final Keyboard.Keys RETURN

      The Return key.

    - #### COMMA

          public static final Keyboard.Keys COMMA

      The Comma key.

    - #### PERIOD

          public static final Keyboard.Keys PERIOD

      The Period key.

    - #### SLASH

          public static final Keyboard.Keys SLASH

      The Slash key.

    - #### LEFT

          public static final Keyboard.Keys LEFT

      The Left key.

    - #### UP

          public static final Keyboard.Keys UP

      The Up key.

    - #### RIGHT

          public static final Keyboard.Keys RIGHT

      The Right key.

    - #### DOWN

          public static final Keyboard.Keys DOWN

      The Down key.

    - #### PRINT

          public static final Keyboard.Keys PRINT

      The Print key.

    - #### PAUSE

          public static final Keyboard.Keys PAUSE

      The Pause key.

    - #### INSERT

          public static final Keyboard.Keys INSERT

      The Insert key.

    - #### DELETE

          public static final Keyboard.Keys DELETE

      The Delete key.

    - #### HOME

          public static final Keyboard.Keys HOME

      The Home key.

    - #### END

          public static final Keyboard.Keys END

      The End key.

    - #### PAGE_UP

          public static final Keyboard.Keys PAGE_UP

      The Page Up key.

    - #### PAGE_DOWN

          public static final Keyboard.Keys PAGE_DOWN

      The Page Down key.

    - #### ADD

          public static final Keyboard.Keys ADD

      The Add key.

    - #### SUBTRACT

          public static final Keyboard.Keys SUBTRACT

      The Subtract key.

    - #### MULTIPLY

          public static final Keyboard.Keys MULTIPLY

      The Multiply key.

    - #### DIVIDE

          public static final Keyboard.Keys DIVIDE

      The Divide key.

    - #### DECIMAL

          public static final Keyboard.Keys DECIMAL

      The Decimal key.

    - #### ENTER

          public static final Keyboard.Keys ENTER

      The Enter key.

    - #### NUM0

          public static final Keyboard.Keys NUM0

      /// The Num 0 key.

    - #### NUM1

          public static final Keyboard.Keys NUM1

      /// The Num 1 key.

    - #### NUM2

          public static final Keyboard.Keys NUM2

      /// The Num 2 key.

    - #### NUM3

          public static final Keyboard.Keys NUM3

      /// The Num 3 key.

    - #### NUM4

          public static final Keyboard.Keys NUM4

      /// The Num 4 key.

    - #### NUM5

          public static final Keyboard.Keys NUM5

      /// The Num 5 key.

    - #### NUM6

          public static final Keyboard.Keys NUM6

      /// The Num 6 key.

    - #### NUM7

          public static final Keyboard.Keys NUM7

      /// The Num 7 key.

    - #### NUM8

          public static final Keyboard.Keys NUM8

      /// The Num 8 key.

    - #### NUM9

          public static final Keyboard.Keys NUM9

      /// The Num 9 key.

    - #### CAPSLOCK

          public static final Keyboard.Keys CAPSLOCK

      /// The CapsLock key.

    - #### SCROLLLOCK

          public static final Keyboard.Keys SCROLLLOCK

      /// The ScrollLock key.

    - #### NUMLOCK

          public static final Keyboard.Keys NUMLOCK

      /// The NumLock key.

  - ### Method Detail

    - #### values

          public static Keyboard.Keys[] values()

      Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

          for (Keyboard.Keys c : Keyboard.Keys.values())
              System.out.println(c);

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

    - #### valueOf

          public static Keyboard.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
        `java.lang.NullPointerException` - if the argument is null

    - #### getValue

          public java.lang.Integer getValue()

      Returns the integer value representing the Keys value.
      Specified by:
        `getValue` in interface `com.hp.lft.sdk.internal.EnumValueProvider<java.lang.Integer>`
      Returns:
        the integer value representing the Keys value.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: