public final class UIForm extends java.lang.Object
UIFormBuilder
Modifier and Type | Class and Description |
---|---|
(package private) static class |
UIForm.Pair |
Modifier and Type | Field and Description |
---|---|
private UIForm.Pair[] |
form |
private java.lang.String |
heading |
Constructor and Description |
---|
UIForm(java.lang.String heading,
UIForm.Pair[] menu) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkInput(int i,
java.lang.String input) |
java.lang.String |
getHeading() |
java.lang.String |
getPrompt(int i) |
int |
size() |
private final java.lang.String heading
private final UIForm.Pair[] form
UIForm(java.lang.String heading, UIForm.Pair[] menu)
public int size()
public java.lang.String getHeading()
public java.lang.String getPrompt(int i)
public boolean checkInput(int i, java.lang.String input)