Class DrawableOp

  • All Implemented Interfaces:

    
    public abstract class DrawableOp
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public abstract class DrawableOp.Animatable

      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.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit apply()
      abstract Boolean unapply()
      Boolean verify() override this function to verify that this operation is valid, which is run before it is applied.
      final Unit add()
      final Unit 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