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.
Description
Section titled “Description”UI.getPopup returns it.
A change of the transition applies from the next frame, unless UI.transition has set a transition of its own.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
UIDataPopupObject | create() factory | Creates the options of a UI that is not a popup. |
Properties
Section titled “Properties”| Property | Type | Default | Summary |
|---|---|---|---|
| active | boolean | false | If true, the UI is a popup. |
| transition | PopupTransition | PopupTransition.IN_OUT | Which steps of the pop transition the popup plays. |
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”UIDataPopupObject create() factory
Creates the options of a UI that is not a popup.
Property details
Section titled “Property details”active
Section titled “active”this active(boolean active)fluentboolean active()
Default: false
If true, the UI is a popup.
transition
Section titled “transition”this transition(PopupTransition transition)fluentPopupTransition transition()
Default: PopupTransition.IN_OUT
Which steps of the pop transition the popup plays.
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
