All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IQueueRegion, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public class BootstrapNavigationToolbar extends AbstractToolbar
Bootstrap styled 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:
Eric Hamel eric.hamel@me.com
See Also:
  • Constructor Details

    • BootstrapNavigationToolbar

      public BootstrapNavigationToolbar(DataTable<?,?> table)
      Construct. Default Size will be used.
      Parameters:
      table - the pageable table
    • BootstrapNavigationToolbar

      public BootstrapNavigationToolbar(DataTable<?,?> table, de.agilecoders.wicket.core.markup.html.bootstrap.navigation.BootstrapPagingNavigator.Size size)
      Construct.
      Parameters:
      table - the pageable table
      size - paging navigator size to use
  • Method Details

    • onInitialize

      protected void onInitialize()
      Overrides:
      onInitialize in class MarkupContainer
    • newPagingNavigator

      protected de.agilecoders.wicket.core.markup.html.bootstrap.navigation.BootstrapPagingNavigator newPagingNavigator(String navigatorId, DataTable<?,?> table, de.agilecoders.wicket.core.markup.html.bootstrap.navigation.BootstrapPagingNavigator.Size size)
      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
      size - paging navigator size to use
      Returns:
      paging navigator that will be used to navigate the data table
    • newNavigatorLabel

      protected Panel newNavigatorLabel(String navigatorId, DataTable<?,?> table, de.agilecoders.wicket.core.markup.html.bootstrap.navigation.BootstrapPagingNavigator.Size size)
      Factory method used to create the navigator label that will be used by the datatable
      Parameters:
      navigatorId - component id navigator label should be created with
      table - dataview used by datatable
      size - paging navigator size to use
      Returns:
      navigator label that will be used to navigate the data table
    • onConfigure

      protected void onConfigure()
      Overrides:
      onConfigure in class Component