Skip to content

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.

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.

TypeElementDefaultSummary
booleanactivefalseIf true, the UI is a popup; the annotation without active = true changes nothing, and dev mode warns.
PopupTransitiontransitionPopupTransition.IN_OUTWhich steps of the PopTransition the popup plays: on opening, on closing, both or none.

boolean active() default false

If true, the UI is a popup; the annotation without active = true changes nothing, and dev mode warns.

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

Report a problem with this page