|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object osdep.console.ConsoleChooser<T>
public class ConsoleChooser<T>
To let the user choose one element from a list of them using the console
Constructor Summary | |
---|---|
ConsoleChooser(java.util.List<T> lstEntry,
IChoiceDescription<T> description)
|
Method Summary | |
---|---|
T |
getChoice()
Interacts with the user until he chooses one of the entries, which it returns |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsoleChooser(java.util.List<T> lstEntry, IChoiceDescription<T> description)
Method Detail |
---|
public T getChoice()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |