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.
Description
Section titled “Description”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.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
| Transition(TransitionStep in, TransitionStep out) protected | Creates a transition from its opening step and its closing step. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
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. |
Creation details
Section titled “Creation details”Transition
Section titled “Transition”Transition(TransitionStep in, TransitionStep out) protected
Creates a transition from its opening step and its closing step.
Method details
Section titled “Method details”TransitionStep getIn()
The opening step that the UIs copy; UI.getTransitionIn returns the copy that a UI plays.
getOut
Section titled “getOut”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
