public enum LoadoutMode extends java.lang.Enum<LoadoutMode>
LoadoutListVH
i.e. When I click the delete button, the DELETE
mode is set and
MappingAdapterEventReceiver.eventReceived(Object)
is called. The
receiver then knows the user wants to delete the loadout.Modifier and Type | Method and Description |
---|---|
static LoadoutMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoadoutMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadoutMode VIEW
public static final LoadoutMode SELECT
public static final LoadoutMode EDIT
public static final LoadoutMode DELETE
public static LoadoutMode[] values()
for (LoadoutMode c : LoadoutMode.values()) System.out.println(c);
public static LoadoutMode 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 null