Associates the given item with the given key in this menu.
Removes all items from this menu.
Removes the menu item associated with key. If no item was associated with such key, nothing happens.
Starts the menu.
Runs the menu
Writes the argument to the output of the menu
Writes the argument plus a line terminator to the output of the menu
Reads a line from the input of the menu
See Implementation