com.opensymphony.webwork.components.table
Class WebTable.WebTableRowIterator
java.lang.Object
com.opensymphony.webwork.components.table.WebTable.WebTableRowIterator
- All Implemented Interfaces:
- Iterator
- Enclosing class:
- WebTable
public class WebTable.WebTableRowIterator
- extends Object
- implements Iterator
inner class to iteratoe over a row of the table.
It can return formatted data, using the columnRenderer
for the column or it can return the raw data.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORMATTED_DATA
public static final int FORMATTED_DATA
- See Also:
- Constant Field Values
RAW_DATA
public static final int RAW_DATA
- See Also:
- Constant Field Values
_table
protected WebTable _table
_curRow
protected int _curRow
_mode
protected int _mode
WebTable.WebTableRowIterator
protected WebTable.WebTableRowIterator(WebTable table)
WebTable.WebTableRowIterator
protected WebTable.WebTableRowIterator(WebTable table,
int mode)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
throws NoSuchElementException
- Specified by:
next
in interface Iterator
- Throws:
NoSuchElementException
remove
public void remove()
throws UnsupportedOperationException,
IllegalStateException
- Specified by:
remove
in interface Iterator
- Throws:
UnsupportedOperationException
IllegalStateException