Uses of Class
javafx.event.EventType
Package
Description
-
Uses of EventType in com.sun.javafx.event
Modifier and TypeFieldDescriptionstatic final EventType<DirectEvent>
DirectEvent.DIRECT
static final EventType<RedirectedEvent>
RedirectedEvent.REDIRECTED
Modifier and TypeMethodDescriptionfinal <T extends Event>
voidEventHandlerManager.addEventFilter
(EventType<T> eventType, EventHandler<? super T> eventFilter) Registers an event filter inEventHandlerManager
.final <T extends Event>
voidEventHandlerManager.addEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Registers an event handler inEventHandlerManager
.final <T extends Event>
EventHandler<? super T>EventHandlerManager.getEventHandler
(EventType<T> eventType) void
EventHandlerManager.EventSourcesListener.onEventSource
(EventType<?> eventType, Object eventSource) final <T extends Event>
voidEventHandlerManager.removeEventFilter
(EventType<T> eventType, EventHandler<? super T> eventFilter) Unregisters a previously registered event filter.final <T extends Event>
voidEventHandlerManager.removeEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Unregisters a previously registered event handler.final <T extends Event>
voidEventHandlerManager.setEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Sets the specified singleton handler. -
Uses of EventType in com.sun.javafx.scene.control.behavior
-
Uses of EventType in com.sun.javafx.tk
Modifier and TypeFieldDescriptionstatic final EventType<FocusUngrabEvent>
FocusUngrabEvent.ANY
static final EventType<FocusUngrabEvent>
FocusUngrabEvent.FOCUS_UNGRAB
-
Uses of EventType in dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.util
Modifier and TypeMethodDescriptionstatic DragEvent
FxEvents.toDragEvent
(elemental2.dom.MouseEvent me, EventType<DragEvent> dragEventType, Node fxNode) -
Uses of EventType in javafx.event
Modifier and TypeFieldDescriptionstatic final EventType<ActionEvent>
ActionEvent.ACTION
The only valid EventType for the ActionEvent.static final EventType<ActionEvent>
ActionEvent.ANY
Common supertype for all action event types.Event.ANY
Common supertype for all event types.Event.eventType
Type of the event.EventType.ROOT
The root event type.Modifier and TypeMethodDescriptionEventType<? extends ActionEvent>
ActionEvent.getEventType()
Event.getEventType()
Gets the event type of this event.EventType.getSuperType()
Gets the super type of this event type.ModifierConstructorDescriptionEvent
(Object source, EventTarget target, EventType<? extends Event> eventType) Construct a newEvent
with the specified event source, target and type.Construct a newEvent
with the specified event type.Constructs a newEventType
with the specified super type and the name set tonull
.Constructs a newEventType
with the specified super type and name. -
Uses of EventType in javafx.scene
Modifier and TypeMethodDescriptionfinal <T extends Event>
voidNode.addEventFilter
(EventType<T> eventType, EventHandler<? super T> eventFilter) Registers an event filter to this node.final <T extends Event>
voidScene.addEventFilter
(EventType<T> eventType, EventHandler<? super T> eventFilter) Registers an event filter to this scene.final <T extends Event>
voidNode.addEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Registers an event handler to this node.final <T extends Event>
voidScene.addEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Registers an event handler to this scene.final <T extends Event>
voidNode.removeEventFilter
(EventType<T> eventType, EventHandler<? super T> eventFilter) Unregisters a previously registered event filter from this node.final <T extends Event>
voidScene.removeEventFilter
(EventType<T> eventType, EventHandler<? super T> eventFilter) Unregisters a previously registered event filter from this scene.final <T extends Event>
voidNode.removeEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Unregisters a previously registered event handler from this node.final <T extends Event>
voidScene.removeEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Unregisters a previously registered event handler from this scene.protected final <T extends Event>
voidNode.setEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Sets the handler to use for this event type.protected final <T extends Event>
voidScene.setEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Sets the handler to use for this event type. -
Uses of EventType in javafx.scene.control
Modifier and TypeFieldDescriptionstatic final EventType<DialogEvent>
DialogEvent.ANY
Common supertype for all dialog event types.Tab.CLOSED_EVENT
Called when a user closes this tab.static final EventType<DialogEvent>
DialogEvent.DIALOG_CLOSE_REQUEST
This event is delivered to a dialog when there is an external request to close that dialog.static final EventType<DialogEvent>
DialogEvent.DIALOG_HIDDEN
This event occurs on dialog just after it is hidden.static final EventType<DialogEvent>
DialogEvent.DIALOG_HIDING
This event occurs on dialog just before it is hidden.static final EventType<DialogEvent>
DialogEvent.DIALOG_SHOWING
This event occurs on dialog just before it is shown.static final EventType<DialogEvent>
DialogEvent.DIALOG_SHOWN
This event occurs on dialog just after it is shown.MenuItem.MENU_VALIDATION_EVENT
Called when a accelerator for the Menuitem is invokedChoiceBox.ON_HIDDEN
Called when the ChoiceBox popup has been hidden.ComboBoxBase.ON_HIDDEN
Called when the ComboBox popup/display has been hidden.Menu.ON_HIDDEN
Called when the contextMenu for this menu is hidden.ChoiceBox.ON_HIDING
Called when the ChoiceBox popup will be hidden.ComboBoxBase.ON_HIDING
Called when the ComboBox popup/display will be hidden.Menu.ON_HIDING
Called when the contextMenu for this menu will be hidden.ChoiceBox.ON_SHOWING
Called prior to the ChoiceBox showing its popup after the user has clicked or otherwise interacted with the ChoiceBox.ComboBoxBase.ON_SHOWING
Called prior to the ComboBox showing its popup/display after the user has clicked or otherwise interacted with the ComboBox.Menu.ON_SHOWING
Called when the contextMenu for this menu will be shown.ChoiceBox.ON_SHOWN
Called after the ChoiceBox has shown its popup.ComboBoxBase.ON_SHOWN
Called after the ComboBox has shown its popup/display.Menu.ON_SHOWN
Called when the contextMenu for this menu shows.Called when the tab becomes selected or unselected.Called when there is an external request to close thisTab
.Modifier and TypeMethodDescriptionDialogEvent.getEventType()
Creates a copy of the given event with the given fields substituted.Modifier and TypeMethodDescription<E extends Event>
voidMenu.addEventHandler
(EventType<E> eventType, EventHandler<E> eventHandler) Registers an event handler to this MenuItem.<E extends Event>
voidMenuItem.addEventHandler
(EventType<E> eventType, EventHandler<E> eventHandler) Registers an event handler to this MenuItem.<E extends Event>
voidMenu.removeEventHandler
(EventType<E> eventType, EventHandler<E> eventHandler) Unregisters a previously registered event handler from this MenuItem.<E extends Event>
voidMenuItem.removeEventHandler
(EventType<E> eventType, EventHandler<E> eventHandler) Unregisters a previously registered event handler from this MenuItem.ModifierConstructorDescriptionDialogEvent
(Dialog<?> source, EventType<? extends Event> eventType) Construct a newEvent
with the specified event source, target and type. -
Uses of EventType in javafx.scene.input
Modifier and TypeFieldDescriptionstatic final EventType<ContextMenuEvent>
ContextMenuEvent.ANY
Common supertype for all context menu event types.DragEvent.ANY
Common supertype for all drag event types.static final EventType<GestureEvent>
GestureEvent.ANY
Common supertype for all gestures.static final EventType<InputEvent>
InputEvent.ANY
Common supertype for all input event types.KeyEvent.ANY
Common supertype for all key event types.static final EventType<MouseDragEvent>
MouseDragEvent.ANY
Common supertype for all mouse event types.static final EventType<MouseEvent>
MouseEvent.ANY
Common supertype for all mouse event types.static final EventType<ScrollEvent>
ScrollEvent.ANY
Common supertype for all scroll event types.static final EventType<SwipeEvent>
SwipeEvent.ANY
Common supertype for all swipe event types.static final EventType<TouchEvent>
TouchEvent.ANY
Common supertype for all touch event types.static final EventType<ContextMenuEvent>
ContextMenuEvent.CONTEXT_MENU_REQUESTED
This event occurs when a context menu is requested.static final EventType<MouseEvent>
MouseEvent.DRAG_DETECTED
This event is delivered to a node that is identified as a source of a dragging gesture.DragEvent.DRAG_DONE
This event occurs on drag-and-drop gesture source after its data has been dropped on a drop target.DragEvent.DRAG_DROPPED
This event occurs when the mouse button is released during drag and drop gesture on a drop target.DragEvent.DRAG_ENTERED
This event occurs when drag gesture enters a node.DragEvent.DRAG_ENTERED_TARGET
This event occurs when drag gesture enters a node.DragEvent.DRAG_EXITED
This event occurs when drag gesture exits a node.DragEvent.DRAG_EXITED_TARGET
This event occurs when drag gesture exits a node.DragEvent.DRAG_OVER
This event occurs when drag gesture progresses within this node.KeyEvent.KEY_PRESSED
This event occurs when a key has been pressed.KeyEvent.KEY_RELEASED
This event occurs when a key has been released.KeyEvent.KEY_TYPED
This event occurs when a character-generating key was typed (pressed and released).static final EventType<MouseEvent>
MouseEvent.MOUSE_CLICKED
This event occurs when mouse button has been clicked (pressed and released on the same node).static final EventType<MouseDragEvent>
MouseDragEvent.MOUSE_DRAG_ENTERED
This event occurs when the gesture enters a node.static final EventType<MouseDragEvent>
MouseDragEvent.MOUSE_DRAG_ENTERED_TARGET
This event occurs when the gesture enters a node.static final EventType<MouseDragEvent>
MouseDragEvent.MOUSE_DRAG_EXITED
This event occurs when the gesture exits a node.static final EventType<MouseDragEvent>
MouseDragEvent.MOUSE_DRAG_EXITED_TARGET
This event occurs when the gesture exits a node.static final EventType<MouseDragEvent>
MouseDragEvent.MOUSE_DRAG_OVER
This event occurs when the gesture progresses within this node.static final EventType<MouseDragEvent>
MouseDragEvent.MOUSE_DRAG_RELEASED
This event occurs when the gesture ends (by releasing mouse button) on this node.static final EventType<MouseEvent>
MouseEvent.MOUSE_DRAGGED
This event occurs when mouse moves with a pressed button.static final EventType<MouseEvent>
MouseEvent.MOUSE_ENTERED
This event occurs when mouse enters a node.static final EventType<MouseEvent>
MouseEvent.MOUSE_ENTERED_TARGET
This event occurs when mouse enters a node.static final EventType<MouseEvent>
MouseEvent.MOUSE_EXITED
This event occurs when mouse exits a node.static final EventType<MouseEvent>
MouseEvent.MOUSE_EXITED_TARGET
This event occurs when mouse exits a node.static final EventType<MouseEvent>
MouseEvent.MOUSE_MOVED
This event occurs when mouse moves within a node and no buttons are pressed.static final EventType<MouseEvent>
MouseEvent.MOUSE_PRESSED
This event occurs when mouse button is pressed.static final EventType<MouseEvent>
MouseEvent.MOUSE_RELEASED
This event occurs when mouse button is released.static final EventType<ScrollEvent>
ScrollEvent.SCROLL
This event occurs when user performs a scrolling action such as rotating mouse wheel or dragging a finger over touch screen.static final EventType<ScrollEvent>
ScrollEvent.SCROLL_FINISHED
This event occurs when a scrolling gesture ends.static final EventType<ScrollEvent>
ScrollEvent.SCROLL_STARTED
This event occurs when a scrolling gesture is detected.static final EventType<SwipeEvent>
SwipeEvent.SWIPE_DOWN
This event occurs when user performs downward swipe gesture.static final EventType<SwipeEvent>
SwipeEvent.SWIPE_LEFT
This event occurs when user performs leftward swipe gesture.static final EventType<SwipeEvent>
SwipeEvent.SWIPE_RIGHT
This event occurs when user performs rightward swipe gesture.static final EventType<SwipeEvent>
SwipeEvent.SWIPE_UP
This event occurs when user performs upward swipe gesture.static final EventType<TouchEvent>
TouchEvent.TOUCH_MOVED
This event occurs when the touch point is moved.static final EventType<TouchEvent>
TouchEvent.TOUCH_PRESSED
This event occurs when the touch point is pressed (touched for the first time).static final EventType<TouchEvent>
TouchEvent.TOUCH_RELEASED
This event occurs when the touch point is released.static final EventType<TouchEvent>
TouchEvent.TOUCH_STATIONARY
This event occurs when the touch point is pressed and still (doesn't move).Modifier and TypeMethodDescriptionContextMenuEvent.getEventType()
DragEvent.getEventType()
EventType<? extends GestureEvent>
GestureEvent.getEventType()
EventType<? extends InputEvent>
InputEvent.getEventType()
KeyEvent.getEventType()
MouseDragEvent.getEventType()
EventType<? extends MouseEvent>
MouseEvent.getEventType()
ScrollEvent.getEventType()
SwipeEvent.getEventType()
TouchEvent.getEventType()
Modifier and TypeMethodDescriptionDragEvent.copyFor
(Object source, EventTarget target, Object gestureSource, Object gestureTarget, EventType<DragEvent> eventType) Creates a copy of the given drag event with the given fields substituted.DragEvent.copyFor
(Object source, EventTarget target, EventType<DragEvent> type) Creates a copy of the given drag event with the given fields substituted.KeyEvent.copyFor
(Object source, EventTarget target, EventType<KeyEvent> type) Creates a copy of the given event with the given fields substituted.MouseDragEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<? extends MouseEvent> type) MouseEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<? extends MouseEvent> eventType) Creates a copy of the given event with the given fields substituted.ScrollEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<ScrollEvent> type) Creates a copy of the given event with the given fields substituted.SwipeEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<SwipeEvent> type) Creates a copy of the given event with the given fields substituted.TouchEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<TouchEvent> type) Creates a copy of the given event with the given fields substituted.static MouseDragEvent
MouseEvent.copyForMouseDragEvent
(MouseEvent e, Object source, EventTarget target, EventType<MouseDragEvent> type, Object gestureSource, PickResult pickResult) Creates a copy of this mouse event of MouseDragEvent typeModifierConstructorDescriptionContextMenuEvent
(Object source, EventTarget target, EventType<ContextMenuEvent> eventType, double x, double y, double screenX, double screenY, boolean keyboardTrigger, PickResult pickResult) Constructs new ContextMenu event.ContextMenuEvent
(EventType<ContextMenuEvent> eventType, double x, double y, double screenX, double screenY, boolean keyboardTrigger, PickResult pickResult) Constructs new ContextMenu event with empty source and target.DragEvent
(Object source, EventTarget target, EventType<DragEvent> eventType, Dragboard dragboard, double x, double y, double screenX, double screenY, TransferMode transferMode, Object gestureSource, Object gestureTarget, PickResult pickResult) Constructs new DragEvent event.DragEvent
(EventType<DragEvent> eventType, Dragboard dragboard, double x, double y, double screenX, double screenY, TransferMode transferMode, Object gestureSource, Object gestureTarget, PickResult pickResult) Constructs new DragEvent event with empty source and target.protected
GestureEvent
(Object source, EventTarget target, EventType<? extends GestureEvent> eventType) Deprecated.Do not use this constructor.protected
GestureEvent
(Object source, EventTarget target, EventType<? extends GestureEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, PickResult pickResult) Constructs new GestureEvent event.protected
GestureEvent
(EventType<? extends GestureEvent> eventType) Deprecated.Do not use this constructor.protected
GestureEvent
(EventType<? extends GestureEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, PickResult pickResult) Constructs new GestureEvent event with empty source and targetInputEvent
(Object source, EventTarget target, EventType<? extends InputEvent> eventType) Creates new instance of InputEvent.InputEvent
(EventType<? extends InputEvent> eventType) Creates new instance of InputEvent.KeyEvent
(Object source, EventTarget target, EventType<KeyEvent> eventType, String character, String text, KeyCode code, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown) Constructs new KeyEvent event with null source and target and KeyCode object directly specified.KeyEvent
(EventType<KeyEvent> eventType, String character, String text, KeyCode code, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown) Constructs new KeyEvent event with null source and target and KeyCode object directly specified.MouseDragEvent
(Object source, EventTarget target, EventType<MouseDragEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, PickResult pickResult, Object gestureSource) Constructs new MouseDragEvent event.MouseDragEvent
(EventType<MouseDragEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, PickResult pickResult, Object gestureSource) Constructs new MouseDragEvent event with null source and target.MouseEvent
(Object source, EventTarget target, EventType<? extends MouseEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, boolean stillSincePress, PickResult pickResult) Constructs new MouseEvent event.MouseEvent
(EventType<? extends MouseEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, boolean stillSincePress, PickResult pickResult) Constructs new MouseEvent event with null source and target.ScrollEvent
(Object source, EventTarget target, EventType<ScrollEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double deltaX, double deltaY, double totalDeltaX, double totalDeltaY, ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits, double textDeltaX, ScrollEvent.VerticalTextScrollUnits textDeltaYUnits, double textDeltaY, int touchCount, PickResult pickResult) Constructs new ScrollEvent event.ScrollEvent
(EventType<ScrollEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double deltaX, double deltaY, double totalDeltaX, double totalDeltaY, double multiplierX, double multiplierY, ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits, double textDeltaX, ScrollEvent.VerticalTextScrollUnits textDeltaYUnits, double textDeltaY, int touchCount, PickResult pickResult) Constructs new ScrollEvent event with null source and targetScrollEvent
(EventType<ScrollEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double deltaX, double deltaY, double totalDeltaX, double totalDeltaY, ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits, double textDeltaX, ScrollEvent.VerticalTextScrollUnits textDeltaYUnits, double textDeltaY, int touchCount, PickResult pickResult) Constructs new ScrollEvent event with null source and targetSwipeEvent
(Object source, EventTarget target, EventType<SwipeEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, int touchCount, PickResult pickResult) Constructs new SwipeEvent event.SwipeEvent
(EventType<SwipeEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, int touchCount, PickResult pickResult) Constructs new SwipeEvent event with null source and target.TouchEvent
(Object source, EventTarget target, EventType<TouchEvent> eventType, TouchPoint touchPoint, List<TouchPoint> touchPoints, int eventSetId, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown) Constructs new TouchEvent event.TouchEvent
(EventType<TouchEvent> eventType, TouchPoint touchPoint, List<TouchPoint> touchPoints, int eventSetId, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown) Constructs new TouchEvent event with null source and target. -
Uses of EventType in javafx.scene.web
Modifier and TypeFieldDescriptionstatic final EventType<WebErrorEvent>
WebErrorEvent.ANY
Common supertype for allWebErrorEvent
types.static final EventType<WebErrorEvent>
WebErrorEvent.USER_DATA_DIRECTORY_ALREADY_IN_USE
This event occurs when aWebEngine
detects that its user data directory is already in use by aWebEngine
running in a different VM.static final EventType<WebErrorEvent>
WebErrorEvent.USER_DATA_DIRECTORY_IO_ERROR
This event occurs when aWebEngine
encounters an I/O error while trying to create or access the user data directory.static final EventType<WebErrorEvent>
WebErrorEvent.USER_DATA_DIRECTORY_SECURITY_ERROR
This event occurs when aWebEngine
encounters a security error while trying to create or access the user data directory.ModifierConstructorDescriptionWebErrorEvent
(Object source, EventType<WebErrorEvent> type, String message, Throwable exception) Creates a newWebErrorEvent
. -
Uses of EventType in javafx.stage
Modifier and TypeFieldDescriptionstatic final EventType<WindowEvent>
WindowEvent.ANY
Common supertype for all window event types.static final EventType<WindowEvent>
WindowEvent.WINDOW_CLOSE_REQUEST
This event is delivered to a window when there is an external request to close that window.static final EventType<WindowEvent>
WindowEvent.WINDOW_HIDDEN
This event occurs on window just after it is hidden.static final EventType<WindowEvent>
WindowEvent.WINDOW_HIDING
This event occurs on window just before it is hidden.static final EventType<WindowEvent>
WindowEvent.WINDOW_SHOWING
This event occurs on window just before it is shown.static final EventType<WindowEvent>
WindowEvent.WINDOW_SHOWN
This event occurs on window just after it is shown.Modifier and TypeMethodDescriptionfinal <T extends Event>
voidWindow.addEventFilter
(EventType<T> eventType, EventHandler<? super T> eventFilter) Registers an event filter to this node.final <T extends Event>
voidWindow.addEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Registers an event handler to this node.WindowEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<WindowEvent> type) Creates a copy of the given event with the given fields substituted.final <T extends Event>
voidWindow.removeEventFilter
(EventType<T> eventType, EventHandler<? super T> eventFilter) Unregisters a previously registered event filter from this node.final <T extends Event>
voidWindow.removeEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Unregisters a previously registered event handler from this node.protected final <T extends Event>
voidWindow.setEventHandler
(EventType<T> eventType, EventHandler<? super T> eventHandler) Sets the handler to use for this event type.ModifierConstructorDescriptionWindowEvent
(Window source, EventType<? extends Event> eventType) Construct a newEvent
with the specified event source, target and type.