org.efaps.ui.wicket.behaviors.dojo
Class BorderBehavior
java.lang.Object
org.apache.wicket.behavior.AbstractBehavior
org.efaps.ui.wicket.behaviors.dojo.AbstractDojoBehavior
org.efaps.ui.wicket.behaviors.dojo.BorderBehavior
- All Implemented Interfaces:
- java.io.Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.IClusterable, org.apache.wicket.markup.html.IHeaderContributor
public class BorderBehavior
- extends AbstractDojoBehavior
Class renders a dojo border. It can be used to render a slipt between the
children of this container. BorderContainer operates in a choice of two
layout modes:
the design attribute may be set to "headline" (by default) or "sidebar". With
the "headline" layout, the top and bottom sections extend the entire width of
the box and the remaining regions are placed in the middle. With the
"sidebar" layout, the side panels take priority, extending the full height of
the box.
- Version:
- $Id: BorderBehavior.java 3447 2009-11-29 22:46:39Z tim.moxter $
- Author:
- The eFaps Team
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
BorderBehavior.Design
Enum for the different Designs of a dojo BorderContainer. |
|
Method Summary |
void |
onComponentTag(org.apache.wicket.Component _component,
org.apache.wicket.markup.ComponentTag _tag)
The tag of the related component must be set, so that a dojo
BorderContainer will be rendered. |
| Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
afterRender, bind, cleanup, detach, detachModel, exception, getStatelessHint, isEnabled, isTemporary, onException, onRendered, rendered |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BorderBehavior
public BorderBehavior(BorderBehavior.Design _design)
- Constructor.
- Parameters:
_design - Design for this BorderBehavior.
onComponentTag
public void onComponentTag(org.apache.wicket.Component _component,
org.apache.wicket.markup.ComponentTag _tag)
- The tag of the related component must be set, so that a dojo
BorderContainer will be rendered.
- Specified by:
onComponentTag in interface org.apache.wicket.behavior.IBehavior- Overrides:
onComponentTag in class org.apache.wicket.behavior.AbstractBehavior
- Parameters:
_component - component this Behavior belongs to_tag - Tag to write to
Copyright © 2003-2010 The eFaps Team. All Rights Reserved.