|
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<RowHoverEvent.Handler> com.google.gwt.user.cellview.client.RowHoverEvent
public class RowHoverEvent
Represents a row hover event. The event includes change in the hovering row (e.g. the mouse moves over another row) and cell hover events (e.g. the mouse moves over another cell within the actual row).
Nested Class Summary | |
---|---|
static interface |
RowHoverEvent.Handler
Handler for RowHoverEvent . |
static class |
RowHoverEvent.HoveringScope
Indicates the scope/area of the hover event |
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
---|
GwtEvent.Type<H> |
Constructor Summary | |
---|---|
protected |
RowHoverEvent(TableRowElement hoveringRow,
boolean isUnHover)
Construct a new RowHoverEvent . |
protected |
RowHoverEvent(TableRowElement hoveringRow,
Event browserEvent,
boolean isUnHover)
Construct a new RowHoverEvent . |
protected |
RowHoverEvent(TableRowElement hoveringRow,
Event browserEvent,
boolean isUnHover,
RowHoverEvent.HoveringScope hoveringScope)
Construct a new RowHoverEvent . |
Method Summary | |
---|---|
protected void |
dispatch(RowHoverEvent.Handler handler)
Should only be called by HandlerManager . |
static RowHoverEvent |
fire(HasHandlers source,
TableRowElement hoveringRow,
boolean isUnHover)
Fires a row hover event on all registered handlers in the handler manager. |
static RowHoverEvent |
fire(HasHandlers source,
TableRowElement hoveringRow,
Event browserEvent,
boolean isUnHover)
Fires a row hover event on all registered handlers in the handler manager. |
static RowHoverEvent |
fire(HasHandlers source,
TableRowElement hoveringRow,
Event browserEvent,
boolean isUnHover,
RowHoverEvent.HoveringScope hoveringScope)
Fires a row hover event on all registered handlers in the handler manager. |
GwtEvent.Type<RowHoverEvent.Handler> |
getAssociatedType()
Returns the Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
Event |
getBrowserEvent()
Return the original browser Event . |
TableRowElement |
getHoveringRow()
Return the TableRowElement that the user just hovered or unhovered. |
RowHoverEvent.HoveringScope |
getHoveringScope()
Return the scope/area of the hover event. |
static GwtEvent.Type<RowHoverEvent.Handler> |
getType()
Gets the type associated with this event. |
boolean |
isUnHover()
Return whether this is an unhover 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 RowHoverEvent(TableRowElement hoveringRow, boolean isUnHover)
RowHoverEvent
.
hoveringRow
- the currently hovering TableRowElement
. If isUnHover is true, this
should be the previouly hovering TableRowElement
isUnHover
- true if this is an unhover eventprotected RowHoverEvent(TableRowElement hoveringRow, Event browserEvent, boolean isUnHover)
RowHoverEvent
.
hoveringRow
- the currently hovering TableRowElement
. If isUnHover is true, this
should be the previouly hovering TableRowElement
browserEvent
- the original browser eventisUnHover
- true if this is an unhover eventprotected RowHoverEvent(TableRowElement hoveringRow, Event browserEvent, boolean isUnHover, RowHoverEvent.HoveringScope hoveringScope)
RowHoverEvent
.
hoveringRow
- the currently hovering TableRowElement
. If isUnHover is true, this
should be the previouly hovering TableRowElement
browserEvent
- the original browser eventisUnHover
- true if this is an unhover eventhoveringScope
- the scope/area of the hover eventMethod Detail |
---|
public static RowHoverEvent fire(HasHandlers source, TableRowElement hoveringRow, boolean isUnHover)
source
- the source of the eventhoveringRow
- the currently hovering TableRowElement
. If isUnHover is true, this
should be the previouly hovering TableRowElement
isUnHover
- true if this is an unhover event
RowHoverEvent
that was firedpublic static RowHoverEvent fire(HasHandlers source, TableRowElement hoveringRow, Event browserEvent, boolean isUnHover)
source
- the source of the eventhoveringRow
- the currently hovering TableRowElement
. If isUnHover is true, this
should be the previouly hovering TableRowElement
browserEvent
- the original browser eventisUnHover
- true if this is an unhover event
RowHoverEvent
that was firedpublic static RowHoverEvent fire(HasHandlers source, TableRowElement hoveringRow, Event browserEvent, boolean isUnHover, RowHoverEvent.HoveringScope hoveringScope)
source
- the source of the eventhoveringRow
- the currently hovering TableRowElement
. If isUnHover is true, this
should be the previouly hovering TableRowElement
browserEvent
- the original browser eventisUnHover
- true if this is an unhover eventhoveringScope
- the scope/area of the hover event
RowHoverEvent
that was firedpublic static GwtEvent.Type<RowHoverEvent.Handler> getType()
public GwtEvent.Type<RowHoverEvent.Handler> getAssociatedType()
Event
Event.Type
used to register this event, allowing an
EventBus
to find handlers of the appropriate class.
getAssociatedType
in class GwtEvent<RowHoverEvent.Handler>
public Event getBrowserEvent()
Event
. The browser event could be null if the event is
fired without one (e.g., by calling #fire(HasHandler, TableRowElement, isUnHover)
)
public TableRowElement getHoveringRow()
TableRowElement
that the user just hovered or unhovered.
public RowHoverEvent.HoveringScope getHoveringScope()
public boolean isUnHover()
protected void dispatch(RowHoverEvent.Handler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.
dispatch
in class GwtEvent<RowHoverEvent.Handler>
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 |