Class FilterComponent


  • public class FilterComponent
    extends java.lang.Object
    Updates a Component to reflect the current state of a NamedFilterConfig. This means that checkbox menu entries for "active" and "inverted" states are added and further menu items for sub-filter. The components will be updated whenever the filter config changes.
    • Constructor Summary

      Constructors 
      Constructor Description
      FilterComponent​(@NotNull java.awt.Container component, @NotNull NamedFilterConfig config)
      Createsa a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addFilter​(@NotNull java.lang.String name, @NotNull FilterConfig<?,​?> config)  
      void removeFilter​(@NotNull java.lang.String name)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilterComponent

        public FilterComponent​(@NotNull
                               @NotNull java.awt.Container component,
                               @NotNull
                               @NotNull NamedFilterConfig config)
        Createsa a new instance.
        Parameters:
        component - the component that is updated to reflect the state of config
        config - the filter config to show
    • Method Detail

      • addFilter

        public void addFilter​(@NotNull
                              @NotNull java.lang.String name,
                              @NotNull
                              @NotNull FilterConfig<?,​?> config)
      • removeFilter

        public void removeFilter​(@NotNull
                                 @NotNull java.lang.String name)