|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<HighlightHandler<V>>
com.google.gwt.event.logical.shared.HighlightEvent<V>
V - the highlighted value typepublic class HighlightEvent<V>
Represents a highlight event.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
GwtEvent.Type<H> |
| Constructor Summary | |
|---|---|
protected |
HighlightEvent(V highlighted)
Creates a new highlight event. |
| Method Summary | ||
|---|---|---|
protected void |
dispatch(HighlightHandler<V> handler)
Should only be called by HandlerManager. |
|
static
|
fire(S source,
V highlighted)
Fires a highlight event on all registered handlers in the handler manager. |
|
GwtEvent.Type<HighlightHandler<V>> |
getAssociatedType()
Returns the Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
|
V |
getHighlighted()
Gets the value highlighted. |
|
static GwtEvent.Type<HighlightHandler<?>> |
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 HighlightEvent(V highlighted)
highlighted - value highlighted| Method Detail |
|---|
public static <V,S extends HasHighlightHandlers<V> & HasHandlers> void fire(S source,
V highlighted)
V - the highlighted value typeS - The event sourcesource - the source of the handlershighlighted - the value highlightedpublic static GwtEvent.Type<HighlightHandler<?>> getType()
public final GwtEvent.Type<HighlightHandler<V>> getAssociatedType()
EventEvent.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class.
getAssociatedType in class GwtEvent<HighlightHandler<V>>public V getHighlighted()
protected void dispatch(HighlightHandler<V> handler)
GwtEventHandlerManager. In other words, do not use
or call.
dispatch in class GwtEvent<HighlightHandler<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 | |||||||