org.displaytag.model
Class ColumnIterator

java.lang.Object
  extended by org.displaytag.model.ColumnIterator

public class ColumnIterator
extends java.lang.Object

Iterator on columns.

Version:
$Revision: 1081 $ ($Author: fgiust $)
Author:
Fabrizio Giustina

Constructor Summary
ColumnIterator(java.util.List columns, Row row)
          Creates a new ColumnIterator given a list of column and a row.
 
Method Summary
 boolean hasNext()
          Are there more columns?
 Column nextColumn()
          Returns the next column.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnIterator

public ColumnIterator(java.util.List columns,
                      Row row)
Creates a new ColumnIterator given a list of column and a row.

Parameters:
columns - List containing column objects
row - current Row
Method Detail

hasNext

public boolean hasNext()
Are there more columns?

Returns:
boolean true if there are more columns

nextColumn

public Column nextColumn()
Returns the next column.

Returns:
Column next column


Copyright © 2002-2010 the Displaytag team. All Rights Reserved.