Interface NotificationEventBus


  • public interface NotificationEventBus
    This event bus is used to propagate notification events regarding errors and information messages. These messages can received by listening to this event bus and displayed to the user in a notification window and the like.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <H> com.google.web.bindery.event.shared.HandlerRegistration addHandler​(com.google.web.bindery.event.shared.Event.Type<H> type, H handler)  
      <H> com.google.web.bindery.event.shared.HandlerRegistration addHandlerToSource​(com.google.web.bindery.event.shared.Event.Type<H> type, Object source, H handler)  
      void fireEvent​(com.google.web.bindery.event.shared.Event<?> event)  
      void fireEventFromSource​(com.google.web.bindery.event.shared.Event<?> event, Object source)  
    • Method Detail

      • fireEventFromSource

        void fireEventFromSource​(com.google.web.bindery.event.shared.Event<?> event,
                                 Object source)
      • fireEvent

        void fireEvent​(com.google.web.bindery.event.shared.Event<?> event)
      • addHandlerToSource

        <H> com.google.web.bindery.event.shared.HandlerRegistration addHandlerToSource​(com.google.web.bindery.event.shared.Event.Type<H> type,
                                                                                       Object source,
                                                                                       H handler)
      • addHandler

        <H> com.google.web.bindery.event.shared.HandlerRegistration addHandler​(com.google.web.bindery.event.shared.Event.Type<H> type,
                                                                               H handler)