Package commandLineMenus
Package setting up a user dialogue based on menus and
options. Please look at the wiki *
for a quickstart.
-
Interface Summary Interface Description Action Binds an action to an option.ListAction<T> Binds an action to item from a List.ListData<T> Refreshs a List before printing it.ListItemRenderer<T> Overrides the display of an item in a list.ListOption<T> Nests options into a List.MenuRenderer Override it if you want to customize the display of the user dialog. -
Class Summary Class Description List<T> Menu dynamically populated with a list of items.Menu Menu printed on the terminal (if you don't override the layout) TheOption.titleis displayed on the top of the menu, followed by an options list.Option Option displayed in a menu. -
Exception Summary Exception Description List.ListActionOrOptionException Thrown if there is a problem with the listAction or the listOption.List.ManualOptionAddForbiddenException Thrown if one tries to manually edit the options displayed.List.NoListDataDefinedException Thrown if the current list has no ListData.Menu.CycleDetectedException Thrown if a menu is an ancestor if himself.