Class MenuItemViewImpl
- java.lang.Object
-
- org.drools.workbench.screens.scenariosimulation.client.editor.menu.MenuItemViewImpl
-
- All Implemented Interfaces:
MenuItemView
@Templated public class MenuItemViewImpl extends Object implements MenuItemView
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.workbench.screens.scenariosimulation.client.editor.menu.MenuItemView
MenuItemView.Presenter
-
-
Constructor Summary
Constructors Constructor Description MenuItemViewImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gwt.dom.client.LIElementgetLabelMenuElement()This method retrieve a LABEL element (i.e. without behaviour) to be put inside the menuvoidonClickEvent(com.google.gwt.event.dom.client.ClickEvent event)voidsetDataI18nKey(String dataI18nKey)voidsetId(String id)voidsetLabel(String label)voidsetPresenter(MenuItemPresenter menuItemPresenter)
-
-
-
Method Detail
-
getLabelMenuElement
public com.google.gwt.dom.client.LIElement getLabelMenuElement()
Description copied from interface:MenuItemViewThis method retrieve a LABEL element (i.e. without behaviour) to be put inside the menu- Specified by:
getLabelMenuElementin interfaceMenuItemView- Returns:
-
setPresenter
public void setPresenter(MenuItemPresenter menuItemPresenter)
- Specified by:
setPresenterin interfaceMenuItemView
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceMenuItemView
-
setDataI18nKey
public void setDataI18nKey(String dataI18nKey)
- Specified by:
setDataI18nKeyin interfaceMenuItemView
-
setLabel
public void setLabel(String label)
- Specified by:
setLabelin interfaceMenuItemView
-
onClickEvent
@EventHandler("liElement") public void onClickEvent(com.google.gwt.event.dom.client.ClickEvent event)
-
-