|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NotificationOption> com.alee.managers.notification.NotificationOption
public enum NotificationOption
This enumeration represents available predefined question notification option types.
Enum Constant Summary | |
---|---|
accept
Accept option. |
|
apply
Decline option. |
|
cancel
Cancel option. |
|
choose
Choose option. |
|
commit
Decline option. |
|
decline
Decline option. |
|
discard
Discard option. |
|
no
No option. |
|
open
Open option. |
|
reset
Reset option. |
|
retry
Retry option. |
|
save
Save option. |
|
yes
Yes option. |
Method Summary | |
---|---|
java.lang.String |
getLanguageKey()
Returns language key for this option. |
java.lang.String |
getText()
Returns translation text for this option. |
static NotificationOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NotificationOption[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 NotificationOption yes
public static final NotificationOption no
public static final NotificationOption cancel
public static final NotificationOption choose
public static final NotificationOption accept
public static final NotificationOption decline
public static final NotificationOption apply
public static final NotificationOption commit
public static final NotificationOption discard
public static final NotificationOption reset
public static final NotificationOption retry
public static final NotificationOption save
public static final NotificationOption open
Method Detail |
---|
public static NotificationOption[] values()
for (NotificationOption c : NotificationOption.values()) System.out.println(c);
public static NotificationOption 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getLanguageKey()
public java.lang.String getText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |