public enum MenuType extends java.lang.Enum<MenuType> implements com.hp.lft.sdk.internal.EnumValueProvider<java.lang.Integer>
Enum Constant and Description |
---|
CONTEXT_MENU
Context menu item type
|
ITEM
Regular menu item type
|
MENU
Menu type
|
SYSTEM_MENU
System menu type
|
UNKNOWN
Unknown menu type
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getValue()
Returns the integer value representing the MenuType value.
|
static MenuType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MenuType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuType UNKNOWN
public static final MenuType ITEM
public static final MenuType MENU
public static final MenuType CONTEXT_MENU
public static final MenuType SYSTEM_MENU
public static MenuType[] values()
for (MenuType c : MenuType.values()) System.out.println(c);
public static MenuType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Integer getValue()
getValue
in interface com.hp.lft.sdk.internal.EnumValueProvider<java.lang.Integer>