public static interface Choice.SelectByInput
Modifier and Type | Method and Description |
---|---|
Choice.MenuSelectionInput |
getInput(Menu forMenu)
This allows you to return a custom MenuSelectionInput.
|
int |
getMapsTo(String text,
Vector items)
Return the index of the item that closest matches the user input.
|
int getMapsTo(String text, Vector items)
text
- the text typed by the user.choices
- the available items.Choice.MenuSelectionInput getInput(Menu forMenu)
forMenu
-