org.equanda.t5gui
Class EquandaGridDataSource<T>

java.lang.Object
  extended by org.equanda.t5gui.EquandaGridDataSource<T>
All Implemented Interfaces:
org.apache.tapestry5.grid.GridDataSource

public class EquandaGridDataSource<T>
extends Object
implements org.apache.tapestry5.grid.GridDataSource

Grid datasource for results of (equanda) selectors

Author:
Joachim Van der Auwera

Constructor Summary
EquandaGridDataSource(Class objectClass, String table, ListGetter<T> listGetter)
           
 
Method Summary
 int getAvailableRows()
           
 Class getRowType()
           
 T getRowValue(int i)
           
 void prepare(int i, int i1, List<org.apache.tapestry5.grid.SortConstraint> sortConstraints)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EquandaGridDataSource

public EquandaGridDataSource(Class objectClass,
                             String table,
                             ListGetter<T> listGetter)
Method Detail

getAvailableRows

public int getAvailableRows()
Specified by:
getAvailableRows in interface org.apache.tapestry5.grid.GridDataSource

prepare

public void prepare(int i,
                    int i1,
                    List<org.apache.tapestry5.grid.SortConstraint> sortConstraints)
Specified by:
prepare in interface org.apache.tapestry5.grid.GridDataSource

getRowValue

public T getRowValue(int i)
Specified by:
getRowValue in interface org.apache.tapestry5.grid.GridDataSource

getRowType

public Class getRowType()
Specified by:
getRowType in interface org.apache.tapestry5.grid.GridDataSource


Copyright © 2007-2009. All Rights Reserved.