public abstract class MvwMenu extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
MvwMenu(String n)
Derived classes should instantiate and set the menuComponent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSubItem(MenuSubItemIF msi) |
abstract void |
addToMenuContainer(MenuSubItemIF msi)
Derived classes must overload this method to add sub menu instances to their
chosen type of top level component.
|
void |
buildMenu() |
abstract com.google.gwt.user.client.ui.Widget |
getMenu()
Derived classes should return the component that represents whatever type
of menu they implement.
|
String |
getName() |
void |
removeAllDynamicItems() |
abstract void |
removeFromMenuContainer(MenuSubItemIF msi)
Derived classes must overload this method to remove subitems from their
menu component.
|
void |
removeSubItem(MenuSubItemIF msi) |
protected MvwMenu(String n)
public String getName()
public void addSubItem(MenuSubItemIF msi)
public void removeSubItem(MenuSubItemIF msi)
public void removeAllDynamicItems()
public void buildMenu()
public abstract com.google.gwt.user.client.ui.Widget getMenu()
public abstract void addToMenuContainer(MenuSubItemIF msi)
msi - The item to be added.public abstract void removeFromMenuContainer(MenuSubItemIF msi)
msi - The item to be removed.Copyright © 2019. All rights reserved.