|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of success result value(s) returned by the
call-back. Use Void
if the call-backs do
not return any values.public interface Menu<T>
An interactive console-based menu.
Method Summary | |
---|---|
MenuResult<T> |
run()
Displays the menu and waits for the user to select a valid option. |
Method Detail |
---|
MenuResult<T> run() throws CLIException
CLIException
- If an I/O exception occurred or if one of the menu
option call-backs failed for some reason.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |