webwork.view.taglib.ui.table
Class WebTable.WebTableRowIterator

java.lang.Object
  extended bywebwork.view.taglib.ui.table.WebTable.WebTableRowIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
WebTable

public class WebTable.WebTableRowIterator
extends java.lang.Object
implements java.util.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.


Field Summary
protected  int _curRow
           
protected  int _mode
           
protected  WebTable _table
           
static int FORMATTED_DATA
           
static int RAW_DATA
           
 
Constructor Summary
protected WebTable.WebTableRowIterator(WebTable table)
           
protected WebTable.WebTableRowIterator(WebTable table, int mode)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_table

protected WebTable _table

_curRow

protected int _curRow

_mode

protected int _mode

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
Constructor Detail

WebTable.WebTableRowIterator

protected WebTable.WebTableRowIterator(WebTable table)

WebTable.WebTableRowIterator

protected WebTable.WebTableRowIterator(WebTable table,
                                       int mode)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Specified by:
next in interface java.util.Iterator
Throws:
java.util.NoSuchElementException

remove

public void remove()
            throws java.lang.UnsupportedOperationException,
                   java.lang.IllegalStateException
Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.UnsupportedOperationException
java.lang.IllegalStateException


Copyright © 2001-2003 WebWork All Rights Reserved.