|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.web.bindery.event.shared.Event<H> com.google.gwt.event.shared.GwtEvent<ShowRangeHandler<V>> com.google.gwt.event.logical.shared.ShowRangeEvent<V>
V
- the type of rangepublic class ShowRangeEvent<V>
Represents a show range event. This logical event should be used when a widget displays a range of values to the user.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
---|
GwtEvent.Type<H> |
Constructor Summary | |
---|---|
protected |
ShowRangeEvent(V start,
V end)
Creates a new show range event. |
Method Summary | ||
---|---|---|
protected void |
dispatch(ShowRangeHandler<V> handler)
Should only be called by HandlerManager . |
|
static
|
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.Type used to register this event, allowing an
EventBus to 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. |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
---|
assertLive, getSource, isLive, kill, revive |
Methods inherited from class com.google.web.bindery.event.shared.Event |
---|
setSource, toDebugString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ShowRangeEvent(V start, V end)
start
- start of the rangeend
- end of the rangeMethod Detail |
---|
public 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()
Event
Event.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)
GwtEvent
HandlerManager
. In other words, do not use
or call.
dispatch
in class GwtEvent<ShowRangeHandler<V>>
handler
- handlerEventBus.dispatchEvent(Event, Object)
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |