|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.ui.dm.userInteraction.mainMenu.file.MainMenu
public class MainMenu
A set of main menus. The main menu of the Dialog Manager represents a list of
services installed in the system that can be called by the user.
Additionally, the Dialog Manager provides methods to search for services and
to show pending messages and dialogs.
There is one main menu for every user of the system. The content is
determined by a configuration file where each line contains 3 values
(separated by '|'):
/Light Control|myVendor|LightingURI
/Home Control/Light Control|myVendor|LightingURI
Field Summary | |
---|---|
protected MenuNode |
root
The root node. |
protected MenuNode |
selection
The node that is currently selected. |
Constructor Summary | |
---|---|
protected |
MainMenu()
|
|
MainMenu(InputStream in)
constructor. |
Method Summary | |
---|---|
protected void |
constructMenu(InputStream in)
Create the menu. |
Iterable<MenuNode> |
entries()
Get all the entries for the (sub)menu. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MenuNode root
protected MenuNode selection
Constructor Detail |
---|
protected MainMenu()
public MainMenu(InputStream in)
in
- Input stream for the configuration fileMethod Detail |
---|
protected void constructMenu(InputStream in)
in
- Input stream for the configuration filepublic Iterable<MenuNode> entries()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |