Class Event<H>

java.lang.Object
com.google.web.bindery.event.shared.Event<H>
Type Parameters:
H - interface implemented by handlers of this kind of event
Direct Known Subclasses:
EntityProxyChange, GwtEvent

public abstract class Event<H> extends Object
Base Event object.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Type class used to register events with an EventBus.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract void
    dispatch(H handler)
    Implemented by subclasses to to invoke their handlers in a type safe manner.
    abstract Event.Type<H>
    Returns the Event.Type used to register this event, allowing an EventBus to find handlers of the appropriate class.
    Returns the source for this event.
    protected void
    setSource(Object source)
    Set the source that triggered this event.
    This is a method used primarily for debugging.
    The toString() for abstract event is overridden to avoid accidently including class literals in the compiled output.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait