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

public class FilterToolbar extends AbstractToolbar
Toolbar that creates a form to hold form components used to filter data in the data table. Form components are provided by columns that implement IFilteredColumn.
Author:
Igor Vaynberg (ivaynberg)
See Also:
  • Constructor Details

    • FilterToolbar

      public FilterToolbar(DataTable<T,S> table, FilterForm<F> form)
      Constructor
      Type Parameters:
      T - the type of the DataTable's model object
      S - the type of the DataTable's sorting parameter
      F - the type of filter state object
      Parameters:
      table - data table this toolbar will be added to
      form - the filter form
  • Method Details

    • onBeforeRender

      protected void onBeforeRender()
      Description copied from class: Component
      Called on all visible components before any component is rendered.

      NOTE: If you override this, you *must* call super.onBeforeRender() within your implementation. Because this method is responsible for cascading Component.onBeforeRender() call to its children it is strongly recommended that super call is made at the end of the override.

      Changes to the component tree can be made only before calling super.onBeforeRender().
      Overrides:
      onBeforeRender in class Component
      See Also: