Class ClientSetFilterEvent

  • All Implemented Interfaces:
    IClientEvent, IEvent

    public class ClientSetFilterEvent
    extends ClientEvent
    A set filter event that can be sent to a component and contains filter predicate. After setting filter a component must send TableRefreshEvent or TreeRefreshEvent for its views.
    • Constructor Detail

      • ClientSetFilterEvent

        public ClientSetFilterEvent​(boolean async,
                                    Predicate<Object> filter)
        Creates a new instance.
        Parameters:
        async - true if the event should be processed asynchronously
        filter - the filter predicate, cannot be null
    • Method Detail

      • getFilter

        public Predicate<Object> getFilter()
        Returns the filter predicate.
        Returns:
        the filter predicate, cannot be null