Class ContainerEventAdapter<E>

  • All Implemented Interfaces:
    java.util.EventListener, IListener

    public class ContainerEventAdapter<E>
    extends java.lang.Object
    implements IListener
    A listener that dispatches container events to methods that can be overridden by extenders.
    Author:
    Eike Stepper
    • Constructor Detail

      • ContainerEventAdapter

        public ContainerEventAdapter​(boolean waitForActive)
        Since:
        3.3
      • ContainerEventAdapter

        public ContainerEventAdapter()
    • Method Detail

      • isWaitForActive

        public boolean isWaitForActive()
        Since:
        3.3
      • notifyContainerEvent

        protected void notifyContainerEvent​(IContainerEvent<E> event)
      • notifyOtherEvent

        protected void notifyOtherEvent​(IEvent event)
      • onAdded

        protected void onAdded​(IContainer<E> container,
                               E element)
      • onRemoved

        protected void onRemoved​(IContainer<E> container,
                                 E element)