|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AdministratorSession.AdminMenuChoice> airline.AdministratorSession.AdminMenuChoice
public static enum AdministratorSession.AdminMenuChoice
Serves as a return value from Connection.getAdminMainMenuChoice()
.
Enum Constant Summary | |
---|---|
ADD_FLIGHT
Should proceed to AdministratorSession.addFlightDialog() |
|
EXPORT
Should proceed to AdministratorSession.exportDatabaseDialog() |
|
IMPORT
Should proceed to AdministratorSession.importDatabaseDialog() |
|
LOGOUT
Should exit AdministratorSession.mainDialog() |
|
VIEW_PASSENGER_LIST
Should proceed to AdministratorSession.viewPassengerListDialog() |
Method Summary | |
---|---|
static AdministratorSession.AdminMenuChoice |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AdministratorSession.AdminMenuChoice[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AdministratorSession.AdminMenuChoice ADD_FLIGHT
AdministratorSession.addFlightDialog()
public static final AdministratorSession.AdminMenuChoice EXPORT
AdministratorSession.exportDatabaseDialog()
public static final AdministratorSession.AdminMenuChoice IMPORT
AdministratorSession.importDatabaseDialog()
public static final AdministratorSession.AdminMenuChoice LOGOUT
AdministratorSession.mainDialog()
public static final AdministratorSession.AdminMenuChoice VIEW_PASSENGER_LIST
AdministratorSession.viewPassengerListDialog()
Method Detail |
---|
public static AdministratorSession.AdminMenuChoice valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static AdministratorSession.AdminMenuChoice[] values()
for (AdministratorSession.AdminMenuChoice c : AdministratorSession.AdminMenuChoice.values()) System.out.println(c);
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |