public class ActionEvent extends com.google.gwt.event.shared.GwtEvent<ActionHandler>
| Modifier | Constructor and Description |
|---|---|
protected |
ActionEvent(String actionName)
Creates a new event for the specified action.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(ActionHandler handler) |
static ActionEvent |
fire(HasActionHandlers source,
String actionName)
Fires an action event on all registered handlers in the handler manager.
|
String |
getActionName() |
com.google.gwt.event.shared.GwtEvent.Type<ActionHandler> |
getAssociatedType() |
static com.google.gwt.event.shared.GwtEvent.Type<ActionHandler> |
getType(String actionName) |
assertLive, getSource, isLive, kill, reviveprotected ActionEvent(String actionName)
actionName - the name of the action that triggers this eventpublic static com.google.gwt.event.shared.GwtEvent.Type<ActionHandler> getType(String actionName)
actionName - the name of an actionpublic static ActionEvent fire(HasActionHandlers source, String actionName)
source - the source of the handlersactionName - the name of the action that occurrednull if no handlers of the implied event type have been registeredprotected void dispatch(ActionHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<ActionHandler>public com.google.gwt.event.shared.GwtEvent.Type<ActionHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<ActionHandler>public String getActionName()
Copyright © 2004–2015 XWiki. All rights reserved.