Class DrawableOp.Animatable

  • All Implemented Interfaces:

    
    public abstract class DrawableOp.Animatable<T extends Drawable>
    extends DrawableOp
                        

    Class to represent an operation that can be applied on a component that modifies it in some way.

    It is applied before and after rendering, for example a Move, Resize, or Rotate operation, or a transition.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Function1<T, Unit> onFinish
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Function1<T, Unit> getOnFinish()
      final Unit setOnFinish(Function1<T, Unit> onFinish)
      Unit apply()
      Boolean unapply()
      Unit finishNow() finish this operation immediately.
      Unit reset()
      Unit reverse()
      • Methods inherited from class org.polyfrost.polyui.operations.DrawableOp

        add, remove
      • Methods inherited from class java.lang.Object

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