T
- node typeS
- the type of the sort propertypublic class TreeColumn<T,S> extends AbstractTreeColumn<T,S>
Constructor and Description |
---|
TreeColumn(IModel<String> displayModel)
Construct.
|
TreeColumn(IModel<String> displayModel,
S sortProperty)
Construct.
|
Modifier and Type | Method and Description |
---|---|
String |
getCssClass()
Returns the css class for this column.
|
void |
populateItem(Item<ICellPopulator<T>> cellItem,
String componentId,
IModel<T> rowModel)
Method used to populate a cell in the
DataGridView
Implementation MUST add a component to the cellItem using the component id provided by
componentId argument, otherwise a WicketRuntimeException will be thrown |
getTree, setTree
detach, getDisplayModel, getHeader, getSortProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHeader, getHeaderColspan, getHeaderRowspan, getSortProperty, isSortable
detach
public TreeColumn(IModel<String> displayModel)
displayModel
- model used to generate header textpublic String getCssClass()
IStyledColumn
getCssClass
in interface IStyledColumn<T,S>
getCssClass
in class AbstractColumn<T,S>
public void populateItem(Item<ICellPopulator<T>> cellItem, String componentId, IModel<T> rowModel)
ICellPopulator
DataGridView
Implementation MUST add a component to the cellItem using the component id provided by
componentId argument, otherwise a WicketRuntimeException will be throwncellItem
- the item representing the current table cell being renderedcomponentId
- the id of the component used to render the cell (only one component should be
added to the cell)rowModel
- the model of the row item being rendered. this model usually contains the model
provided by the data provider.Item
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.