UIEvent
abstract class UIEvent<U extends UI>
Extends: Event
Known subtypes: UIChangeEvent, UICloseEvent, UIInputEvent
Package: dev.joid.lib.ui.event · Module: core · Source: UIEvent.java
The base class of the events about a UI, such as its input or its closing.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
| UIEvent(U ui) protected | Creates an event about a UI, from the constructor of a subclass. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
U | getUi() | Returns the UI that the event concerns, typed as the UI that the listener was added on. |
Creation details
Section titled “Creation details”UIEvent
Section titled “UIEvent”UIEvent(U ui) protected
Creates an event about a UI, from the constructor of a subclass.
Method details
Section titled “Method details”U getUi()
Returns the UI that the event concerns, typed as the UI that the listener was added on.
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
