public class WindowEventDispatcher extends CompositeEventDispatcher
EventDispatcher
for Window
. It is formed by a chain
in which a received event is first passed through EventRedirector
and then through EventHandlerManager
.Constructor and Description |
---|
WindowEventDispatcher(EventRedirector eventRedirector,
WindowCloseRequestHandler windowCloseRequestHandler,
EventHandlerManager eventHandlerManager) |
WindowEventDispatcher(Window window) |
Modifier and Type | Method and Description |
---|---|
EventHandlerManager |
getEventHandlerManager() |
EventRedirector |
getEventRedirector() |
BasicEventDispatcher |
getFirstDispatcher() |
BasicEventDispatcher |
getLastDispatcher() |
WindowCloseRequestHandler |
getWindowCloseRequestHandler() |
dispatchBubblingEvent, dispatchCapturingEvent
dispatchEvent, getNextDispatcher, getPreviousDispatcher, insertNextDispatcher
public WindowEventDispatcher(Window window)
public WindowEventDispatcher(EventRedirector eventRedirector, WindowCloseRequestHandler windowCloseRequestHandler, EventHandlerManager eventHandlerManager)
public final EventRedirector getEventRedirector()
public final WindowCloseRequestHandler getWindowCloseRequestHandler()
public final EventHandlerManager getEventHandlerManager()
public BasicEventDispatcher getFirstDispatcher()
getFirstDispatcher
in class CompositeEventDispatcher
public BasicEventDispatcher getLastDispatcher()
getLastDispatcher
in class CompositeEventDispatcher
Copyright © 2020. All rights reserved.