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

public class AbstractFilter extends Panel
Base class for filters that provides some useful functionality
Igor Vaynberg (ivaynberg)
See Also:
  • Constructor Details

  • Method Details

    • enableFocusTracking

      protected void enableFocusTracking(FormComponent<?> fc)
      Enables the tracking of focus for the specified form component. This allows the filter form to restore focus to the component which caused the form submission. Great for when you are inside a filter textbox and use the enter key to submit the filter.
      fc - form component for which focus tracking will be enabled
    • getStateLocator

    • getStateModel

      protected IModel<?> getStateModel()
    • getState

      protected Object getState()