| Pakiet | mx.controls |
| Interfejs | public interface IFlexContextMenu |
| Implementory | FlexNativeMenu |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Powiązane elementy interfejsu API
Metody publiczne
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
Sets the context menu of an InteractiveObject. | IFlexContextMenu | ||
Unsets the context menu of a InteractiveObject. | IFlexContextMenu | ||
Szczegół metody
setContextMenu | () | metoda |
public function setContextMenu(component:InteractiveObject):void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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..
Parametry
component:InteractiveObject — InteractiveObject to set context menu on
|
unsetContextMenu | () | metoda |
public function unsetContextMenu(component:InteractiveObject):void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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..
Parametry
component:InteractiveObject — InteractiveObject to unset context menu on
|
Tue Jun 12 2018, 12:06 PM Z