org.apache.tapestry5.grid
Interface GridModel

All Known Implementing Classes:
Grid

public interface GridModel

A provider of model data to the sub-components of the Grid component. The primary implementor of this component is the Grid component itself. This is effectively a way to package three values as a single parameter to components such as GridColumns and GridRows.


Method Summary
 BeanModel getDataModel()
          Returns the data model, which defines the columns (in terms of properties of the row type), and provides access to actual values for a given row instance.
 GridDataSource getDataSource()
          Returns the source for the data to be presented in the Grid.
 GridSortModel getSortModel()
          Returns the object used to track sorting behavior of the Grid.
 

Method Detail

getDataModel

BeanModel getDataModel()
Returns the data model, which defines the columns (in terms of properties of the row type), and provides access to actual values for a given row instance.


getDataSource

GridDataSource getDataSource()
Returns the source for the data to be presented in the Grid.


getSortModel

GridSortModel getSortModel()
Returns the object used to track sorting behavior of the Grid.



Copyright © 2003-2012 The Apache Software Foundation.