public enum MenuItems extends Enum<MenuItems>
Enum Constant and Description |
---|
COPY |
CUSTOM |
DELETE |
DOWNLOAD |
HISTORY |
RENAME |
RESTORE |
SAVE |
VALIDATE |
Modifier and Type | Method and Description |
---|---|
static MenuItems |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MenuItems[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuItems SAVE
public static final MenuItems DELETE
public static final MenuItems RENAME
public static final MenuItems COPY
public static final MenuItems VALIDATE
public static final MenuItems RESTORE
public static final MenuItems CUSTOM
public static final MenuItems HISTORY
public static final MenuItems DOWNLOAD
public static MenuItems[] values()
for (MenuItems c : MenuItems.values()) System.out.println(c);
public static MenuItems valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 JBoss by Red Hat. All rights reserved.