org.apache.tapestry.contrib.table.model
Interface ITableColumnModel

All Known Implementing Classes:
SimpleTableColumnModel

public interface ITableColumnModel

Defines a list model of ITableColumn objects

Author:
mindbridge

Method Summary
 ITableColumn getColumn(java.lang.String strName)
          Method getColumn.
 int getColumnCount()
          Method getColumnCount.
 java.util.Iterator getColumns()
          Method getColumns.
 

Method Detail

getColumnCount

public int getColumnCount()
Method getColumnCount.

Returns:
int the number of columns in the model

getColumn

public ITableColumn getColumn(java.lang.String strName)
Method getColumn.

Parameters:
strName - the name of the requested column
Returns:
ITableColumn the column with the given name. null if no such column exists.

getColumns

public java.util.Iterator getColumns()
Method getColumns.

Returns:
Iterator an iterator of all columns in the model