public class MenuItemPresenter extends Object implements MenuItemView.Presenter
| Modifier and Type | Field and Description |
|---|---|
protected Map<com.google.gwt.dom.client.LIElement,com.google.gwt.user.client.Command> |
menuItemsCommandMap |
| Constructor and Description |
|---|
MenuItemPresenter() |
| Modifier and Type | Method and Description |
|---|---|
void |
enableElement(boolean toEnable) |
void |
executeCommand(com.google.gwt.dom.client.LIElement clickedElement) |
com.google.gwt.dom.client.LIElement |
getLIElement(String id,
String label,
com.google.gwt.user.client.Command command) |
protected MenuItemView |
getMenuItemView() |
void |
onClickEvent(com.google.gwt.event.dom.client.ClickEvent event) |
protected Map<com.google.gwt.dom.client.LIElement,com.google.gwt.user.client.Command> menuItemsCommandMap
public void onClickEvent(com.google.gwt.event.dom.client.ClickEvent event)
onClickEvent in interface MenuItemView.Presenterpublic void executeCommand(com.google.gwt.dom.client.LIElement clickedElement)
executeCommand in interface MenuItemView.Presenterpublic com.google.gwt.dom.client.LIElement getLIElement(String id, String label, com.google.gwt.user.client.Command command)
getLIElement in interface MenuItemView.Presenterpublic void enableElement(boolean toEnable)
enableElement in interface MenuItemView.Presenterprotected MenuItemView getMenuItemView()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.