Package at.bestsolution.uia
Enum Class NotificationKind
- All Implemented Interfaces:
INativeEnum,Serializable,Comparable<NotificationKind>,Constable
Defines values that indicate the type of a notification event, and a hint to the listener about the processing of the event. For example, if multiple notifications are received, they should all be read, or only the last one should be read, and so on.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe current element has a notification that an action was aborted.The current element has a notification that an action was completed.The current element and/or the container has had something added to it that should be presented to the user.The current element has had something removed from inside of it that should be presented to the user.The current element has a notification not an add, remove, completed, or aborted action. -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<NotificationKind>fromNativeValue(int nativeValue) intstatic NotificationKindReturns the enum constant of this class with the specified name.static NotificationKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ItemAdded
The current element and/or the container has had something added to it that should be presented to the user. -
ItemRemoved
The current element has had something removed from inside of it that should be presented to the user. -
ActionCompleted
The current element has a notification that an action was completed. -
ActionAborted
The current element has a notification that an action was aborted. -
Other
The current element has a notification not an add, remove, completed, or aborted action.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNativeValue
public int getNativeValue()- Specified by:
getNativeValuein interfaceINativeEnum
-
getConstantName
- Specified by:
getConstantNamein interfaceINativeEnum
-
fromNativeValue
-