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) |
java.lang.String[] |
processForm(UIForm form) |
java.lang.Object |
processMenu(UIMenu menu) |
TextUI()
public void displayMessage(java.lang.String message)
displayMessage
in interface UI
public void displayError(java.lang.String message)
displayError
in interface UI
public java.lang.Object processMenu(UIMenu menu)
processMenu
in interface UI
public java.lang.String[] processForm(UIForm form)
processForm
in interface UI