org.apache.wicket.extensions.markup.html.repeater.tree.table
Interface ITreeDataProvider<T>

Type Parameters:
T - node type
All Superinterfaces:
IClusterable, IDataProvider<T>, IDetachable, Serializable
All Known Implementing Classes:
TreeDataProvider

public interface ITreeDataProvider<T>
extends IDataProvider<T>

An adapter from a ITreeProvider to a IDataProvider.

Author:
svenmeier

Method Summary
 NodeModel<T> model(T node)
          Wrap the given node in a NodeModel which provides additional branch information needed by TreeColumn.
 
Methods inherited from interface org.apache.wicket.markup.repeater.data.IDataProvider
iterator, size
 
Methods inherited from interface org.apache.wicket.model.IDetachable
detach
 

Method Detail

model

NodeModel<T> model(T node)
Wrap the given node in a NodeModel which provides additional branch information needed by TreeColumn.

Specified by:
model in interface IDataProvider<T>
Parameters:
node - node
Returns:
the model representation of the object


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