Class FilterToolbar

    • Constructor Detail

      • 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 Detail

      • 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:
        MarkupContainer.addOrReplace(Component...)