Enum AjaxRequestAttributes.EventPropagation
- java.lang.Object
-
- java.lang.Enum<AjaxRequestAttributes.EventPropagation>
-
- org.apache.wicket.ajax.attributes.AjaxRequestAttributes.EventPropagation
-
- All Implemented Interfaces:
Serializable
,Comparable<AjaxRequestAttributes.EventPropagation>
- Enclosing class:
- AjaxRequestAttributes
public static enum AjaxRequestAttributes.EventPropagation extends Enum<AjaxRequestAttributes.EventPropagation>
The JavaScript event propagation type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUBBLE
Do not stop the propagation of the JavaScript eventSTOP
Stops the propagation of the JavaScript event to the parent of its targetSTOP_IMMEDIATE
Stops the propagation of the JavaScript event to the parent of its target and all other event listeners registered on the same target
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AjaxRequestAttributes.EventPropagation
valueOf(String name)
Returns the enum constant of this type with the specified name.static AjaxRequestAttributes.EventPropagation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOP
public static final AjaxRequestAttributes.EventPropagation STOP
Stops the propagation of the JavaScript event to the parent of its target
-
STOP_IMMEDIATE
public static final AjaxRequestAttributes.EventPropagation STOP_IMMEDIATE
Stops the propagation of the JavaScript event to the parent of its target and all other event listeners registered on the same target
-
BUBBLE
public static final AjaxRequestAttributes.EventPropagation BUBBLE
Do not stop the propagation of the JavaScript event
-
-
Method Detail
-
values
public static AjaxRequestAttributes.EventPropagation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AjaxRequestAttributes.EventPropagation c : AjaxRequestAttributes.EventPropagation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AjaxRequestAttributes.EventPropagation valueOf(String name)
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
-
-