Class AnimationTypes.ExitAnimation

java.lang.Object
com.vaadin.flow.component.Component
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, com.vaadin.flow.dom.DomEventListener, Serializable
Enclosing class:
AnimationTypes

public static class AnimationTypes.ExitAnimation extends AnimationTypes.EntranceAnimation
Author:
Meik Kaufmann Animate a component before removing it from the UI.
See Also:
  • Field Summary

    Fields inherited from class de.mekaso.vaadin.addon.compani.animation.Animation

    animatedComponent, currentEffect, domListenerRegistration, effect, STYLES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Animate and remove a component.
    Set the effect for this animation.

    Methods inherited from class de.mekaso.vaadin.addon.compani.animation.AnimationTypes.EntranceAnimation

    fetchCssClasses, register, withDelay, withEffect, withSpeed

    Methods inherited from class de.mekaso.vaadin.addon.compani.animation.Animation

    addAnimationEndListener, handleEvent, isTextEffect, start, stop

    Methods inherited from class com.vaadin.flow.component.Component

    addListener, bindVisible, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Constructor Details

    • ExitAnimation

      public ExitAnimation()
  • Method Details

    • withEffect

      public AnimationTypes.ExitAnimation withEffect(ExitEffect effect)
      Set the effect for this animation.
      Parameters:
      effect - the effect
      Returns:
      an animation
    • remove

      public void remove()
      Animate and remove a component.