Package org.jsignal.ui.event
Class EventListener<T>
java.lang.Object
org.jsignal.ui.event.EventListener<T>
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
static EventListener
<FocusEvent> onBlur
(Consumer<FocusEvent> listener) static EventListener
<FocusEvent> onFocus
(Consumer<FocusEvent> listener) static EventListener
<KeyboardEvent> onKeyDown
(Consumer<KeyboardEvent> listener) static EventListener
<MouseEvent> onMouseClick
(Consumer<MouseEvent> listener) static EventListener
<MouseEvent> onMouseDown
(Consumer<MouseEvent> listener) static EventListener
<MouseEvent> onMouseEnter
(Consumer<MouseEvent> listener) static EventListener
<MouseEvent> onMouseIn
(Consumer<MouseEvent> listener) static EventListener
<MouseEvent> onMouseLeave
(Consumer<MouseEvent> listener) static EventListener
<MouseEvent> onMouseOut
(Consumer<MouseEvent> listener) static EventListener
<MouseEvent> onMouseOver
(Consumer<MouseEvent> listener) static EventListener
<MouseEvent> onMouseUp
(Consumer<MouseEvent> listener) static EventListener
<ScrollEvent> onScroll
(Consumer<ScrollEvent> listener)
-
Method Details
-
getType
-
getListener
-
onMouseIn
-
onMouseOut
-
onMouseEnter
-
onMouseLeave
-
onMouseOver
-
onMouseDown
-
onMouseUp
-
onMouseClick
-
onKeyDown
-
onScroll
-
onFocus
-
onBlur
-