dispatchEvent

open fun dispatchEvent(section: HasEventDispatcher, eventHandler: EventHandler, event: Any): Any

Dispatches an event to the section

Return

the event's return value if the event expects to return anything. Otherwise null.

Parameters

section

the section under test

eventHandler

the event handler to execute

event

the event object