패키지 | mx.automation.events |
클래스 | public class AutomationRecordEvent |
상속 | AutomationRecordEvent Event Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
기타 예제
속성 | 정의 주체 | ||
---|---|---|---|
args : Array
A serialized representation of the event as an Array
of it's property values. | AutomationRecordEvent | ||
automationObject : IAutomationObject
The delegate of the UIComponent object that is recording this event. | AutomationRecordEvent | ||
bubbles : Boolean [읽기 전용]
이벤트가 버블링 이벤트인지 여부를 나타냅니다. | Event | ||
cacheable : Boolean
Contains true if this is a cacheable event, and false if not. | AutomationRecordEvent | ||
cancelable : Boolean [읽기 전용]
해당 이벤트와 연관된 비헤이비어를 차단할 수 있는지 여부를 나타냅니다. | Event | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
currentTarget : Object [읽기 전용]
이벤트 리스너를 통해 Event 객체를 처리하고 있는 객체입니다. | Event | ||
eventPhase : uint [읽기 전용]
이벤트 흐름에서 현재 단계입니다. | Event | ||
name : String
The automation event name. | AutomationRecordEvent | ||
recordTriggeredByCustomHandling : Boolean
Contains true if this event current record is caused from a custom record event, and false if not. | AutomationRecordEvent | ||
replayableEvent : Event
The underlying interaction. | AutomationRecordEvent | ||
target : Object [읽기 전용]
이벤트 대상입니다. | Event | ||
type : String [읽기 전용]
이벤트 유형입니다. | Event |
메서드 | 정의 주체 | ||
---|---|---|---|
AutomationRecordEvent(type:String = "record", bubbles:Boolean = true, cancelable:Boolean = true, automationObject:IAutomationObject = null, replayableEvent:Event = null, args:Array = null, name:String = null, cacheable:Boolean = false, recordTriggeredByCustomHandling:Boolean = false)
Constructor. | AutomationRecordEvent | ||
Event 하위 클래스의 인스턴스를 복제합니다. | Event | ||
사용자 정의 ActionScript 3.0 Event 클래스에서 toString() 메서드를 구현하기 위한 유틸리티 함수입니다. | Event | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
이벤트에서 preventDefault() 메서드가 호출되었는지 여부를 확인합니다. | Event | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
이벤트의 기본 비헤이비어를 취소할 수 있는 경우, 그 비헤이비어를 취소합니다. | Event | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
이벤트 흐름에서 현재 노드 및 그 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
이벤트 흐름에서 현재 노드의 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
Event 객체의 속성이 모두 포함된 문자열을 반환합니다. | Event | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
상수 | 정의 주체 | ||
---|---|---|---|
CUSTOM_RECORD : String = "customRecord" [정적]
refer recordCustomAutomationEvent in IAutomationManager for the usage of this constant
| AutomationRecordEvent | ||
RECORD : String = "record" [정적]
The AutomationRecordEvent.RECORD constant defines the value of the
type property of the event object for a record event. | AutomationRecordEvent |
args | 속성 |
public var args:Array
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
A serialized representation of the event as an Array of it's property values.
automationObject | 속성 |
public var automationObject:IAutomationObject
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The delegate of the UIComponent object that is recording this event.
cacheable | 속성 |
public var cacheable:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Contains true
if this is a cacheable event, and false
if not.
name | 속성 |
public var name:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The automation event name.
recordTriggeredByCustomHandling | 속성 |
public var recordTriggeredByCustomHandling:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Contains true
if this event current record is caused from a custom record event, and false
if not.
User can use this field to differentiate the record event triggered by the framework
and the custom record.
e.g if the list has the select event and currently it recors the selection details either with index
or with the selected item. But user would like to record the details with both but would like to record it
with the same event name, it will be pretty cumborosome to differentiate the select event triggerd by
framework and the one triggered by using the recordCustomAutomationEvent() API on the automation manager.
If the event was triggered using the recordCustomAutomationEvent() API this flag will be true. In all other cases
framework will keep this flag with the default value
replayableEvent | 속성 |
public var replayableEvent:Event
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The underlying interaction.
AutomationRecordEvent | () | 생성자 |
public function AutomationRecordEvent(type:String = "record", bubbles:Boolean = true, cancelable:Boolean = true, automationObject:IAutomationObject = null, replayableEvent:Event = null, args:Array = null, name:String = null, cacheable:Boolean = false, recordTriggeredByCustomHandling:Boolean = false)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Constructor.
매개 변수type:String (default = "record ") — The event type; indicates the action that caused the event.
| |
bubbles:Boolean (default = true ) — Whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = true ) — Whether the behavior associated with the event can be prevented.
| |
automationObject:IAutomationObject (default = null ) — Delegate of the UIComponent that is dispatching the interaction.
| |
replayableEvent:Event (default = null ) — Underlying event that represents the interaction.
| |
args:Array (default = null ) — Array of arguments that are passed to the method that is currently being recorded.
| |
name:String (default = null ) — Displayable name of the operation.
| |
cacheable:Boolean (default = false ) — true if the event should be saved in the event cache,
and false if not.
| |
recordTriggeredByCustomHandling:Boolean (default = false )
|
CUSTOM_RECORD | 상수 |
public static const CUSTOM_RECORD:String = "customRecord"
refer recordCustomAutomationEvent in IAutomationManager for the usage of this constant
RECORD | 상수 |
public static const RECORD:String = "record"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The AutomationRecordEvent.RECORD
constant defines the value of the
type
property of the event object for a record
event.
The properties of the event object have the following values:
Property | Value |
---|---|
args | Array of arguments to the method. |
automationObject | Delegate of the UIComponent that is dispatching the interaction. |
bubbles | true |
cacheable | true if the event
should be saved in the event cache, and false if not. |
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 . |
methodName | A displayable Name of the operation |
replayableEvent | Underlying event that represents the interaction. |
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. |
Tue Jun 12 2018, 03:17 PM Z