Class ScenarioNotificationEvent
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<ScenarioNotificationEventHandler>
-
- org.drools.workbench.screens.scenariosimulation.client.events.ScenarioNotificationEvent
-
public class ScenarioNotificationEvent extends com.google.gwt.event.shared.GwtEvent<ScenarioNotificationEventHandler>
GwtEventto show a notification
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.gwt.event.shared.GwtEvent.Type<ScenarioNotificationEventHandler>TYPE
-
Constructor Summary
Constructors Constructor Description ScenarioNotificationEvent(String message, org.uberfire.workbench.events.NotificationEvent.NotificationType type)ScenarioNotificationEvent(String message, org.uberfire.workbench.events.NotificationEvent.NotificationType type, boolean autoHide)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddispatch(ScenarioNotificationEventHandler handler)com.google.gwt.event.shared.GwtEvent.Type<ScenarioNotificationEventHandler>getAssociatedType()StringgetMessage()org.uberfire.workbench.events.NotificationEvent.NotificationTypegetNotificationType()booleanisAutoHide()-
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
-
-
-
-
Field Detail
-
TYPE
public static final com.google.gwt.event.shared.GwtEvent.Type<ScenarioNotificationEventHandler> TYPE
-
-
Constructor Detail
-
ScenarioNotificationEvent
public ScenarioNotificationEvent(String message, org.uberfire.workbench.events.NotificationEvent.NotificationType type)
-
ScenarioNotificationEvent
public ScenarioNotificationEvent(String message, org.uberfire.workbench.events.NotificationEvent.NotificationType type, boolean autoHide)
-
-
Method Detail
-
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<ScenarioNotificationEventHandler> getAssociatedType()
- Specified by:
getAssociatedTypein classcom.google.gwt.event.shared.GwtEvent<ScenarioNotificationEventHandler>
-
getMessage
public String getMessage()
-
isAutoHide
public boolean isAutoHide()
-
getNotificationType
public org.uberfire.workbench.events.NotificationEvent.NotificationType getNotificationType()
-
dispatch
protected void dispatch(ScenarioNotificationEventHandler handler)
- Specified by:
dispatchin classcom.google.gwt.event.shared.GwtEvent<ScenarioNotificationEventHandler>
-
-