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
public class TrapFocusBehavior extends org.apache.wicket.behavior.Behavior
Trap focus inside a component's markup.- Author:
- svenmeier
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCSS_CURRENT_KEYResource key for a CSS class to be applied to the current active focus-trap.
-
Constructor Summary
Constructors Constructor Description TrapFocusBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrenderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
-
-
-
Field Detail
-
CSS_CURRENT_KEY
public static final String CSS_CURRENT_KEY
Resource key for a CSS class to be applied to the current active focus-trap.
-
-
Constructor Detail
-
TrapFocusBehavior
public TrapFocusBehavior()
-
-
Method Detail
-
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
-
-