Class BorderBehavior

  • All Implemented Interfaces:
    java.io.Serializable, IComponentAwareEventSink, IComponentAwareHeaderContributor, org.apache.wicket.util.io.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 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 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