Paket | mx.controls |
Gränssnitt | public interface IFlexContextMenu |
Implementorer | FlexNativeMenu |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Relaterade API-element
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
Sets the context menu of an InteractiveObject. | IFlexContextMenu | ||
Unsets the context menu of a InteractiveObject. | IFlexContextMenu |
Metoddetaljer
setContextMenu | () | metod |
public function setContextMenu(component:InteractiveObject):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Sets the context menu of an InteractiveObject. This will do all the necessary steps to add the InteractiveObject as the context menu for this InteractiveObject, such as adding listeners, etc..
Parametrar
component:InteractiveObject — InteractiveObject to set context menu on
|
unsetContextMenu | () | metod |
public function unsetContextMenu(component:InteractiveObject):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Unsets the context menu of a InteractiveObject. This will do all the necessary steps to remove the InteractiveObject as the context menu for this InteractiveObject, such as removing listeners, etc..
Parametrar
component:InteractiveObject — InteractiveObject to unset context menu on
|
Tue Jun 12 2018, 01:40 PM Z