UIDataPopup
@interface UIDataPopup
Package: dev.joid.lib.ui.core.data · Module: core · Source: UIDataPopup.java
Annotation that makes a UI a popup, opened above the current screen with an opening and a closing transition.
Description
Section titled “Description”A popup takes every input while it is open: nothing reaches the UIs below it.
Add @UIData(background = true) to dim what is under it.
A UI cannot be both a popup and an overlay.
Learn more
Section titled “Learn more”Elements
Section titled “Elements”| Type | Element | Default | Summary |
|---|---|---|---|
boolean | active | false | If true, the UI is a popup; the annotation without active = true changes nothing, and dev mode warns. |
PopupTransition | transition | PopupTransition.IN_OUT | Which steps of the PopTransition the popup plays: on opening, on closing, both or none. |
Element details
Section titled “Element details”active
Section titled “active”boolean active() default false
If true, the UI is a popup; the annotation without active = true changes nothing, and dev mode warns.
transition
Section titled “transition”PopupTransition transition() default PopupTransition.IN_OUT
Which steps of the PopTransition the popup plays: on opening, on closing, both or none.
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
