org.wicketstuff.yui.markup.html.menu2.contextMenu
Class YuiContextMenu

java.lang.Object
  extended by org.wicketstuff.yui.markup.html.menu2.contextMenu.YuiContextMenu
All Implemented Interfaces:
Serializable

public class YuiContextMenu
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
YuiContextMenu(String menuId)
           
 
Method Summary
 void add(AbstractMenuItem item)
           
 String formatMenuItemData(String trigger, YuiContextMenuBehavior behavior)
           
 List<MenuItem> getAllMenuItems()
           
 String getItemData(YuiContextMenuBehavior behavior)
           
 String getMenuId()
           
 MenuItem getMenuItem(String action)
          Return the MenuItem according to its action
 HashMap<String,String> getProperties()
           
 Iterator<AbstractMenuItem> items()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YuiContextMenu

public YuiContextMenu(String menuId)
Method Detail

getMenuId

public String getMenuId()

add

public void add(AbstractMenuItem item)

items

public Iterator<AbstractMenuItem> items()

getMenuItem

public MenuItem getMenuItem(String action)
Return the MenuItem according to its action

Parameters:
action - action of a MenuItem
Returns:
the MenuItem according to its action

getAllMenuItems

public List<MenuItem> getAllMenuItems()

getProperties

public HashMap<String,String> getProperties()

formatMenuItemData

public String formatMenuItemData(String trigger,
                                 YuiContextMenuBehavior behavior)

getItemData

public String getItemData(YuiContextMenuBehavior behavior)

main

public static void main(String[] args)


Copyright © 2006-2012 Wicket developers. All Rights Reserved.