public final class UIMenu extends java.lang.Object
UIMenuBuilder
Modifier and Type | Class and Description |
---|---|
(package private) static class |
UIMenu.Pair |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
heading |
private UIMenu.Pair[] |
menu |
Constructor and Description |
---|
UIMenu(java.lang.String heading,
UIMenu.Pair[] menu) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeading() |
java.lang.String |
getPrompt(int i) |
java.lang.Object |
runAction(int i) |
int |
size() |
private final java.lang.String heading
private final UIMenu.Pair[] menu
UIMenu(java.lang.String heading, UIMenu.Pair[] menu)
public int size()
public java.lang.String getHeading()
public java.lang.String getPrompt(int i)
public java.lang.Object runAction(int i)