org.apache.wicket.markup.html.border
Class BorderBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.apache.wicket.markup.html.border.BorderBehavior
All Implemented Interfaces:
java.io.Serializable, IClusterable, IComponentAwareEventSink, IComponentAwareHeaderContributor
Direct Known Subclasses:
MarkupComponentBorder

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 like Border so you have to have a HTML beforeHTML after 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
BorderBehavior()
           
 
Method Summary
 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, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, renderHead, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class Behavior
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 class Behavior
Parameters:
component - the component that has this behavior coupled


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.