All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IQueueRegion, IHeaderContributor, IRequestableComponent, org.apache.wicket.util.IHierarchical<Component>, org.apache.wicket.util.io.IClusterable
Direct Known Subclasses:
AjaxNavigationToolbar

public class NavigationToolbar extends AbstractToolbar
Toolbar that displays links used to navigate the pages of the datatable as well as a message about which rows are being displayed and their total number in the data table.
Author:
Igor Vaynberg (ivaynberg)
See Also:
  • Constructor Details

    • NavigationToolbar

      public NavigationToolbar(DataTable<?,?> table)
      Constructor
      Parameters:
      table - data table this toolbar will be attached to
  • Method Details

    • newPagingNavigator

      protected PagingNavigator newPagingNavigator(String navigatorId, DataTable<?,?> table)
      Factory method used to create the paging navigator that will be used by the datatable
      Parameters:
      navigatorId - component id the navigator should be created with
      table - dataview used by datatable
      Returns:
      paging navigator that will be used to navigate the data table
    • newNavigatorLabel

      protected Component newNavigatorLabel(String navigatorId, DataTable<?,?> table)
      Factory method used to create the navigator label.
      Parameters:
      navigatorId - component id navigator label should be created with
      table - DataTable used by datatable
      Returns:
      navigator label that will be used to navigate the data table
    • onConfigure

      protected void onConfigure()
      Overrides:
      onConfigure in class Component