Enum Class KeyLocation

java.lang.Object
java.lang.Enum<KeyLocation>
com.teamdev.jxbrowser.ui.KeyLocation
All Implemented Interfaces:
Serializable, Comparable<KeyLocation>, Constable

public enum KeyLocation extends Enum<KeyLocation>
The location of the key on the keyboard or other input device.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The key was the left-hand version of the key.
    The key was on the numeric keypad, or has a virtual key code that corresponds to the numeric keypad.
    The key was the right-hand version of the key.
    The key has only one version, or cannot be distinguished between the left and right versions of the key, and was not pressed on the numeric keypad or a key that is considered to be part of the keypad.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static KeyLocation[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • STANDARD

      public static final KeyLocation STANDARD
      The key has only one version, or cannot be distinguished between the left and right versions of the key, and was not pressed on the numeric keypad or a key that is considered to be part of the keypad.
    • NUMERIC_KEYPAD

      public static final KeyLocation NUMERIC_KEYPAD
      The key was on the numeric keypad, or has a virtual key code that corresponds to the numeric keypad.
    • LEFT

      public static final KeyLocation LEFT
      The key was the left-hand version of the key.
  • Method Details

    • values

      public static KeyLocation[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static KeyLocation valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null