public static enum RibbonMenu.MENUTYPE extends Enum<RibbonMenu.MENUTYPE>
Enum Constant and Description |
---|
APPMENU
Excluding an extension
|
USERMENU
Excluding a file
|
Modifier and Type | Method and Description |
---|---|
static RibbonMenu.MENUTYPE |
createsFromString(String type)
Converts a string to a MENUTYPE
|
String |
toString() |
static RibbonMenu.MENUTYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RibbonMenu.MENUTYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RibbonMenu.MENUTYPE APPMENU
public static final RibbonMenu.MENUTYPE USERMENU
public static RibbonMenu.MENUTYPE[] values()
for (RibbonMenu.MENUTYPE c : RibbonMenu.MENUTYPE.values()) System.out.println(c);
public static RibbonMenu.MENUTYPE 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 nullpublic String toString()
toString
in class Enum<RibbonMenu.MENUTYPE>
public static RibbonMenu.MENUTYPE createsFromString(String type)
type
- The type to convert