Package org.vaadin.spring.events
Enum Class EventScope
- All Implemented Interfaces:
Serializable,Comparable<EventScope>,Constable
Enumeration of event scopes.
- Author:
- Petter Holmström (petter@vaadin.com)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe event is application wide.The event is specific to the current (Vaadin) session.The event is specific to the current UI.Undefined event scope.The event is specific to the current view. -
Method Summary
Modifier and TypeMethodDescriptionstatic EventScopeReturns the enum constant of this class with the specified name.static EventScope[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPLICATION
The event is application wide. -
SESSION
The event is specific to the current (Vaadin) session. -
UI
The event is specific to the current UI. -
VIEW
The event is specific to the current view. -
UNDEFINED
Undefined event scope. An internal event scope used only when no scope has been explicitly defined.- See Also:
-
-
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
-