org.codehaus.waffle.menu
Class Menu

java.lang.Object
  extended by org.codehaus.waffle.menu.Menu

public class Menu
extends java.lang.Object

Represents the menu holding the navigation model. Menus entries are divided into groups. Content can be provided as a map, keyed on group title, of lists of entries where each entry is a colon-separated string "title:path".

Author:
Mauro Talevi

Nested Class Summary
static class Menu.Entry
           
static class Menu.Group
           
 
Constructor Summary
Menu()
           
Menu(java.util.List<Menu.Group> groups)
           
Menu(java.util.Map<java.lang.String,java.util.List<java.lang.String>> content)
           
 
Method Summary
 java.util.List<Menu.Group> getGroups()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Menu

public Menu()

Menu

public Menu(java.util.List<Menu.Group> groups)

Menu

public Menu(java.util.Map<java.lang.String,java.util.List<java.lang.String>> content)
Method Detail

getGroups

public java.util.List<Menu.Group> getGroups()


Copyright © 2008. All Rights Reserved.