java.lang.Object
java.lang.Enum<Notification.OnClickBehaviour>
com.dlsc.gemsfx.infocenter.Notification.OnClickBehaviour
- All Implemented Interfaces:
Serializable
,Comparable<Notification.OnClickBehaviour>
- Enclosing class:
Notification<T>
A list of possible behaviours that are supported when the user clicks on a notification.
-
Enum Constant Summary
Enum ConstantDescriptionHide the parent view (the info center) when the user clicks on the notification.Hide the parent view and remove the notification from its group when the user clicks on it.Do nothing when the user clicks on the notification.Remove the notification from its group when the user clicks on it. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static Notification.OnClickBehaviour[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
Do nothing when the user clicks on the notification. -
REMOVE
Remove the notification from its group when the user clicks on it. -
HIDE
Hide the parent view (the info center) when the user clicks on the notification. -
HIDE_AND_REMOVE
Hide the parent view and remove the notification from its group when the user clicks on it.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-