Interface Action


  • public interface Action
    Binds an action to an option.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Action BACK
      Predefined action that goes back to the parent menu.
      static Action QUIT
      Predefined action that leaves all menus.
    • Field Detail

      • QUIT

        static final Action QUIT
        Predefined action that leaves all menus.
      • BACK

        static final Action BACK
        Predefined action that goes back to the parent menu.
    • Method Detail

      • optionSelected

        void optionSelected()
        Automatically triggered when an option is selected.