패키지 | mx.events |
클래스 | public class EventListenerRequest |
상속 | EventListenerRequest SWFBridgeRequest Event Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
data
property is not used. Only certain events
can be requested. When the event is triggered in the other application, that
event is re-dispatched through the bridge where the requesting
SystemManager picks up the event and redispatches it from itself.
In general, this request is generated because some other code called
the addEventListener()
method for one of the approved events on its SystemManager.
This request is also dispatched by SystemManager to allow the marshal implementation
to handle adding or removing listeners differently. When dispatched by the
SystemManager, the listener property is non-null;
공용 속성
속성 | 정의 주체 | ||
---|---|---|---|
bubbles : Boolean [읽기 전용]
이벤트가 버블링 이벤트인지 여부를 나타냅니다. | Event | ||
cancelable : Boolean [읽기 전용]
해당 이벤트와 연관된 비헤이비어를 차단할 수 있는지 여부를 나타냅니다. | Event | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
currentTarget : Object [읽기 전용]
이벤트 리스너를 통해 Event 객체를 처리하고 있는 객체입니다. | Event | ||
data : Object
Data related to the event. | SWFBridgeRequest | ||
eventPhase : uint [읽기 전용]
이벤트 흐름에서 현재 단계입니다. | Event | ||
eventType : String [읽기 전용]
The type of the event to listen to. | EventListenerRequest | ||
listener : Function [읽기 전용]
The method or function to call
| EventListenerRequest | ||
priority : int [읽기 전용]
The priority parameter
to addEventListener(). | EventListenerRequest | ||
requestor : IEventDispatcher
The bridge that sent the message. | SWFBridgeRequest | ||
target : Object [읽기 전용]
이벤트 대상입니다. | Event | ||
type : String [읽기 전용]
이벤트 유형입니다. | Event | ||
useCapture : Boolean [읽기 전용]
The useCapture parameter
to addEventListener(). | EventListenerRequest | ||
useWeakReference : Boolean [읽기 전용]
The useWeakReference parameter
to addEventListener(). | EventListenerRequest |
공용 메서드
메서드 | 정의 주체 | ||
---|---|---|---|
EventListenerRequest(type:String, bubbles:Boolean = false, cancelable:Boolean = true, eventType:String = null, listener:Function = null, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false)
Creates a new request to add or remove an event listener. | EventListenerRequest | ||
Event 하위 클래스의 인스턴스를 복제합니다. | Event | ||
사용자 정의 ActionScript 3.0 Event 클래스에서 toString() 메서드를 구현하기 위한 유틸리티 함수입니다. | Event | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
이벤트에서 preventDefault() 메서드가 호출되었는지 여부를 확인합니다. | Event | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
[정적]
Marshals an event by copying the relevant parameters
from the event into a new event. | EventListenerRequest | ||
이벤트의 기본 비헤이비어를 취소할 수 있는 경우, 그 비헤이비어를 취소합니다. | Event | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
이벤트 흐름에서 현재 노드 및 그 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
이벤트 흐름에서 현재 노드의 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
Event 객체의 속성이 모두 포함된 문자열을 반환합니다. | Event | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
공용 상수
상수 | 정의 주체 | ||
---|---|---|---|
ADD_EVENT_LISTENER_REQUEST : String = "addEventListenerRequest" [정적]
Request to add an event listener. | EventListenerRequest | ||
REMOVE_EVENT_LISTENER_REQUEST : String = "removeEventListenerRequest" [정적]
Request to remove an event listener. | EventListenerRequest |
속성 세부 정보
eventType | 속성 |
listener | 속성 |
priority | 속성 |
useCapture | 속성 |
useWeakReference | 속성 |
생성자 세부 정보
EventListenerRequest | () | 생성자 |
public function EventListenerRequest(type:String, bubbles:Boolean = false, cancelable:Boolean = true, eventType:String = null, listener:Function = null, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Creates a new request to add or remove an event listener.
매개 변수type:String — The event type; indicates the action that caused the event. Either EventListenerRequest.ADD
or EventListenerRequest.REMOVE .
| |
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.
| |
eventType:String (default = null ) — The type of message you would normally pass to the addEventListener() method.
| |
listener:Function (default = null ) — Determines whether the listener works in the capture phase or the target and bubbling phases.
| |
useCapture:Boolean (default = false ) — The priority level of the event listener. Priorities are designated by a 32-bit integer.
| |
priority:int (default = 0 ) — Determines whether the reference to the listener is strong or weak.
| |
useWeakReference:Boolean (default = false )
|
관련 API 요소
메서드 세부 정보
marshal | () | 메서드 |
public static function marshal(event:Event):EventListenerRequest
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Marshals an event by copying the relevant parameters from the event into a new event.
매개 변수
event:Event — The event to marshal.
|
EventListenerRequest — An EventListenerRequest that defines the new event.
|
상수 세부 정보
ADD_EVENT_LISTENER_REQUEST | 상수 |
public static const ADD_EVENT_LISTENER_REQUEST:String = "addEventListenerRequest"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Request to add an event listener.
REMOVE_EVENT_LISTENER_REQUEST | 상수 |
public static const REMOVE_EVENT_LISTENER_REQUEST:String = "removeEventListenerRequest"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Request to remove an event listener.
Tue Jun 12 2018, 03:17 PM Z