org.xwiki.gwt.wysiwyg.client
Class MenuItemDescriptor
java.lang.Object
org.xwiki.gwt.wysiwyg.client.MenuItemDescriptor
public class MenuItemDescriptor
- extends Object
Describes a menu item.
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuItemDescriptor
public MenuItemDescriptor(String feature)
- Creates a new menu item that exposes the specified feature.
- Parameters:
feature - the feature name
getFeature
public String getFeature()
- Returns:
- the feature exposed by this menu item
setFeature
public void setFeature(String feature)
- Sets the feature exposed by this menu item.
- Parameters:
feature - the feature name
getSubMenu
public List<MenuItemDescriptor> getSubMenu()
- Returns:
- the sub-menu
Copyright © 2004-2012 XWiki. All Rights Reserved.