|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<OpenHandler<T>>
com.google.gwt.event.logical.shared.OpenEvent<T>
T - the type being openedpublic class OpenEvent<T>
Represents a open event.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
GwtEvent.Type<H> |
| Constructor Summary | |
|---|---|
protected |
OpenEvent(T target)
Creates a new open event. |
| Method Summary | ||
|---|---|---|
protected void |
dispatch(OpenHandler<T> handler)
Should only be called by HandlerManager. |
|
static
|
fire(HasOpenHandlers<T> source,
T target)
Fires a open event on all registered handlers in the handler manager.If no such handlers exist, this method will do nothing. |
|
GwtEvent.Type<OpenHandler<T>> |
getAssociatedType()
Returns the Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
|
T |
getTarget()
Gets the target. |
|
static GwtEvent.Type<OpenHandler<?>> |
getType()
Gets the type associated with this event. |
|
| 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 |
| Constructor Detail |
|---|
protected OpenEvent(T target)
target - the ui object being opened| Method Detail |
|---|
public static <T> void fire(HasOpenHandlers<T> source,
T target)
T - the target typesource - the source of the handlerstarget - the targetpublic static GwtEvent.Type<OpenHandler<?>> getType()
public final GwtEvent.Type<OpenHandler<T>> getAssociatedType()
EventEvent.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class.
getAssociatedType in class GwtEvent<OpenHandler<T>>public T getTarget()
protected void dispatch(OpenHandler<T> handler)
GwtEventHandlerManager. In other words, do not use
or call.
dispatch in class GwtEvent<OpenHandler<T>>handler - handlerEventBus.dispatchEvent(Event, Object)
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||