public class

OpenEvent

extends GwtEvent<H extends EventHandler>
java.lang.Object
   ↳ com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler>
     ↳ com.google.gwt.event.logical.shared.OpenEvent<T>

Class Overview

Represents a open event.

Summary

Protected Constructors
OpenEvent(T target)
Creates a new open event.
Public Methods
static <T> void 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.
final Type<OpenHandler<T>> getAssociatedType()
Returns the type used to register this event.
T getTarget()
Gets the target.
static Type<OpenHandler<?>> getType()
Gets the type associated with this event.
Protected Methods
void dispatch(OpenHandler<T> handler)
Should only be called by HandlerManager.
[Expand]
Inherited Methods
From class com.google.gwt.event.shared.GwtEvent
From class java.lang.Object

Protected Constructors

protected OpenEvent (T target)

Creates a new open event.

Parameters
target the ui object being opened

Public Methods

public static void 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.

Parameters
source the source of the handlers
target the target

public final Type<OpenHandler<T>> getAssociatedType ()

Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.

Returns
  • the type

public T getTarget ()

Gets the target.

Returns
  • the target

public static Type<OpenHandler<?>> getType ()

Gets the type associated with this event.

Returns
  • returns the handler type

Protected Methods

protected void dispatch (OpenHandler<T> handler)

Should only be called by HandlerManager. In other words, do not use or call.

Parameters
handler handler