Class Leaf

  • Direct Known Subclasses:
    Branch

    public abstract class Leaf
    extends java.lang.Object
    This class is an abstract class that represents a leaf in a tree structure. It provides methods to validate, start, loop, and check the status of the leaf. It also allows for registering and deregistering listeners.
    • Constructor Detail

      • Leaf

        public Leaf()
    • Method Detail

      • isValid

        public abstract boolean isValid()
      • onStart

        public void onStart()
      • onLoop

        public abstract int onLoop()
      • setStarted

        public void setStarted()
      • isStarted

        public boolean isStarted()
      • isActive

        public boolean isActive()
      • registerListeners

        public void registerListeners()
      • deregisterListeners

        public void deregisterListeners()