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 self, Long durationNanos, Integer oscillations, Float range)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Boolean verify() override this function to verify that this operation is valid, which is run before it is applied.
      • Methods inherited from class org.polyfrost.polyui.operations.DrawableOp.Animatable

        apply, finishNow, getOnFinish, reset, reverse, setOnFinish, unapply
      • 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
    • Constructor Detail

    • Method Detail

      • verify

         Boolean verify()

        override this function to verify that this operation is valid, which is run before it is applied. (default: always true)

        Returns:

        true if this operation is deemed to be valid.

        Since:

        1.1.1