Class TerraRollupSkin.ExpandTransition

  • Enclosing class:
    TerraRollupSkin

    public class TerraRollupSkin.ExpandTransition
    extends Transition
    Expand/collapse transition.
    • Constructor Detail

      • ExpandTransition

        public ExpandTransition​(boolean reversed)
    • Method Detail

      • getScale

        public float getScale()
      • start

        public void start​(TransitionListener transitionListener)
        Description copied from class: Transition
        Starts the transition. Calls Transition.update() to establish the initial state and starts a timer that will repeatedly call Transition.update() at the current rate. The specified TransitionListener will be notified when the transition completes.
        Overrides:
        start in class Transition
        Parameters:
        transitionListener - The listener to get notified when the transition completes, or null if no notification is necessary.
      • update

        protected void update()
        Description copied from class: Transition
        Called repeatedly while the transition is running to update the transition's state.
        Specified by:
        update in class Transition