T
- class that can receive events from a UiRenderer implementationprotected abstract static class AbstractUiRenderer.UiRendererDispatcher<T> extends Object implements HasHandlers
Modifier | Constructor and Description |
---|---|
protected |
UiRendererDispatcher() |
Modifier and Type | Method and Description |
---|---|
protected void |
fireEvent(T target,
NativeEvent event,
Element parentOrRoot)
Fire an event to the receiver.
|
protected T |
getEventTarget()
Object that will receive the event.
|
protected int |
getMethodIndex()
Index of the method that will receive the event.
|
protected Element |
getRoot()
Root Element of a previously rendered DOM structure.
|
protected void |
initDispatchTable(String[] keys,
Integer[] values)
Initializes the dispatch table if necessary.
|
fireEvent
protected void fireEvent(T target, NativeEvent event, Element parentOrRoot)
target
- object that will handle the eventsevent
- event to dispatchparentOrRoot
- root element of a previously rendered DOM structure (or its parent)protected T getEventTarget()
protected int getMethodIndex()
protected Element getRoot()
Copyright © 2018. All rights reserved.