Class ShakeOp

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Function1<S, Unit> onFinish
    • Constructor Summary

      Constructors 
      Constructor Description
      ShakeOp(S drawable, Long durationNanos, Integer oscillations, Float range, Function1<S, Unit> onFinish)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Boolean exclusive() If this is true, when this drawable operation is attempted to be added, if one is already present, instead of replacing it, it will be ignored.
      Boolean equals(Object other)
      • Methods inherited from class org.polyfrost.polyui.operations.ComponentOp.Animatable

        add, apply, finishNow, getOnFinish, reset, reverse, setOnFinish, unapply
      • Methods inherited from class org.polyfrost.polyui.operations.ComponentOp

        verify
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShakeOp

        ShakeOp(S drawable, Long durationNanos, Integer oscillations, Float range, Function1<S, Unit> onFinish)
    • Method Detail

      • exclusive

         Boolean exclusive()

        If this is true, when this drawable operation is attempted to be added, if one is already present, instead of replacing it, it will be ignored.

        Since:

        1.5.0