Interface IEffect

All Known Implementing Classes:
AbstractEffect, Grow, MoveControl, MoveScrollBar, Resize, SetAlpha, SetBounds, Shake

public interface IEffect
  • Method Summary

    Modifier and Type Method Description
    void cancel()
    Set the effect as done and run the cancel runnable.
    void doEffect()
    Apply effect to the target according to the current time.
    boolean isDone()  
  • Method Details

    • doEffect

      void doEffect()
      Apply effect to the target according to the current time.
    • isDone

      boolean isDone()
      Returns:
      true if the effect as already reached its end.
    • cancel

      void cancel()
      Set the effect as done and run the cancel runnable.