Class BorderBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.markup.html.border.BorderBehavior
-
- All Implemented Interfaces:
Serializable
,IComponentAwareEventSink
,IComponentAwareHeaderContributor
,IClusterable
public class BorderBehavior extends Behavior
This is a behavior implementation that can be used if you have markup that should be around a component. It works just likeBorder
so you have to have a <wicket:border>HTML before <wicket:body/> HTML after </wicket:border> in the html of your subclass. But different than Border you can not add components to the Border markup, only to the BorderBody.- Author:
- jcompagner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BorderBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterRender(Component component)
Called when a component that has this behavior coupled was rendered.void
beforeRender(Component component)
Called when a component is about to render.-
Methods inherited from class org.apache.wicket.behavior.Behavior
bind, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, renderHead, unbind
-
-
-
-
Constructor Detail
-
BorderBehavior
public BorderBehavior()
-
-
Method Detail
-
beforeRender
public void beforeRender(Component component)
Description copied from class:Behavior
Called when a component is about to render.- Overrides:
beforeRender
in classBehavior
- Parameters:
component
- the component that has this behavior coupled
-
afterRender
public void afterRender(Component component)
Description copied from class:Behavior
Called when a component that has this behavior coupled was rendered.- Overrides:
afterRender
in classBehavior
- Parameters:
component
- the component that has this behavior coupled
-
-