public static enum ControllerAlert.AlertCode extends Enum<ControllerAlert.AlertCode>
Enum Constant and Description |
---|
ALERTCODE_CLEAR |
ALERTCODE_DISPOSED |
ALERTCODE_NEWNODE |
Modifier and Type | Method and Description |
---|---|
String |
getAlertCodeName() |
int |
getAlertCodeNumber() |
static ControllerAlert.AlertCode |
lookup(int num) |
static ControllerAlert.AlertCode |
lookup(String name) |
static Integer |
lookupNumber(String name) |
static ControllerAlert.AlertCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControllerAlert.AlertCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControllerAlert.AlertCode ALERTCODE_CLEAR
public static final ControllerAlert.AlertCode ALERTCODE_NEWNODE
public static final ControllerAlert.AlertCode ALERTCODE_DISPOSED
public static ControllerAlert.AlertCode[] values()
for (ControllerAlert.AlertCode c : ControllerAlert.AlertCode.values()) System.out.println(c);
public static ControllerAlert.AlertCode 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 int getAlertCodeNumber()
public String getAlertCodeName()
public static final ControllerAlert.AlertCode lookup(int num)
public static final ControllerAlert.AlertCode lookup(String name)
Copyright © 2023. All rights reserved.