Package | mx.controls |
Interface | public interface IFlexContextMenu |
See also
Method | Defined by | ||
---|---|---|---|
setContextMenu(component:InteractiveObject):void
Sets the context menu of an InteractiveObject.
| IFlexContextMenu | ||
unsetContextMenu(component:InteractiveObject):void
Unsets the context menu of a InteractiveObject.
| IFlexContextMenu |
setContextMenu | () | method |
public function setContextMenu(component:InteractiveObject):void
Sets the context menu of an InteractiveObject. This will do all the necessary steps to add ourselves as the context menu for this InteractiveObject, such as adding listeners, etc..
Parameterscomponent:InteractiveObject — InteractiveObject to set context menu on
|
unsetContextMenu | () | method |
public function unsetContextMenu(component:InteractiveObject):void
Unsets the context menu of a InteractiveObject. This will do all the necessary steps to remove ourselves as the context menu for this InteractiveObject, such as removing listeners, etc..
Parameterscomponent:InteractiveObject — InteractiveObject to unset context menu on
|