UIDataOverlayInteractionObject
final class UIDataOverlayInteractionObject
Package: dev.joid.lib.ui.core.data · Module: core · Source: UIDataOverlayInteractionObject.java
The input options of an overlay for a running UI.
Description
Section titled “Description”UIDataOverlayObject.interaction returns it.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
UIDataOverlayInteractionObject | create() factory | Creates the options with the default values of UIDataOverlayInteraction. |
Properties
Section titled “Properties”| Property | Type | Default | Summary |
|---|---|---|---|
| active | boolean | false | If true, the overlay receives the input. |
| cancelClick | boolean | true | If true, a mouse input that the overlay consumed does not reach the host. |
| cancelScroll | boolean | true | If true, a wheel turn that the overlay consumed does not reach the host. |
| cancelKeyboard | boolean | true | If true, a key or a character that the overlay consumed does not reach the host. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
String | toString() | Returns the class and the value of every option, for logs. |
Creation details
Section titled “Creation details”create
Section titled “create”UIDataOverlayInteractionObject create() factory
Creates the options with the default values of UIDataOverlayInteraction.
Property details
Section titled “Property details”active
Section titled “active”this active(boolean active)fluentboolean active()
Default: false
If true, the overlay receives the input.
cancelClick
Section titled “cancelClick”this cancelClick(boolean cancelClick)fluentboolean cancelClick()
Default: true
If true, a mouse input that the overlay consumed does not reach the host.
cancelScroll
Section titled “cancelScroll”this cancelScroll(boolean cancelScroll)fluentboolean cancelScroll()
Default: true
If true, a wheel turn that the overlay consumed does not reach the host.
cancelKeyboard
Section titled “cancelKeyboard”this cancelKeyboard(boolean cancelKeyboard)fluentboolean cancelKeyboard()
Default: true
If true, a key or a character that the overlay consumed does not reach the host.
Method details
Section titled “Method details”toString
Section titled “toString”String toString()
Returns the class and the value of every option, for logs.
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
