Class OpenEvent<T>
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<OpenHandler<T>>
com.google.gwt.event.logical.shared.OpenEvent<T>
- Type Parameters:
T- the type being opened
Represents a open event.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddispatch(OpenHandler<T> handler) Should only be called byHandlerManager.static <T> voidfire(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.final GwtEvent.Type<OpenHandler<T>>Returns theEvent.Typeused to register this event, allowing anEventBusto find handlers of the appropriate class.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, reviveMethods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
-
Constructor Details
-
OpenEvent
Creates a new open event.- Parameters:
target- the ui object being opened
-
-
Method Details
-
getType
Gets the type associated with this event.- Returns:
- returns the handler type
-
getAssociatedType
Description copied from class:EventReturns theEvent.Typeused to register this event, allowing anEventBusto find handlers of the appropriate class.- Specified by:
getAssociatedTypein classGwtEvent<OpenHandler<T>>- Returns:
- the type
-
getTarget
Gets the target.- Returns:
- the target