Class AnimationBuilder

java.lang.Object
de.mekaso.vaadin.addon.compani.animation.AnimationBuilder

public class AnimationBuilder extends Object
Author:
Meik Kaufmann Builder for animation of all types.
  • Method Details

    • createBuilderFor

      public static AnimationBuilder createBuilderFor(com.vaadin.flow.component.HasStyle animatedComponent)
      Create an animation builder.
      Parameters:
      animatedComponent - the animated component
      Returns:
      the builder
    • create

      public <T extends Animation> T create(Class<T> type)
      Create an animation.
      Type Parameters:
      T - the type
      Parameters:
      type - the type class
      Returns:
      an animation