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.
Description
Section titled “Description”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.
Learn more
Section titled “Learn more”Elements
Section titled “Elements”| Type | Element | Default | Summary |
|---|---|---|---|
boolean | active | false | If true, the overlay receives the input. |
boolean | cancelClick | 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 | true | If true, a wheel turn that the overlay consumed does not reach the host. |
boolean | cancelKeyboard | true | If true, a key or a character that the overlay consumed does not reach the host. |
Element details
Section titled “Element details”active
Section titled “active”boolean active() default false
If true, the overlay receives the input.
cancelClick
Section titled “cancelClick”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.
cancelScroll
Section titled “cancelScroll”boolean cancelScroll() default true
If true, a wheel turn that the overlay consumed does not reach the host.
cancelKeyboard
Section titled “cancelKeyboard”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
