public static enum ExpertPrefsDlg.TimeOption extends java.lang.Enum<ExpertPrefsDlg.TimeOption>
Each option is a couple where
| Modifier and Type | Method and Description |
|---|---|
static ExpertPrefsDlg.TimeOption |
fromInt(int val)
Return the
TimeOption having the parameter
as value; |
java.lang.String |
toString() |
static ExpertPrefsDlg.TimeOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExpertPrefsDlg.TimeOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpertPrefsDlg.TimeOption UNLIMITED
public static final ExpertPrefsDlg.TimeOption H1
public static final ExpertPrefsDlg.TimeOption H3
public static final ExpertPrefsDlg.TimeOption H5
public static final ExpertPrefsDlg.TimeOption H12
public static final ExpertPrefsDlg.TimeOption D1
public static ExpertPrefsDlg.TimeOption[] values()
for (ExpertPrefsDlg.TimeOption c : ExpertPrefsDlg.TimeOption.values()) System.out.println(c);
public static ExpertPrefsDlg.TimeOption 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<ExpertPrefsDlg.TimeOption>public static ExpertPrefsDlg.TimeOption fromInt(int val)
TimeOption having the parameter
as value;val - The value to get the TimeOption fromTimeOption having the parameter as value or
null if there is no TimeOption
having the parameter as value