Open topic with navigation

com.hp.lft.sdk.java

# Enum TableKeyModifier

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

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TableKeyModifier>

      public enum TableKeyModifier
      extends java.lang.Enum<TableKeyModifier>

  Represents keyboard keys that can be pressed and held down during the execution of a table method, such as the click method.

- - ### Enum Constant Summary

    Enum Constant and Description
    `ALT` An Alt key.
    `CONTROL` A control key.
    `CONTROL_SHIFT` Control and Shift keys pressed simultaneously.
    `SHIFT` A Shift key.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `static TableKeyModifier` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static TableKeyModifier[]` | `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

    - #### SHIFT

          public static final TableKeyModifier SHIFT

      A Shift key.

    - #### CONTROL

          public static final TableKeyModifier CONTROL

      A control key.

    - #### ALT

          public static final TableKeyModifier ALT

      An Alt key.

    - #### CONTROL_SHIFT

          public static final TableKeyModifier CONTROL_SHIFT

      Control and Shift keys pressed simultaneously.

  - ### Method Detail

    - #### values

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

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

    - #### valueOf

          public static TableKeyModifier 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