Interface GlueEvent.Listener<E extends GlueEvent<?>>

All Superinterfaces:
Consumer<E>, EventListener
All Known Subinterfaces:
ChannelContextChangedEvent.Listener, ChannelContextUpdatedEvent.Listener, ContextCreatedEvent.Listener, ContextDeletedEvent.Listener, com.tick42.glue.core.contexts.event.ContextEvent.Listener<E>, ContextUpdatedEvent.Listener, InteropEvent.Listener<E>, MethodAddedEvent.Listener<T>, MethodEvent.Listener<E,T>, MethodRemovedEvent.Listener<T>, ServerMethodEvent.Listener<E>, SharedContextsEvent.Listener<E>, WindowBoundsChangedEvent.Listener, WindowChannelChangedEvent.Listener, WindowCollapsedChangedEvent.Listener, WindowContextUpdatedEvent.Listener, WindowEvent.Listener<E>, WindowFocusChangedEvent.Listener, WindowFrameButtonClickedEvent.Listener, WindowHibernateEvent.Listener, WindowResumedEvent.Listener, WindowStateChangedEvent.Listener, WindowTitleChangedEvent.Listener, WindowVisibilityChangedEvent.Listener
Enclosing class:
GlueEvent<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface GlueEvent.Listener<E extends GlueEvent<?>> extends EventListener, Consumer<E>
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(E e)
     
    void
    onGlueEvent(E event)
     

    Methods inherited from interface java.util.function.Consumer

    andThen
  • Method Details

    • accept

      default void accept(E e)
      Specified by:
      accept in interface Consumer<E extends GlueEvent<?>>
    • onGlueEvent

      void onGlueEvent(E event)