A context menu
The <LzContextMenu> represents a context (right-click) menu.
| Attributes |
class, classroot, cloneManager, datapath, defaultplacement, id, ignoreAttribute, ignoreplacement, immediateparent, initstage, name, nodeLevel, onconstruct, oninit, parent, placement, subnodes
| addItem() | ||
| LzContextMenu.addItem(item) | ||
|
LzContextMenu.addItem Adds a menu items into a menu |
||
| Parameters | ||
| Name | Type | Desc |
| item | LzContextMenuItem | LzContextMenuItem to install on this menu |
|
|
||
| clearItems() | ||
| LzContextMenu.clearItems() | ||
|
LzContextMenu.clearItems Remove all custom items from a menu |
||
|
|
| getItems() | ||
| LzContextMenu.getItems() | ||
|
LzContextMenu.getItems Return list of custom items |
||
|
|
| hideBuiltInItems() | ||
| LzContextMenu.hideBuiltInItems() | ||
|
LzContextMenu.hideBuiltInItems Removes Flash-installed default menu items |
||
|
|
| makeMenuItem() | ||
| LzContextMenu.makeMenuItem(title, callback) | ||
|
LzContextMenu.makeMenuItem create a new menu item for a LzContextMenu |
||
| Parameters | ||
| Name | Type | Desc |
| title | String | menu item name |
| callback | function | delegate to execute when item is selected |
|
|
||
| setDelegate() | ||
| LzContextMenu.setDelegate(delegate) | ||
|
LzContextMenu.setDelegate Sets the delegate which will be called when the menu is opened |
||
| Parameters | ||
| Name | Type | Desc |
| delegate | LzDelegate | delegate which is executed when item is selected. An onmenuopen event is also sent. |
|
|
||
animate, applyConstraint, applyData, childOf, completeInstantiation, construct, createChildren, dataBindAttribute, destroy, determinePlacement, getAttribute, getOption, getUID, init, lookupSourceLocator, searchImmediateSubnodes, searchSubnodes, setAttribute, setDatapath, setID, setName, setOption
| Events |
Copyright © 2002-2005 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.