Class PopupPanel.ResizeAnimation

    • Method Detail

      • setState

        public void setState​(boolean showing,
                             boolean isUnloading)
        Open or close the content. This method always called immediately after the PopupPanel showing state has changed, so we base the animation on the current state.
        Parameters:
        showing - true if the popup is showing, false if not
      • onComplete

        protected void onComplete()
        Description copied from class: Animation
        Called immediately after the animation completes.
        Overrides:
        onComplete in class Animation
      • onStart

        protected void onStart()
        Description copied from class: Animation
        Called immediately before the animation starts.
        Overrides:
        onStart in class Animation
      • onUpdate

        protected void onUpdate​(double progress)
        Description copied from class: Animation
        Called when the animation should be updated. The value of progress is between 0.0 and 1.0 (inclusive) (unless you override the Animation.interpolate(double) method to provide a wider range of values). There is no guarantee that Animation.onUpdate(double) is called with 0.0 or 1.0. If you need to perform setup or tear down procedures, you can override Animation.onStart() and Animation.onComplete().
        Specified by:
        onUpdate in class Animation
        Parameters:
        progress - a double, normally between 0.0 and 1.0 (inclusive)