Class NodeBorder
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.extensions.markup.html.repeater.tree.table.NodeBorder
-
- All Implemented Interfaces:
Serializable
,IComponentAwareEventSink
,IComponentAwareHeaderContributor
,IClusterable
public class NodeBorder extends Behavior
A border for a node component which renders nestedDIV
s to simulate the structure of parental branches inside a tabular layout.- Author:
- svenmeier
- See Also:
NodeModel
,TreeColumn.populateItem(Item, String, IModel)
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeBorder(boolean[] branches)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterRender(Component component)
Called when a component that has this behavior coupled was rendered.void
beforeRender(Component component)
Called when a component is about to render.void
onComponentTag(Component component, ComponentTag tag)
Called any time a component that has this behavior registered is rendering the component tag.-
Methods inherited from class org.apache.wicket.behavior.Behavior
bind, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag, renderHead, unbind
-
-
-
-
Constructor Detail
-
NodeBorder
public NodeBorder(boolean[] branches)
- Parameters:
branches
- branch
-
-
Method Detail
-
beforeRender
public void beforeRender(Component component)
Description copied from class:Behavior
Called when a component is about to render.- Overrides:
beforeRender
in classBehavior
- Parameters:
component
- the component that has this behavior coupled
-
onComponentTag
public void onComponentTag(Component component, ComponentTag tag)
Description copied from class:Behavior
Called any time a component that has this behavior registered is rendering the component tag.- Overrides:
onComponentTag
in classBehavior
- Parameters:
component
- the component that renders this tag currentlytag
- the tag that is rendered
-
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 classBehavior
- Parameters:
component
- the component that has this behavior coupled
-
-