Interface StageTransitionHandler


public interface StageTransitionHandler
Responsible for handling stage transitions
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enterStage(Object parentStage, Object childStage)
    Called when childStage is entered.
    void
    leaveStage(Object parentStage, Object childStage)
    Called when the child stage has been left and the parent stage is reentered.
  • Method Details

    • enterStage

      void enterStage(Object parentStage, Object childStage) throws Throwable
      Called when childStage is entered.
      Parameters:
      parentStage - is null if no parent stage exists
      childStage - the stage to enter
      Throws:
      Throwable
    • leaveStage

      void leaveStage(Object parentStage, Object childStage) throws Throwable
      Called when the child stage has been left and the parent stage is reentered.
      Parameters:
      parentStage - is null if no parent stage exist
      childStage - the stage that is left
      Throws:
      Throwable