com.google.gwt.widgetideas.table.client
Class TableModel.SerializableResponse<R extends java.io.Serializable>

java.lang.Object
  extended by com.google.gwt.widgetideas.table.client.TableModel.Response<R>
      extended by com.google.gwt.widgetideas.table.client.TableModel.SerializableResponse<R>
Type Parameters:
R - the serializable data type of the row values
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
Enclosing class:
TableModel<R>

public static class TableModel.SerializableResponse<R extends java.io.Serializable>
extends TableModel.Response<R>
implements com.google.gwt.user.client.rpc.IsSerializable

A response from the TableModel that is serializable, and can by used over RPC.


Constructor Summary
TableModel.SerializableResponse()
          Default constructor.
TableModel.SerializableResponse(java.util.Collection<java.util.Collection<java.io.Serializable>> rows)
          Constructor.
TableModel.SerializableResponse(java.util.Collection<java.util.Collection<java.io.Serializable>> rows, java.util.List<R> rowValues)
          Constructor.
 
Method Summary
 java.util.Iterator<java.util.Iterator<java.lang.Object>> getIterator()
          Gets the iterator associated with the row data generated by the TableModel.Response.
 
Methods inherited from class com.google.gwt.widgetideas.table.client.TableModel.Response
getRowValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableModel.SerializableResponse

public TableModel.SerializableResponse()
Default constructor.


TableModel.SerializableResponse

public TableModel.SerializableResponse(java.util.Collection<java.util.Collection<java.io.Serializable>> rows)
Constructor.

Parameters:
rows - the row data

TableModel.SerializableResponse

public TableModel.SerializableResponse(java.util.Collection<java.util.Collection<java.io.Serializable>> rows,
                                       java.util.List<R> rowValues)
Constructor.

Parameters:
rows - the row data
rowValues - the values to associate with each row
Method Detail

getIterator

public java.util.Iterator<java.util.Iterator<java.lang.Object>> getIterator()
Description copied from class: TableModel.Response
Gets the iterator associated with the row data generated by the TableModel.Response.

Specified by:
getIterator in class TableModel.Response<R extends java.io.Serializable>
Returns:
the rows data