Use setEventDispatcher