java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.markup.html.border.BorderBehavior
- All Implemented Interfaces:
Serializable
,IComponentAwareEventSink
,IComponentAwareHeaderContributor
,IClusterable
This is a behavior implementation that can be used if you have markup that should be around a
component. It works just like
Border
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:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
BorderBehavior
public BorderBehavior()
-
-
Method Details
-
beforeRender
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
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
-