org.wicketstuff.datatable_autocomplete.table
Class DefaultDTATableRenderingHints

java.lang.Object
  extended by 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

Constructor Summary
DefaultDTATableRenderingHints(int pageSize, boolean paginationEnabled)
           
 
Method Summary
 int getPageSize()
           
 boolean isPaginationEnabled()
           
 boolean showNoRecordsToolbar()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDTATableRenderingHints

public DefaultDTATableRenderingHints(int pageSize,
                                     boolean paginationEnabled)
Method Detail

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.