public abstract class MvwMenuFactory extends Object
| Constructor and Description |
|---|
MvwMenuFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract MvwMenu |
createMenu(String menuType,
String menuName)
This method should be overloaded to instantiate the type of menu specified.
|
abstract MvwMenuItem |
createMenuItem(String itemType,
String itemName,
String menuOrder,
String addToMenu,
boolean dynamic,
String actionName,
String label,
com.google.gwt.resources.client.ImageResource image)
This method should be overloaded to instantiate the specified type of menu item.
|
abstract MvwSeparator |
createSeparator(String separatorType,
String itemName,
String menuOrder,
String addToMenu,
boolean dynamic)
This method should be overloaded to instantiate the specified type of separator.
|
abstract MvwMenu |
createSubMenu(String menuType,
String itemName,
String menuOrder,
String addToMenu,
boolean dynamic,
String label,
com.google.gwt.resources.client.ImageResource image)
This method should be overloaded to instantiate the type of submenu specified.
|
public abstract MvwMenu createMenu(String menuType, String menuName)
menuType - The menu type.menuName - The unique name of the menu.public abstract MvwMenu createSubMenu(String menuType, String itemName, String menuOrder, String addToMenu, boolean dynamic, String label, com.google.gwt.resources.client.ImageResource image)
menuType - The menu type.itemName - The unique name of the item.menuOrder - The item's place within the menu.addToMenu - The menu to which it should be added.dynamic - Whether or not the item is dynamic.label - The display label for the submenu or null if this is just an image button.image - The image for the submenu, or null if no image is to be displayed.public abstract MvwMenuItem createMenuItem(String itemType, String itemName, String menuOrder, String addToMenu, boolean dynamic, String actionName, String label, com.google.gwt.resources.client.ImageResource image)
itemType - The item type.itemName - The unique name of the item.menuOrder - The item's place within the menu.addToMenu - The menu to which it should be added.dynamic - Whether or not the item is dynamic.actionName - The name of the action to be triggered.label - The display label for the item or null if this is just an image button.image - The image for the item, or null if no image is to be displayed.public abstract MvwSeparator createSeparator(String separatorType, String itemName, String menuOrder, String addToMenu, boolean dynamic)
separatorType - The separator type.itemName - The unique name of the item.menuOrder - The item's place within the menu.addToMenu - The menu to which it should be added.dynamic - Whether or not the item is dynamic.Copyright © 2019. All rights reserved.