Class ConsoleNotificationEventHandler
java.lang.Object
com.levigo.jadice.web.demo.common.client.events.ConsoleNotificationEventHandler
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler
,ErrorNotificationEventHandler
,InfoNotificationEventHandler
public class ConsoleNotificationEventHandler
extends Object
implements InfoNotificationEventHandler, ErrorNotificationEventHandler
A possible implementation of how to listen to the event bus : delegate the info into a console panel
-
Constructor Summary
ConstructorsConstructorDescriptionConsoleNotificationEventHandler
(com.google.gwt.user.client.ui.Panel console) -
Method Summary
-
Constructor Details
-
ConsoleNotificationEventHandler
public ConsoleNotificationEventHandler(com.google.gwt.user.client.ui.Panel console)
-
-
Method Details
-
onErrorNotification
- Specified by:
onErrorNotification
in interfaceErrorNotificationEventHandler
-
onInfoNotification
- Specified by:
onInfoNotification
in interfaceInfoNotificationEventHandler
-
setActive
public void setActive(boolean active)
-