|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataTableSupport<T>
Displays that contain a DataTable
should extend this interface.
Method Summary | |
---|---|
void |
displayFetchDataError(String errorMessage)
Display and error message when an error is encountered fetching the data. |
void |
displayNoDataMessage()
Display the appropriate information when there are no data results returned. |
void |
fetchDataTable()
Fetch data and update the table. |
String |
getId()
|
HasAction |
getTableActionSupport()
|
List<T> |
getTableData()
Returns the data list used to populate the table. |
void |
hideDataTable()
Hides the data table from display. |
void |
setDataSource(DataSource<T> dataSource)
Sets the data source for the data table |
void |
setDataSourceCallback(DataSourceCallback<T> callback)
Sets the data source callback for the data table. |
void |
setSelectionHandler(DataTableSelectionHandler handler)
Sets the selection handler for the data table. |
void |
showDataTable()
Shows the data table in display. |
Method Detail |
---|
String getId()
HasAction getTableActionSupport()
void displayNoDataMessage()
void displayFetchDataError(String errorMessage)
void hideDataTable()
void showDataTable()
List<T> getTableData()
void fetchDataTable()
void setSelectionHandler(DataTableSelectionHandler handler)
void setDataSourceCallback(DataSourceCallback<T> callback)
void setDataSource(DataSource<T> dataSource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |