Modifier and Type | Field and Description |
---|---|
(package private) java.io.BufferedReader |
in |
(package private) java.io.PrintStream |
out |
Constructor and Description |
---|
TextUI() |
Modifier and Type | Method and Description |
---|---|
void |
displayError(java.lang.String message) |
void |
displayMessage(java.lang.String message) |
private java.lang.String |
getResponse() |
java.lang.String[] |
processForm(UIForm form) |
void |
processMenu(UIMenu menu) |
public TextUI()
public void displayMessage(java.lang.String message)
displayMessage
in interface UI
public void displayError(java.lang.String message)
displayError
in interface UI
private java.lang.String getResponse()
public void processMenu(UIMenu menu)
processMenu
in interface UI
public java.lang.String[] processForm(UIForm form)
processForm
in interface UI