Package | mx.controls.menuClasses |
Interface | public interface IMenuItemRenderer |
Implementors | MenuItemRenderer |
menu
property.
Typically, the setter method writes the value of the data property
to an internal variable, and the getter method returns the current
value of the internal variable, as the following example shows:
// Internal variable for the property value. private var _menu:Menu; // Define the getter method. public function get menu():Menu { return _menu; } // Define the setter method. public function set menu(value:Menu):void { _menu = value; }
Property | Defined By | ||
---|---|---|---|
measuredBranchIconWidth : Number
[read-only]
The width of the branch icon
| IMenuItemRenderer | ||
measuredIconWidth : Number
[read-only]
The width of the icon
| IMenuItemRenderer | ||
measuredTypeIconWidth : Number
[read-only]
The width of the type icon (radio/check)
| IMenuItemRenderer | ||
menu : Menu
A reference to this menu item renderer's Menu control,
if it contains one.
| IMenuItemRenderer |
measuredBranchIconWidth | property |
measuredBranchIconWidth:Number
[read-only] The width of the branch icon
public function get measuredBranchIconWidth():Number
measuredIconWidth | property |
measuredIconWidth:Number
[read-only] The width of the icon
public function get measuredIconWidth():Number
measuredTypeIconWidth | property |
measuredTypeIconWidth:Number
[read-only] The width of the type icon (radio/check)
public function get measuredTypeIconWidth():Number
menu | property |
menu:Menu
[read-write] A reference to this menu item renderer's Menu control, if it contains one. This would indicate that this menu item renderer is a branch node, capable of popping up a sub menu.
public function get menu():Menu
public function set menu(value:Menu):void