Interface Transition

    • Field Detail

      • IMMEDIATE

        static final Transition IMMEDIATE
        The instant transition: the incoming content replaces the outgoing content in a single frame.

        This is the Navigator's initial default transition; it reproduces a non-animated page change. It performs no animation and signals completion synchronously, so the outgoing content is detached immediately.

    • Method Detail

      • run

        void run​(TransitionContext context,
                 TransitionListener listener)
        Animates the page change described by the given context.

        Called on the MicroUI thread once per navigation. The implementation must call TransitionListener.onTransitionEnd() exactly once when the animation is finished.

        Parameters:
        context - the stage exposing the contents, the content area size, and the animation primitives.
        listener - the listener to notify once, when the transition finishes.