public class

HighlightEvent

extends GwtEvent<H extends EventHandler>
java.lang.Object
   ↳ com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler>
     ↳ com.google.gwt.event.logical.shared.HighlightEvent<V>

Class Overview

Represents a highlight event.

Summary

Protected Constructors
HighlightEvent(V highlighted)
Creates a new highlight event.
Public Methods
static <V, S extends HasHighlightHandlers<V> & HasHandlers> void fire(S source, V highlighted)
Fires a highlight event on all registered handlers in the handler manager.
final Type<HighlightHandler<V>> getAssociatedType()
Returns the type used to register this event.
V getHighlighted()
Gets the value highlighted.
static Type<HighlightHandler<?>> getType()
Gets the type associated with this event.
Protected Methods
void dispatch(HighlightHandler<V> handler)
Should only be called by HandlerManager.
[Expand]
Inherited Methods
From class com.google.gwt.event.shared.GwtEvent
From class java.lang.Object

Protected Constructors

protected HighlightEvent (V highlighted)

Creates a new highlight event.

Parameters
highlighted value highlighted

Public Methods

public static void fire (S source, V highlighted)

Fires a highlight event on all registered handlers in the handler manager.

Parameters
source the source of the handlers
highlighted the value highlighted

public final Type<HighlightHandler<V>> getAssociatedType ()

Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.

Returns
  • the type

public V getHighlighted ()

Gets the value highlighted.

Returns
  • value highlighted

public static Type<HighlightHandler<?>> getType ()

Gets the type associated with this event.

Returns
  • returns the handler type

Protected Methods

protected void dispatch (HighlightHandler<V> handler)

Should only be called by HandlerManager. In other words, do not use or call.

Parameters
handler handler