Search this API

y.view.tabular
Interface TableGroupNodeRealizer.ColumnContainer

All Known Subinterfaces:
TableGroupNodeRealizer.Column, TableGroupNodeRealizer.Table
Enclosing class:
TableGroupNodeRealizer

public static interface TableGroupNodeRealizer.ColumnContainer

A container for columns.

 

Method Summary
 TableGroupNodeRealizer.Column addColumn()
          Adds a new last column in the container.
 TableGroupNodeRealizer.Column addColumn(int position)
          Adds a new column at the specified position in the container.
 int columnCount()
          Returns the number of columns in this container.
 TableGroupNodeRealizer.Column getColumn(int index)
          Returns the column at the specified position in the container.
 java.util.List getColumns()
          Returns a read-only List view of the container's columns.
 

Method Detail

addColumn

TableGroupNodeRealizer.Column addColumn()
Adds a new last column in the container.

Returns:
the newly created last column of the container.

addColumn

TableGroupNodeRealizer.Column addColumn(int position)
Adds a new column at the specified position in the container.

Parameters:
position - the position of the new column.
Returns:
the newly created column at the specified position in the container.

getColumn

TableGroupNodeRealizer.Column getColumn(int index)
Returns the column at the specified position in the container.

Parameters:
index - the index of the column to return.
Returns:
the column at the specified position in the container.
Throws:
java.lang.IndexOutOfBoundsException - if the index is out of range (index < 0 || index >= columnCount())

columnCount

int columnCount()
Returns the number of columns in this container.

Returns:
the number of columns in this container.

getColumns

java.util.List getColumns()
Returns a read-only List view of the container's columns.

Returns:
a read-only List view of the container's columns.

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.