|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.internal.grid.NullDataSource
public class NullDataSource
An implementation of GridDataSource used when the value null is provided as the
source.
| Constructor Summary | |
|---|---|
NullDataSource()
|
|
| Method Summary | |
|---|---|
int |
getAvailableRows()
Returns the number of rows available in the data source. |
Class |
getRowType()
Returns the type of value in the rows, or null if not known. |
Object |
getRowValue(int index)
Returns the row value at the provided index. |
void |
prepare(int startIndex,
int endIndex,
List<SortConstraint> sortConstraints)
Invoked to allow the source to prepare to present values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullDataSource()
| Method Detail |
|---|
public int getAvailableRows()
GridDataSource
getAvailableRows in interface GridDataSourcepublic Class getRowType()
GridDataSourceBeanModel when no such model is explicitly provided.
getRowType in interface GridDataSource
public void prepare(int startIndex,
int endIndex,
List<SortConstraint> sortConstraints)
GridDataSource
prepare in interface GridDataSourcestartIndex - the starting index to be retrievedendIndex - the ending index to be retrievedsortConstraints - identify how data is to be sortedpublic Object getRowValue(int index)
GridDataSource
getRowValue in interface GridDataSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||