Overview | Package | Class | Tree | Deprecated | Index | Help
| GWT 2.0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.gwt.event.logical.shared
Class OpenEvent<T>

    java.lang.Object
      com.google.gwt.event.shared.GwtEvent<OpenHandler<T>>
          com.google.gwt.event.logical.shared.OpenEvent<T>

Type Parameters:
  `T` - the type being opened

    public class OpenEvent<T>

extends GwtEvent<OpenHandler<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
`<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.
`GwtEvent.Type<OpenHandler<T>>` | `getAssociatedType()` Returns the type used to register this event.
`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, toDebugString, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### OpenEvent

    protected OpenEvent(T target)

  Creates a new open event.

  Parameters:
    `target` - the ui object being opened

Method Detail

### fire

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

  Type Parameters:
    `T` - the target type
  Parameters:
    `source` - the source of the handlers
    `target` - the target

### getType

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

  Gets the type associated with this event.

  Returns:
    returns the handler type

### getAssociatedType

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

  Description copied from class: `GwtEvent`
  Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.

  Specified by:
    `getAssociatedType` in class `GwtEvent<OpenHandler<T>>`
  Returns:
    the type

### getTarget

    public T getTarget()

  Gets the target.

  Returns:
    the target

### dispatch

    protected void dispatch(OpenHandler<T> handler)

  Description copied from class: `GwtEvent`
  Should only be called by `HandlerManager`. In other words, do not use or call.

  Specified by:
    `dispatch` in class `GwtEvent<OpenHandler<T>>`
  Parameters:
    `handler` - handler

Overview | Package | Class | Tree | Deprecated | Index | Help
| GWT 2.0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD