Skip to content

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.

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.

ReturnsSignatureSummary
voidconsume() abstractStops the input.
booleanisConsumed() abstractIf true, a listener or a node consumed the input.

void consume() abstract

Stops the input.

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

Report a problem with this page