패키지 | mx.controls |
인터페이스 | public interface IFlexContextMenu |
구현자 | FlexNativeMenu |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
관련 API 요소
공용 메서드
메서드 | 정의 주체 | ||
---|---|---|---|
Sets the context menu of an InteractiveObject. | IFlexContextMenu | ||
Unsets the context menu of a InteractiveObject. | IFlexContextMenu |
메서드 세부 정보
setContextMenu | () | 메서드 |
public function setContextMenu(component:InteractiveObject):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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..
매개 변수
component:InteractiveObject — InteractiveObject to set context menu on
|
unsetContextMenu | () | 메서드 |
public function unsetContextMenu(component:InteractiveObject):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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..
매개 변수
component:InteractiveObject — InteractiveObject to unset context menu on
|
Tue Jun 12 2018, 03:17 PM Z