IConsumableEvent
interface IConsumableEvent
Known subtypes: NodeInputEvent, UIInputEvent
Package: dev.joid.lib.ui.event · Module: core · Source: IConsumableEvent.java
An input event that a listener consumes to stop it.
Description
Section titled “Description”The handleX events implement it.
A consumed input reaches no other listener except the MONITOR ones, none of the handling of a node, no UI below and not the host application.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | consume() abstract | Stops the input. |
boolean | isConsumed() abstract | If true, a listener or a node consumed the input. |
Method details
Section titled “Method details”consume
Section titled “consume”void consume() abstract
Stops the input.
isConsumed
Section titled “isConsumed”boolean isConsumed() abstract
If true, a listener or a node consumed the input.
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
