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 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 Details

  • Method Details

    • 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