Class DrawableOp.Persistent

  • All Implemented Interfaces:

    
    public abstract class DrawableOp.Persistent
    extends DrawableOp
                        

    Abstract class representing a persistent drawable operation.

    A persistent operation is one that remains active indefinitely and does not finish.

    These are special as they are not taken into account during removal of a drawable.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Boolean isFinished()
      Unit update(Long deltaTimeNanos) update the underlying animation, if present.
      • Methods inherited from class org.polyfrost.polyui.component.DrawableOp

        apply, getAnimation, unapply
      • Methods inherited from class java.lang.Object

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

      • DrawableOp.Persistent

        DrawableOp.Persistent(Drawable drawable)
        Parameters:
        drawable - The drawable object to apply the operation on.