Open topic with navigation

com.hp.lft.sdk.oracle

# Enum SoftKeys

Note: Supported in LeanFT versions 14.52 and later.

- java.lang.Object
- - java.lang.Enum<SoftKeys>
  - - com.hp.lft.sdk.oracle.SoftKeys

- All Implemented Interfaces:
    Serializable, Comparable<SoftKeys>

      public enum SoftKeys
      extends Enum<SoftKeys>

  Represents keyboard keys that can be pressed during the execution of a method, such as the SendKey method.

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `BLOCK_MENU`
    `CLEAR_BLOCK`
    `CLEAR_FIELD`
    `CLEAR_FORM`
    `CLEAR_RECORD`
    `COMMIT`
    `COUNT_QUERY`
    `DELETE_RECORD`
    `DISPLAY_ERROR`
    `DOWN`
    `DUPLICATE_FIELD`
    `DUPLICATE_RECORD`
    `EDIT`
    `ENTER_QUERY`
    `EXECUTE_QUERY`
    `EXIT`
    `F0`
    `F1`
    `F2`
    `F3`
    `F4`
    `F5`
    `F6`
    `F7`
    `F8`
    `F9`
    `HELP`
    `INSERT_RECORD`
    `LIST_OF_VALUES`
    `LIST_TAB_PAGES`
    `NEXT_BLOCK`
    `NEXT_FIELD`
    `NEXT_PRIMARY_KEY`
    `NEXT_RECORD`
    `NEXT_SET_OF_RECORDS`
    `PREVIOUS_BLOCK`
    `PREVIOUS_FIELD`
    `PREVIOUS_RECORD`
    `PRINT`
    `RETURN`
    `SCROLL_DOWN`
    `SCROLL_UP`
    `SHOW_KEYS`
    `UP`
    `UPDATE_RECORD`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getSoftKeysString()`
    `static SoftKeys` | `valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static SoftKeys[]` | `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

    - #### NEXT_FIELD

          public static final SoftKeys NEXT_FIELD

    - #### PREVIOUS_FIELD

          public static final SoftKeys PREVIOUS_FIELD

    - #### CLEAR_FIELD

          public static final SoftKeys CLEAR_FIELD

    - #### UP

          public static final SoftKeys UP

    - #### DOWN

          public static final SoftKeys DOWN

    - #### SCROLL_UP

          public static final SoftKeys SCROLL_UP

    - #### SCROLL_DOWN

          public static final SoftKeys SCROLL_DOWN

    - #### EDIT

          public static final SoftKeys EDIT

    - #### RETURN

          public static final SoftKeys RETURN

    - #### LIST_OF_VALUES

          public static final SoftKeys LIST_OF_VALUES

    - #### HELP

          public static final SoftKeys HELP

    - #### EXIT

          public static final SoftKeys EXIT

    - #### SHOW_KEYS

          public static final SoftKeys SHOW_KEYS

    - #### COMMIT

          public static final SoftKeys COMMIT

    - #### NEXT_PRIMARY_KEY

          public static final SoftKeys NEXT_PRIMARY_KEY

    - #### CLEAR_RECORD

          public static final SoftKeys CLEAR_RECORD

    - #### DELETE_RECORD

          public static final SoftKeys DELETE_RECORD

    - #### DUPLICATE_RECORD

          public static final SoftKeys DUPLICATE_RECORD

    - #### INSERT_RECORD

          public static final SoftKeys INSERT_RECORD

    - #### NEXT_SET_OF_RECORDS

          public static final SoftKeys NEXT_SET_OF_RECORDS

    - #### NEXT_RECORD

          public static final SoftKeys NEXT_RECORD

    - #### PREVIOUS_RECORD

          public static final SoftKeys PREVIOUS_RECORD

    - #### CLEAR_BLOCK

          public static final SoftKeys CLEAR_BLOCK

    - #### BLOCK_MENU

          public static final SoftKeys BLOCK_MENU

    - #### NEXT_BLOCK

          public static final SoftKeys NEXT_BLOCK

    - #### PREVIOUS_BLOCK

          public static final SoftKeys PREVIOUS_BLOCK

    - #### DUPLICATE_FIELD

          public static final SoftKeys DUPLICATE_FIELD

    - #### CLEAR_FORM

          public static final SoftKeys CLEAR_FORM

    - #### ENTER_QUERY

          public static final SoftKeys ENTER_QUERY

    - #### EXECUTE_QUERY

          public static final SoftKeys EXECUTE_QUERY

    - #### DISPLAY_ERROR

          public static final SoftKeys DISPLAY_ERROR

    - #### PRINT

          public static final SoftKeys PRINT

    - #### COUNT_QUERY

          public static final SoftKeys COUNT_QUERY

    - #### UPDATE_RECORD

          public static final SoftKeys UPDATE_RECORD

    - #### F0

          public static final SoftKeys F0

    - #### F1

          public static final SoftKeys F1

    - #### F2

          public static final SoftKeys F2

    - #### F3

          public static final SoftKeys F3

    - #### F4

          public static final SoftKeys F4

    - #### F5

          public static final SoftKeys F5

    - #### F6

          public static final SoftKeys F6

    - #### F7

          public static final SoftKeys F7

    - #### F8

          public static final SoftKeys F8

    - #### F9

          public static final SoftKeys F9

    - #### LIST_TAB_PAGES

          public static final SoftKeys LIST_TAB_PAGES

  - ### Method Detail

    - #### values

          public static SoftKeys[] 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 (SoftKeys c : SoftKeys.values())
              System.out.println(c);

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

    - #### valueOf

          public static SoftKeys valueOf(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:
        `IllegalArgumentException` - if this enum type has no constant with the specified name
        `NullPointerException` - if the argument is null

    - #### getSoftKeysString

          public String getSoftKeysString()