| org.apache.wicket.markup.html.WebMarkupContainer org.apache.wicket.extensions.markup.html.tree.table.MiddleColumnsView
MiddleColumnsView | final class MiddleColumnsView extends WebMarkupContainer (Code) | | Class that renders cells of columns aligned in the middle. This class also
takes care of counting their widths and of column spans.
author: Matej Knopp |
MiddleColumnsView | public MiddleColumnsView(String id, TreeNode node, boolean treeHasLeftColumn)(Code) | | Constructor.
Parameters: id - The component id Parameters: node - The tree node Parameters: treeHasLeftColumn - Whether there is a column aligned to left in the tree table |
addColumn | public void addColumn(IColumn column, Component component, IRenderable renderable)(Code) | | Adds a column to be rendered.
Parameters: column - The column to render Parameters: component - The component Parameters: renderable - The renderer |
computeColumnWidths | protected double[] computeColumnWidths()(Code) | | Computes the percentagle widths of columns. If a column spans over other
columns, the widths of those columns will be zero.
widths of columns |
onRender | protected void onRender(MarkupStream markupStream)(Code) | | Renders all columns.
Parameters: markupStream - The markup stream of this component |
|
|