V - the type of rangepublic class ShowRangeEvent<V> extends GwtEvent<ShowRangeHandler<V>>
GwtEvent.Type<H>| Modifier | Constructor and Description | 
|---|---|
| protected  | ShowRangeEvent(V start,
              V end)Creates a new show range event. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | dispatch(ShowRangeHandler<V> handler)Should only be called by  HandlerManager. | 
| static <V,S extends HasShowRangeHandlers<V> & HasHandlers> | fire(S source,
    V start,
    V end)Fires a show range event on all registered handlers in the handler manager. | 
| GwtEvent.Type<ShowRangeHandler<V>> | getAssociatedType()Returns the  Event.Typeused to register this event, allowing anEventBusto find handlers of the appropriate class. | 
| V | getEnd()Gets the end of the range. | 
| V | getStart()Gets the start of the range. | 
| static GwtEvent.Type<ShowRangeHandler<?>> | getType()Gets the type associated with this event. | 
assertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic static <V,S extends HasShowRangeHandlers<V> & HasHandlers> void fire(S source, V start, V end)
V - the type of rangeS - the event sourcesource - the source of the handlersstart - the start of the rangeend - the end of the rangepublic static GwtEvent.Type<ShowRangeHandler<?>> getType()
public final GwtEvent.Type<ShowRangeHandler<V>> getAssociatedType()
EventEvent.Type used to register this event, allowing an
 EventBus to find handlers of the appropriate class.getAssociatedType in class GwtEvent<ShowRangeHandler<V>>public V getEnd()
public V getStart()
protected void dispatch(ShowRangeHandler<V> handler)
GwtEventHandlerManager. In other words, do not use
 or call.dispatch in class GwtEvent<ShowRangeHandler<V>>handler - handlerEventBus.dispatchEvent(Event, Object)