org.wicketstuff.datatable_autocomplete.table
Class DefaultDTATableRenderingHints
java.lang.Object
org.wicketstuff.datatable_autocomplete.table.DefaultDTATableRenderingHints
- All Implemented Interfaces:
- Serializable, IClusterable, IDTATableRenderingHints
- Direct Known Subclasses:
- DefaultAutocompleteRenderingHints
public class DefaultDTATableRenderingHints
- extends Object
- implements IDTATableRenderingHints
- Author:
- mocleiri
Default implementation of the IDTATableRenderingHints interface.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDTATableRenderingHints
public DefaultDTATableRenderingHints(int pageSize,
boolean paginationEnabled)
getPageSize
public int getPageSize()
- Specified by:
getPageSize in interface IDTATableRenderingHints
- Returns:
- the number of rows per page. If isPaginationEnabled() returns false then only 1 page
is shown.
isPaginationEnabled
public boolean isPaginationEnabled()
- Specified by:
isPaginationEnabled in interface IDTATableRenderingHints
- Returns:
- true if the results table should use AJAX pagination.
showNoRecordsToolbar
public boolean showNoRecordsToolbar()
- Specified by:
showNoRecordsToolbar in interface IDTATableRenderingHints
- Returns:
- true if the no match tool bar should be shown in the table when there are no results.
Copyright © 2009-2013. All Rights Reserved.