Open topic with navigation

com.hp.lft.sdk

## Class Keys

- java.lang.Object
- - com.hp.lft.sdk.internal.VirtualKeys
  - - com.hp.lft.sdk.FunctionKeys
    - - com.hp.lft.sdk.Keys

-     public class Keys
      extends FunctionKeys

  Supplies constants representing keyboard keys, which can be used in the input parameter string of the `sendKeys` method.

- - ### Field Summary

    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `APPKEY` The Application key.
    `static java.lang.String` | `BACKSPACE` The Backspace key.
    `static java.lang.String` | `CAPS_LOCK_OFF` Turns off the CapsLock key.
    `static java.lang.String` | `CAPS_LOCK_ON` Turns on the CapsLock key.
    `static java.lang.String` | `DELETE` The Delete key.
    `static java.lang.String` | `DOWN` The Down (arrow) key.
    `static java.lang.String` | `END` The End key.
    `static java.lang.String` | `ESC` The Escape key.
    `static java.lang.String` | `HOME` The Home key.
    `static java.lang.String` | `INSERT` The Insert key.
    `static java.lang.String` | `LEFT` The Left (arrow) key.
    `static java.lang.String` | `NUM_LOCK_OFF` Turns off the NumLock key.
    `static java.lang.String` | `NUM_LOCK_ON` Turns on the NumLock key.
    `static java.lang.String` | `PAGE_DOWN` The PageDown key.
    `static java.lang.String` | `PAGE_UP` The PageUp key.
    `static java.lang.String` | `PAUSE` The Pause/Break key.
    `static java.lang.String` | `PRINTSCR` The PrintScreen key.
    `static java.lang.String` | `RETURN` The Return/Enter key.
    `static java.lang.String` | `RIGHT` The Right (arrow) key.
    `static java.lang.String` | `SCROLL_LOCK_OFF` Turns off the ScrollLock key.
    `static java.lang.String` | `SCROLL_LOCK_ON` Turns on the ScrollLock key.
    `static java.lang.String` | `TAB` The Tab key.
    `static java.lang.String` | `UP` The Up (arrow) key.

    - ### Fields inherited from class com.hp.lft.sdk.FunctionKeys

      `F1, F10, F11, F12, F2, F3, F4, F5, F6, F7, F8, F9`

    - ### Fields inherited from class com.hp.lft.sdk.internal.VirtualKeys

      `Prefix, Suffix`

  - ### Constructor Summary

    Constructor and Description
    `Keys()`

  - ### Method Summary

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### INSERT

          public static final java.lang.String INSERT

      The Insert key.
      See Also:
        Constant Field Values

    - #### DELETE

          public static final java.lang.String DELETE

      The Delete key.
      See Also:
        Constant Field Values

    - #### HOME

          public static final java.lang.String HOME

      The Home key.
      See Also:
        Constant Field Values

    - #### END

          public static final java.lang.String END

      The End key.
      See Also:
        Constant Field Values

    - #### PAGE_UP

          public static final java.lang.String PAGE_UP

      The PageUp key.
      See Also:
        Constant Field Values

    - #### PAGE_DOWN

          public static final java.lang.String PAGE_DOWN

      The PageDown key.
      See Also:
        Constant Field Values

    - #### UP

          public static final java.lang.String UP

      The Up (arrow) key.
      See Also:
        Constant Field Values

    - #### DOWN

          public static final java.lang.String DOWN

      The Down (arrow) key.
      See Also:
        Constant Field Values

    - #### LEFT

          public static final java.lang.String LEFT

      The Left (arrow) key.
      See Also:
        Constant Field Values

    - #### RIGHT

          public static final java.lang.String RIGHT

      The Right (arrow) key.
      See Also:
        Constant Field Values

    - #### ESC

          public static final java.lang.String ESC

      The Escape key.
      See Also:
        Constant Field Values

    - #### BACKSPACE

          public static final java.lang.String BACKSPACE

      The Backspace key.
      See Also:
        Constant Field Values

    - #### RETURN

          public static final java.lang.String RETURN

      The Return/Enter key.
      See Also:
        Constant Field Values

    - #### TAB

          public static final java.lang.String TAB

      The Tab key.
      See Also:
        Constant Field Values

    - #### PAUSE

          public static final java.lang.String PAUSE

      The Pause/Break key.
      See Also:
        Constant Field Values

    - #### PRINTSCR

          public static final java.lang.String PRINTSCR

      The PrintScreen key.
      See Also:
        Constant Field Values

    - #### APPKEY

          public static final java.lang.String APPKEY

      The Application key.
      See Also:
        Constant Field Values

    - #### NUM_LOCK_ON

          public static final java.lang.String NUM_LOCK_ON

      Turns on the NumLock key.
      See Also:
        Constant Field Values

    - #### CAPS_LOCK_ON

          public static final java.lang.String CAPS_LOCK_ON

      Turns on the CapsLock key.
      See Also:
        Constant Field Values

    - #### SCROLL_LOCK_ON

          public static final java.lang.String SCROLL_LOCK_ON

      Turns on the ScrollLock key.
      See Also:
        Constant Field Values

    - #### NUM_LOCK_OFF

          public static final java.lang.String NUM_LOCK_OFF

      Turns off the NumLock key.
      See Also:
        Constant Field Values

    - #### CAPS_LOCK_OFF

          public static final java.lang.String CAPS_LOCK_OFF

      Turns off the CapsLock key.
      See Also:
        Constant Field Values

    - #### SCROLL_LOCK_OFF

          public static final java.lang.String SCROLL_LOCK_OFF

      Turns off the ScrollLock key.
      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### Keys

          public Keys()