Search this API

y.view.tabular
Interface TableGroupNodeRealizer.RowContainer

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

public static interface TableGroupNodeRealizer.RowContainer

A container for rows.


Method Summary
 TableGroupNodeRealizer.Row addRow()
          Adds a new last row in the container.
 TableGroupNodeRealizer.Row addRow(int position)
          Adds a new row at the specified position in the container.
 TableGroupNodeRealizer.Row getRow(int index)
          Returns the row at the specified position in the container.
 List getRows()
          Returns a read-only List view of the container's rows.
 int rowCount()
          Returns the number of rows in this container.
 

Method Detail

addRow

TableGroupNodeRealizer.Row addRow()
Adds a new last row in the container.

Returns:
the newly created last row of the container.

addRow

TableGroupNodeRealizer.Row addRow(int position)
Adds a new row at the specified position in the container.

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

getRow

TableGroupNodeRealizer.Row getRow(int index)
Returns the row at the specified position in the container.

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

rowCount

int rowCount()
Returns the number of rows in this container.

Returns:
the number of rows in this container.

getRows

List getRows()
Returns a read-only List view of the container's rows.

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

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