Skip to content

Transition

abstract class Transition
Known subtypes: PopTransition
Package: dev.joid.lib.ui.core.transition · Module: core · Source: Transition.java

The pair of steps that a UI plays when it opens and when it closes.

Give one to a UI with UI.transition; a popup gets a PopTransition from @UIDataPopup. Write your own by extending this class and passing two TransitionStep to the constructor. Several UIs can share one transition: each UI plays copies of its steps, made when the transition is set.

ReturnsSignatureSummary
Transition(TransitionStep in, TransitionStep out) protectedCreates a transition from its opening step and its closing step.

ReturnsSignatureSummary
TransitionStepgetIn()The opening step that the UIs copy; UI.getTransitionIn returns the copy that a UI plays.
TransitionStepgetOut()The closing step that the UIs copy; UI.getTransitionOut returns the copy that a UI plays.

Transition(TransitionStep in, TransitionStep out) protected

Creates a transition from its opening step and its closing step.

TransitionStep getIn()

The opening step that the UIs copy; UI.getTransitionIn returns the copy that a UI plays.

TransitionStep getOut()

The closing step that the UIs copy; UI.getTransitionOut returns the copy that a UI plays.


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