DwtMenuItem

Parent must be a DwtMenu object

Methods

DwtMenuItem(parent, style, radioGroupId, index, className, posStyle)

parent
the parent widget, must be a DwtMenu object
  • style menu item's style
  • radioGroupId radio group that the menu item is part of
  • index position in menu
  • className a CSS class
  • posStyle positioning style


addSelectionListener(listener)

removeSelectionListener()

getChecked()

setChecked(checked, skipNotify)

setEnabled(enabled)

getDisabledImage()

setDisabledImage(imageInfo)

getImage()

setImage(imageInfo)

getMenu()


setMenu(menuOrCallback)

Adds a sub-menu to this menu item.

menuOrCallback
The dropdown menu or an AjxCallback object. If a callback is given, it is called the first time the menu is requested. The callback must return a valid DwtMenu object.

setSize(width, height)

getText()

setText(text)

setSelectedStyle()

setTriggeredStyle()


Verified Against: unknown Date Created: 4/16/2006
Article ID: https://wiki.zimbra.com/index.php?title=DwtMenuItem Date Modified: 2015-03-24



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search