Form Builder NG Model 6.0.0-SNAPSHOT

org.jbpm.form.builder.ng.model.client.bus.ui
Class NotificationEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<NotificationHandler>
          extended by org.jbpm.form.builder.ng.model.client.bus.ui.NotificationEvent

public class NotificationEvent
extends com.google.gwt.event.shared.GwtEvent<NotificationHandler>

Notifies a loggable message for the UI


Nested Class Summary
static class NotificationEvent.Level
           
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Field Summary
static com.google.gwt.event.shared.GwtEvent.Type<NotificationHandler> TYPE
           
 
Constructor Summary
NotificationEvent(NotificationEvent.Level level, String message)
           
NotificationEvent(NotificationEvent.Level level, String message, Throwable error)
           
NotificationEvent(String message)
           
 
Method Summary
protected  void dispatch(NotificationHandler handler)
           
 com.google.gwt.event.shared.GwtEvent.Type<NotificationHandler> getAssociatedType()
           
 Throwable getError()
           
 NotificationEvent.Level getLevel()
           
 String getMessage()
           
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
 
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final com.google.gwt.event.shared.GwtEvent.Type<NotificationHandler> TYPE
Constructor Detail

NotificationEvent

public NotificationEvent(String message)

NotificationEvent

public NotificationEvent(NotificationEvent.Level level,
                         String message)

NotificationEvent

public NotificationEvent(NotificationEvent.Level level,
                         String message,
                         Throwable error)
Method Detail

getError

public Throwable getError()

getLevel

public NotificationEvent.Level getLevel()

getMessage

public String getMessage()

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<NotificationHandler> getAssociatedType()
Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<NotificationHandler>

dispatch

protected void dispatch(NotificationHandler handler)
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<NotificationHandler>

Form Builder NG Model 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.