Skip to content

UIDataPopupObject

final class UIDataPopupObject
Package: dev.joid.lib.ui.core.data · Module: core · Source: UIDataPopupObject.java

The popup options of @UIDataPopup for a running UI.

UI.getPopup returns it. A change of the transition applies from the next frame, unless UI.transition has set a transition of its own.

ReturnsSignatureSummary
UIDataPopupObjectcreate() factoryCreates the options of a UI that is not a popup.

PropertyTypeDefaultSummary
activebooleanfalseIf true, the UI is a popup.
transitionPopupTransitionPopupTransition.IN_OUTWhich steps of the pop transition the popup plays.

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

UIDataPopupObject create() factory

Creates the options of a UI that is not a popup.

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

Default: false

If true, the UI is a popup.

  • this transition(PopupTransition transition) fluent
  • PopupTransition transition()

Default: PopupTransition.IN_OUT

Which steps of the pop transition the popup plays.

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