- All Implemented Interfaces:
Serializable
,Comparable<Broadcast>
,Constable
Defines the event broadcast type.
- Author:
- igor
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
-
Enum Constant Details
-
BREADTH
Breadth first traversal. Supported sinks in order of traversal: Components receive the event with a preorder breadth-first traversal, eg: Apply recursively:- The component receives the event
- The component's children receive the event
- If a component inside the page is specified then only the component and all its children will receive the event
- If Session is specified then the session, the request cycle, the page and all its components will receive the event
-
DEPTH
Depth first traversal. Supported sinks in order of traversal: Components receive the event with a postorder depth-first traversal, eg: Apply recursively:- The component's children receive the event
- The component receives the event
- If a component inside the page is specified then only the component and all its children will receive the event
- If Session is specified then the session, the request cycle, the page and all its components will receive the event
-
BUBBLE
A bubble-up traversal. In a bubble-up traversal only the sink and its parents are notified. Supported sinks in order of traversal are: Any sink along the path can be specified and traversal will start at the specified sink and work its way up to theApplication
, eg:- If a component inside the page is specified then only the component, its parents, the request cycle, the session, and the application will be notified.
- If Session is specified then the session, the application will be notified
-
EXACT
Only the specified sink receives the event
-
-
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
-