public enum TestsMenu extends Enum<TestsMenu>
Used for executing test routines
MainMenu
Enum Constant and Description |
---|
BACK |
BRUTEFORCE |
COLOR |
FLIP |
Modifier and Type | Field and Description |
---|---|
private String |
textRepresentation |
private static String |
title |
private int |
value |
Modifier and Type | Method and Description |
---|---|
static String[] |
getItems() |
static String |
getTitle() |
(package private) int |
getValue() |
String |
toString() |
static TestsMenu |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestsMenu[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestsMenu BRUTEFORCE
public static final TestsMenu COLOR
public static final TestsMenu FLIP
public static final TestsMenu BACK
private static final String title
private final int value
private final String textRepresentation
public static TestsMenu[] values()
for (TestsMenu c : TestsMenu.values()) System.out.println(c);
public static TestsMenu 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 nullint getValue()
public static String[] getItems()
public static String getTitle()