Skip to content

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.

UIDataOverlayObject.interaction returns it.

ReturnsSignatureSummary
UIDataOverlayInteractionObjectcreate() factoryCreates the options with the default values of UIDataOverlayInteraction.

PropertyTypeDefaultSummary
activebooleanfalseIf true, the overlay receives the input.
cancelClickbooleantrueIf true, a mouse input that the overlay consumed does not reach the host.
cancelScrollbooleantrueIf true, a wheel turn that the overlay consumed does not reach the host.
cancelKeyboardbooleantrueIf true, a key or a character that the overlay consumed does not reach the host.

ReturnsSignatureSummary
StringtoString()Returns the class and the value of every option, for logs.

UIDataOverlayInteractionObject create() factory

Creates the options with the default values of UIDataOverlayInteraction.

  • this active(boolean active) fluent
  • boolean active()

Default: false

If true, the overlay receives the input.

  • this cancelClick(boolean cancelClick) fluent
  • boolean cancelClick()

Default: true

If true, a mouse input that the overlay consumed does not reach the host.

  • this cancelScroll(boolean cancelScroll) fluent
  • boolean cancelScroll()

Default: true

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

  • this cancelKeyboard(boolean cancelKeyboard) fluent
  • boolean cancelKeyboard()

Default: true

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

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

Report a problem with this page