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,org.apache.wicket.IComponentAwareEventSink,org.apache.wicket.markup.html.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
Modifier and TypeMethodDescriptionvoidrenderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response) 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
public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response) - Specified by:
renderHeadin interfaceorg.apache.wicket.markup.html.IComponentAwareHeaderContributor- Overrides:
renderHeadin classorg.apache.wicket.behavior.Behavior
-