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

java.lang.Object
  extended by org.apache.wicket.markup.html.border.MarkupComponentBorder
All Implemented Interfaces:
java.io.Serializable, IClusterable, IComponentBorder
Direct Known Subclasses:
BeforeAndAfterBorder

public class MarkupComponentBorder
extends java.lang.Object
implements IComponentBorder

This is a IComponentBorder 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.

Author:
jcompagner
See Also:
Serialized Form

Constructor Summary
MarkupComponentBorder()
           
 
Method Summary
 void renderAfter(Component component)
          Called after the component is renderd.
 void renderBefore(Component component)
          Called before the component is rendered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkupComponentBorder

public MarkupComponentBorder()
Method Detail

renderBefore

public void renderBefore(Component component)
Description copied from interface: IComponentBorder
Called before the component is rendered.

Specified by:
renderBefore in interface IComponentBorder
See Also:
IComponentBorder.renderBefore(org.apache.wicket.Component)

renderAfter

public void renderAfter(Component component)
Description copied from interface: IComponentBorder
Called after the component is renderd.

Specified by:
renderAfter in interface IComponentBorder
See Also:
IComponentBorder.renderAfter(org.apache.wicket.Component)


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.