Interface BackstackManager

  • All Implemented Interfaces:
    io.writeopia.sdk.backstack.BackstackInform

    
    public interface BackstackManager
     implements BackstackInform
                        

    Manager for backstack. Implementations of this interface are responsible to coordinate undo and redo requests.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract StoryState previousState(StoryState state) Moves to the previous state available.
      abstract StoryState nextState(StoryState state) Moves to the next state available.
      abstract Unit addAction(BackstackAction action) Adds an action to the backstack.
      • Methods inherited from class io.writeopia.sdk.backstack.BackstackInform

        getCanRedo, getCanUndo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait