org.apache.wicket.extensions.markup.html.repeater.tree.table
Class NodeBorder

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by 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 nested DIVs 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
NodeBorder(boolean[] branches)
           
 
Method Summary
 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, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, renderHead, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeBorder

public NodeBorder(boolean[] branches)
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

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 class Behavior
Parameters:
component - the component that renders this tag currently
tag - 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 class Behavior
Parameters:
component - the component that has this behavior coupled


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.