public static enum PositionDescriptor.PositionType extends Enum<PositionDescriptor.PositionType>
Enum Constant and Description |
---|
AFTER
The entry is added after another entry which is identified by an ID
|
BOTTOM
The entry is added to the bottom of the menu or menu item.
|
TOP
The entry is added to the top of the menu or menu item.
|
Modifier and Type | Method and Description |
---|---|
static PositionDescriptor.PositionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PositionDescriptor.PositionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PositionDescriptor.PositionType AFTER
public static final PositionDescriptor.PositionType BOTTOM
public static final PositionDescriptor.PositionType TOP
public static PositionDescriptor.PositionType[] values()
for (PositionDescriptor.PositionType c : PositionDescriptor.PositionType.values()) System.out.println(c);
public static PositionDescriptor.PositionType 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 © 2019 Communote team. All rights reserved.