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.
Description
Section titled “Description”The character comes with the layout and the Shift key applied; control characters never arrive.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
UICharEvent<U> | create(U ui, int codepoint) factory | Creates the event for a UI and a code point. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
int | getCodepoint() | Returns the Unicode code point of the typed character; Character.toChars turns it into text. |
Inherited from UIInputEvent (2)
Creation details
Section titled “Creation details”create
Section titled “create”<U extends UI> UICharEvent<U> create(U ui, int codepoint) factory
Creates the event for a UI and a code point.
Method details
Section titled “Method details”getCodepoint
Section titled “getCodepoint”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
