Skip to content

UIDataPopup.PopupTransition

enum UIDataPopup.PopupTransition
Package: dev.joid.lib.ui.core.data · Module: core · Source: UIDataPopup.java

Which steps of the pop transition a popup plays.

A transition set with UI.transition replaces the one these values give.

ReturnsSignatureSummary
booleanisIn()If true, the popup plays a transition when it opens.
booleanisOut()If true, the popup plays a transition when it closes.
booleanisActive()If true, the popup plays a transition on opening, on closing or both.
ValueSummary
NONEThe popup opens and closes at once.
INThe popup grows in when it opens and closes at once.
OUTThe popup opens at once and shrinks out when it closes.
IN_OUTThe popup grows in when it opens and shrinks out when it closes.

boolean isIn()

If true, the popup plays a transition when it opens.

boolean isOut()

If true, the popup plays a transition when it closes.

boolean isActive()

If true, the popup plays a transition on opening, on closing or both.

NONE

The popup opens and closes at once.

IN

The popup grows in when it opens and closes at once.

OUT

The popup opens at once and shrinks out when it closes.

IN_OUT

The popup grows in when it opens and shrinks out when it closes.


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