Module org.apache.wicket.extensions
Class TrapFocusBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.extensions.ajax.markup.html.modal.TrapFocusBehavior
- All Implemented Interfaces:
Serializable,IComponentAwareEventSink,IComponentAwareHeaderContributor,org.apache.wicket.util.io.IClusterable
Trap focus inside a component's markup.
- Author:
- svenmeier
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringResource key for a CSS class to be applied to the current active focus-trap. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, unbind
-
Field Details
-
CSS_CURRENT_KEY
Resource key for a CSS class to be applied to the current active focus-trap.
-
-
Constructor Details
-
TrapFocusBehavior
public TrapFocusBehavior()
-
-
Method Details
-
renderHead
- Specified by:
renderHeadin interfaceIComponentAwareHeaderContributor- Overrides:
renderHeadin classBehavior
-