패키지 | mx.events |
클래스 | public class FlexNativeMenuEvent |
상속 | FlexNativeMenuEvent Event Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | AIR 1.1 |
관련 API 요소
속성 | 정의 주체 | ||
---|---|---|---|
bubbles : Boolean [읽기 전용]
이벤트가 버블링 이벤트인지 여부를 나타냅니다. | Event | ||
cancelable : Boolean [읽기 전용]
해당 이벤트와 연관된 비헤이비어를 차단할 수 있는지 여부를 나타냅니다. | Event | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
currentTarget : Object [읽기 전용]
이벤트 리스너를 통해 Event 객체를 처리하고 있는 객체입니다. | Event | ||
eventPhase : uint [읽기 전용]
이벤트 흐름에서 현재 단계입니다. | Event | ||
index : int
The index of the associated menu item within its parent menu or submenu. | FlexNativeMenuEvent | ||
item : Object
The specific item in the dataProvider. | FlexNativeMenuEvent | ||
label : String
The label text of the associated menu item. | FlexNativeMenuEvent | ||
nativeMenu : NativeMenu
The specific NativeMenu instance associated with the event,
such as the menu displayed. | FlexNativeMenuEvent | ||
nativeMenuItem : NativeMenuItem
The specific NativeMenuItem instance associated with the event,
such as the item clicked. | FlexNativeMenuEvent | ||
target : Object [읽기 전용]
이벤트 대상입니다. | Event | ||
type : String [읽기 전용]
이벤트 유형입니다. | Event |
메서드 | 정의 주체 | ||
---|---|---|---|
FlexNativeMenuEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, nativeMenu:NativeMenu = null, nativeMenuItem:NativeMenuItem = null, item:Object = null, label:String = null, index:int = -1)
Constructor. | FlexNativeMenuEvent | ||
Event 하위 클래스의 인스턴스를 복제합니다. | Event | ||
사용자 정의 ActionScript 3.0 Event 클래스에서 toString() 메서드를 구현하기 위한 유틸리티 함수입니다. | Event | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
이벤트에서 preventDefault() 메서드가 호출되었는지 여부를 확인합니다. | Event | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
이벤트의 기본 비헤이비어를 취소할 수 있는 경우, 그 비헤이비어를 취소합니다. | Event | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
이벤트 흐름에서 현재 노드 및 그 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
이벤트 흐름에서 현재 노드의 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
Event 객체의 속성이 모두 포함된 문자열을 반환합니다. | Event | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
상수 | 정의 주체 | ||
---|---|---|---|
ITEM_CLICK : String = "itemClick" [정적]
The FlexNativeMenuEvent.ITEM_CLICK event type constant indicates that the
user selected a menu item. | FlexNativeMenuEvent | ||
MENU_SHOW : String = "menuShow" [정적]
The FlexNativeMenuEvent.MENU_SHOW type constant indicates that
the mouse pointer rolled a menu or submenu opened. | FlexNativeMenuEvent |
index | 속성 |
public var index:int
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | AIR 1.1 |
The index of the associated menu item within its parent menu or submenu. This is -1 for events that aren't associated with an individual item.
item | 속성 |
public var item:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | AIR 1.1 |
The specific item in the dataProvider. This is null for events that aren't associated with an individual item.
label | 속성 |
public var label:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | AIR 1.1 |
The label text of the associated menu item. This is null for events that aren't associated with an individual item.
nativeMenu | 속성 |
public var nativeMenu:NativeMenu
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | AIR 1.1 |
The specific NativeMenu instance associated with the event, such as the menu displayed.
nativeMenuItem | 속성 |
public var nativeMenuItem:NativeMenuItem
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | AIR 1.1 |
The specific NativeMenuItem instance associated with the event, such as the item clicked. This is null for events that aren't associated with an individual item.
FlexNativeMenuEvent | () | 생성자 |
public function FlexNativeMenuEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, nativeMenu:NativeMenu = null, nativeMenuItem:NativeMenuItem = null, item:Object = null, label:String = null, index:int = -1)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | AIR 1.1 |
Constructor. Normally called by the FlexNativeMenu object.
매개 변수type:String — The event type; indicates the action that caused the event.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble
up the display list hierarchy.
| |
cancelable:Boolean (default = true ) — Specifies whether the behavior
associated with the event can be prevented.
| |
nativeMenu:NativeMenu (default = null ) — The specific NativeMenu instance associated with the event.
| |
nativeMenuItem:NativeMenuItem (default = null ) — The specific NativeMenuItem instance associated with the event.
| |
item:Object (default = null ) — The item in the dataProvider of the associated menu item.
| |
label:String (default = null ) — The label text of the associated menu item.
| |
index:int (default = -1 ) — The index in the menu of the associated menu item.
|
ITEM_CLICK | 상수 |
public static const ITEM_CLICK:String = "itemClick"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | AIR 1.1 |
The FlexNativeMenuEvent.ITEM_CLICK event type constant indicates that the user selected a menu item.
The properties of the event object for this event type have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.
Property | Value |
---|---|
bubbles | false |
cancelable | true |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
index | The index in the menu of the selected menu item. |
item | The item in the dataProvider that was selected. |
label | The label text of the selected menu item. |
nativeMenu | The specific NativeMenu instance associated with this event. |
nativeMenuItem | The specific NativeMenuItem instance associated with this event. |
target | The Object that dispatched the
event; it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | FlexNativeMenuEvent.ITEM_CLICK |
MENU_SHOW | 상수 |
public static const MENU_SHOW:String = "menuShow"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | AIR 1.1 |
The FlexNativeMenuEvent.MENU_SHOW type constant indicates that the mouse pointer rolled a menu or submenu opened.
The properties of the event object for this event type have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.
Property | Value |
---|---|
bubbles | false |
cancelable | true |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
index | -1. This property is not set for this type of event. |
item | null. This property is not set for this type of event. |
label | null. This property is not set for this type of event. |
nativeMenu | The specific NativeMenu instance associated with this event. |
nativeMenuItem | null. This property is not set for this type of event. |
target | The Object that dispatched the
event; it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | FlexNativeMenuEvent.MENU_SHOW |
Tue Jun 12 2018, 03:17 PM Z