Skip to content

UICharEvent

final class UICharEvent<U extends UI>
Extends: UIInputEvent<U>
Package: dev.joid.lib.ui.event.impl.ui · Module: core · Source: UICharEvent.java

The event of handleCharTyped on a UI, with one typed character that no node consumed, as a Unicode code point.

The character comes with the layout and the Shift key applied; control characters never arrive.

ReturnsSignatureSummary
UICharEvent<U>create(U ui, int codepoint) factoryCreates the event for a UI and a code point.

ReturnsSignatureSummary
intgetCodepoint()Returns the Unicode code point of the typed character; Character.toChars turns it into text.
Inherited from UIInputEvent (2)

consume · isConsumed

Inherited from UIEvent (1)

getUi

<U extends UI> UICharEvent<U> create(U ui, int codepoint) factory

Creates the event for a UI and a code point.

int getCodepoint()

Returns the Unicode code point of the typed character; Character.toChars turns it into text.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page