Pacchetto | mx.controls |
Interfaccia | public interface IFlexContextMenu |
Implementatori | FlexNativeMenu |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Elementi API correlati
Metodi pubblici
Metodo | Definito da | ||
---|---|---|---|
Sets the context menu of an InteractiveObject. | IFlexContextMenu | ||
Unsets the context menu of a InteractiveObject. | IFlexContextMenu |
Descrizione dei metodi
setContextMenu | () | metodo |
public function setContextMenu(component:InteractiveObject):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | 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..
Parametri
component:InteractiveObject — InteractiveObject to set context menu on
|
unsetContextMenu | () | metodo |
public function unsetContextMenu(component:InteractiveObject):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | 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..
Parametri
component:InteractiveObject — InteractiveObject to unset context menu on
|
Tue Jun 12 2018, 02:44 PM Z