public class Controller
extends java.lang.Object
Constructor and Description |
---|
Controller() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[][] |
GenerateAsciiArray()
Adds all "basic" ascii values to array.
|
void |
GenerateTrees() |
protected java.lang.String |
GetUserInput()
Acquire user input.
|
protected java.lang.String |
GetUserInput(java.lang.String promptString)
Prompt for and acquire user input.
|
protected void |
PrintAllTreeLeaves()
Iterates through all trees, printing all leaf nodes in order.
|
protected void |
PrintAllTreeLevels()
Iterates through all trees, printing info for all nodes, in breadth-first fasion.
|
protected void |
PrintHelp()
Prints user help text.
|
protected void |
SearchTrees()
Searches through all trees for user input as key.
|
public java.lang.String[][] GenerateAsciiArray()
public void GenerateTrees()
protected void PrintAllTreeLevels()
protected void PrintAllTreeLeaves()
protected void SearchTrees()
protected void PrintHelp()
protected java.lang.String GetUserInput()
protected java.lang.String GetUserInput(java.lang.String promptString)
promptString
- String to show user.