Skip to content

UIDataOverlayInteraction

@interface UIDataOverlayInteraction
Package: dev.joid.lib.ui.core.data · Module: core · Source: UIDataOverlayInteraction.java

Whether an overlay receives the input and what it lets through, set in the interaction option of @UIDataOverlay.

An overlay that receives the input gets it before the screen when it is drawn above it. The cancel options decide whether an input that a node of the overlay consumed still reaches the host application.

TypeElementDefaultSummary
booleanactivefalseIf true, the overlay receives the input.
booleancancelClicktrueIf true, a mouse press, release or drag that the overlay consumed does not reach the host; if false, the host receives it too.
booleancancelScrolltrueIf true, a wheel turn that the overlay consumed does not reach the host.
booleancancelKeyboardtrueIf true, a key or a character that the overlay consumed does not reach the host.

boolean active() default false

If true, the overlay receives the input.

boolean cancelClick() default true

If true, a mouse press, release or drag that the overlay consumed does not reach the host; if false, the host receives it too.

boolean cancelScroll() default true

If true, a wheel turn that the overlay consumed does not reach the host.

boolean cancelKeyboard() default true

If true, a key or a character that the overlay consumed does not reach the host.


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