org.apache.wicket.markup.html.border
Class MarkupComponentBorder
java.lang.Object
org.apache.wicket.behavior.AbstractBehavior
org.apache.wicket.markup.html.border.MarkupComponentBorder
- All Implemented Interfaces:
- Serializable, IBehavior, IClusterable, IHeaderContributor
- Direct Known Subclasses:
- BeforeAndAfterBorder
public class MarkupComponentBorder
- extends AbstractBehavior
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.
- Author:
- jcompagner
- See Also:
- Serialized Form
Method Summary |
void |
beforeRender(Component component)
Called when a component is about to render. |
void |
onRendered(Component component)
Called when a component that has this behavior coupled was rendered. |
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
afterRender, bind, cleanup, detach, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag, onException, renderHead, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarkupComponentBorder
public MarkupComponentBorder()
beforeRender
public void beforeRender(Component component)
- Description copied from interface:
IBehavior
- Called when a component is about to render.
- Specified by:
beforeRender
in interface IBehavior
- Overrides:
beforeRender
in class AbstractBehavior
- Parameters:
component
- the component that has this behavior coupled- See Also:
AbstractBehavior.beforeRender(org.apache.wicket.Component)
onRendered
public void onRendered(Component component)
- Description copied from class:
AbstractBehavior
- Called when a component that has this behavior coupled was rendered.
- Overrides:
onRendered
in class AbstractBehavior
- Parameters:
component
- the component that has this behavior coupled- See Also:
AbstractBehavior.onRendered(org.apache.wicket.Component)
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.