Package 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
Modifier and TypeMethodDescriptionReturns 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.Returns the source for the data to be presented in the Grid.Returns the object used to track sorting behavior of the Grid.
-
Method Details
-
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
Returns the source for the data to be presented in the Grid. -
getSortModel
Returns the object used to track sorting behavior of the Grid.
-