DwtMenuItem: Difference between revisions

No edit summary
mNo edit summary
Line 1: Line 1:


== Methods ==
== Methods ==
Line 24: Line 22:




<code> ===setMenu(menuOrCallback)=== </code>
<code>setMenu(menuOrCallback)</code>
 
Adds a sub-menu to this menu item.
Adds a sub-menu to this menu item.



Revision as of 11:51, 16 April 2006

Methods

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()

Jump to: navigation, search