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

All Known Implementing Classes:
ExpressionTableColumnModel, SimpleTableColumnModel, SqlTableColumnModel

public interface ITableColumnModel

Defines a list model of ITableColumn objects

Version:
$Id: ITableColumnModel.java 243791 2004-02-19 17:38:13Z hlship $
Author:
mindbridge

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

Method Detail

getColumnCount

int getColumnCount()
Method getColumnCount.

Returns:
int the number of columns in the model

getColumn

ITableColumn getColumn(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

Iterator getColumns()
Method getColumns.

Returns:
Iterator an iterator of all columns in the model