Interface Filter<E>



  • public interface Filter<E>
    Interface that gets called before notifying a Listener. It can decide if the update will be passed along or not.
    • Method Detail

      • filter

        boolean filter(E oldState,
                       E newState)
        Decide whether to pass the update to the associated Listener
        Parameters:
        oldState - old state
        newState - new state
        Returns:
        true if the component or listener should be notified, false otherwise