Enum Class MenuType

java.lang.Object
java.lang.Enum<MenuType>
com.hp.lft.sdk.stdwin.MenuType
All Implemented Interfaces:
com.hp.lft.sdk.internal.EnumValueProvider<Integer>, Serializable, Comparable<MenuType>, java.lang.constant.Constable

public enum MenuType extends Enum<MenuType> implements com.hp.lft.sdk.internal.EnumValueProvider<Integer>
The supported menu types used by the MenuDescription class
  • Enum Constant Details

    • UNKNOWN

      public static final MenuType UNKNOWN
      Unknown menu type
    • ITEM

      public static final MenuType ITEM
      Regular menu item type
    • CONTEXT_MENU

      public static final MenuType CONTEXT_MENU
      Context menu item type
    • SYSTEM_MENU

      public static final MenuType SYSTEM_MENU
      System menu type
  • Method Details

    • values

      public static MenuType[] 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 MenuType 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
    • getValue

      public Integer getValue()
      Returns the integer value representing the MenuType value.
      Specified by:
      getValue in interface com.hp.lft.sdk.internal.EnumValueProvider<Integer>
      Returns:
      the integer value representing the MenuType value.