Package limn.scene.event
@NullMarked
package limn.scene.event
The input events the scene dispatches:
MouseEvent,
KeyEvent, CharEvent for committed
text and PreeditEvent for IME composition still in flight. Event
data is immutable; the one mutable bit is consumption: a handler that fully processed an event
consumes it, and bubbling stops there.
A drag has three of its own, which are answered rather than consumed:
DragStartEvent asks a widget whether a drag begins on it,
DragEvent asks one whether it would take what is over it, and
DropEvent hands it over.
-
ClassDescriptionCommitted text input (one code point), routed like
KeyEvent.A drag is over a widget.The question a widget is asked when a drag may begin on it: a press that travelled a few points, or the drag key on a focused widget.What was dragged is dropped on the widget that last accepted it.Base of all dispatched input events.A keyboard event routed to the focused widget (bubbling to its ancestors until consumed).A pointer event, positioned in scene coordinates (logical points, origin at the window's top-left).What the pointer did.In-progress IME composition ("preedit"): the text an input method is still composing, shown inline with an underline but not committed to the editing model.