org.xwiki.gwt.wysiwyg.client
Class MenuItemDescriptor

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.MenuItemDescriptor

public class MenuItemDescriptor
extends Object

Describes a menu item.

Version:
$Id: d79f84372767e56f927d5cd26efaf1869d79ade4 $

Constructor Summary
MenuItemDescriptor(String feature)
          Creates a new menu item that exposes the specified feature.
 
Method Summary
 String getFeature()
           
 List<MenuItemDescriptor> getSubMenu()
           
 void setFeature(String feature)
          Sets the feature exposed by this menu item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuItemDescriptor

public MenuItemDescriptor(String feature)
Creates a new menu item that exposes the specified feature.

Parameters:
feature - the feature name
Method Detail

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–2015 XWiki. All rights reserved.