Interface EventFilter

All Known Implementing Classes:
AndFilter, EventListenerClassFilter, EventSourceFilter, NotFilter, NullFilter, OrFilter, TopicFilter

public interface EventFilter
Decides which events a listener receives; supplied when the listener is added to an EventBus.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final EventFilter
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    allow(Event<?> event, Object listener)
    Returns true to deliver the event to the given listener; called on the bus's delivery thread.
  • Field Details

  • Method Details

    • allow

      boolean allow(Event<?> event, Object listener)
      Returns true to deliver the event to the given listener; called on the bus's delivery thread.