@Deprecated public abstract class AbstractColumn extends Object implements IColumn
| Constructor and Description |
|---|
AbstractColumn(ColumnLocation location,
org.apache.wicket.model.IModel<String> header)
Deprecated.
Creates the tree column.
|
AbstractColumn(ColumnLocation location,
String header)
Deprecated.
Creates the tree column.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnLocation |
getLocation()
Deprecated.
Returns a location of this column.
|
int |
getSpan(TreeNode node)
Deprecated.
Returns the span for this cell.
|
protected TreeTable |
getTreeTable()
Deprecated.
Returns the tree table that this columns belongs to.
|
boolean |
isVisible()
Deprecated.
Returns, whether the column is visible.
|
org.apache.wicket.Component |
newHeader(org.apache.wicket.MarkupContainer parent,
String id)
Deprecated.
Creates the header element for this column.
|
void |
setTreeTable(TreeTable treeTable)
Deprecated.
Sets the tree table this cell belongs to.
|
public AbstractColumn(ColumnLocation location, String header)
location - Specifies how the column should be aligned and what his size should beheader - Header captionpublic AbstractColumn(ColumnLocation location, org.apache.wicket.model.IModel<String> header)
location - Specifies how the column should be aligned and what his size should beheader - Header captionpublic ColumnLocation getLocation()
IColumn
In case location of a column changes, it is necessary to call the invalidateAll
methods on the TreeTable to prevent incorrect rendering.
getLocation in interface IColumnIColumn.getLocation()public int getSpan(TreeNode node)
IColumnThe returned value implicates, over how many cells the cell in this column (in row determined by node) should span. This is analogical to colspan property of html element td.
getSpan in interface IColumnnode - The tree nodeIColumn.getSpan(TreeNode)public boolean isVisible()
IColumn
In case the visibility changes, it is necessary to call the invalidateAll
methods on the TreeTable to prevent incorrect rendering.
isVisible in interface IColumnIColumn.isVisible()public org.apache.wicket.Component newHeader(org.apache.wicket.MarkupContainer parent,
String id)
IColumnnewHeader in interface IColumnparent - The parent componentid - The component idIColumn.newHeader(MarkupContainer, String)public void setTreeTable(TreeTable treeTable)
IColumnsetTreeTable in interface IColumntreeTable - The tree tableIColumn.setTreeTable(TreeTable)protected TreeTable getTreeTable()
Copyright © 2016. All Rights Reserved.