| 패키지 | mx.automation.events |
| 클래스 | public class AutomationDragEventWithPositionInfo |
| 상속 | AutomationDragEventWithPositionInfo AutomationDragEvent MouseEvent Event Object |
| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | Flash Player 9, AIR 1.1 |
기타 예제
관련 API 요소
공용 속성
공용 메서드
| 메서드 | 정의 주체 | ||
|---|---|---|---|
AutomationDragEventWithPositionInfo(type:String, bubbles:Boolean = false, cancelable:Boolean = true, action:String = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, localx:int = -1, localy:int = -1)
Constructor. | AutomationDragEventWithPositionInfo | ||
![]() | [재정의]
MouseEvent 객체의 복사본을 하나 만들고 각 속성의 값을 원본과 동일하게 설정합니다. | MouseEvent | |
![]() |
사용자 정의 ActionScript 3.0 Event 클래스에서 toString() 메서드를 구현하기 위한 유틸리티 함수입니다. | Event | |
![]() |
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | |
![]() |
이벤트에서 preventDefault() 메서드가 호출되었는지 여부를 확인합니다. | Event | |
![]() |
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | |
![]() |
이벤트의 기본 비헤이비어를 취소할 수 있는 경우, 그 비헤이비어를 취소합니다. | Event | |
![]() |
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | |
![]() |
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | |
![]() |
이벤트 흐름에서 현재 노드 및 그 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | |
![]() |
이벤트 흐름에서 현재 노드의 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | |
![]() |
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | |
![]() | [재정의]
MouseEvent 객체의 속성이 모두 포함된 문자열을 반환합니다. | MouseEvent | |
![]() |
표시 목록이 수정된 경우, 이 이벤트의 처리가 완료된 뒤 렌더링하도록 Flash Player 또는 Adobe AIR에 지시합니다. | MouseEvent | |
![]() |
지정된 객체의 프리미티브 값을 반환합니다. | Object | |
공용 상수
| 상수 | 정의 주체 | ||
|---|---|---|---|
| DRAG_COMPLETE : String = "dragComplete" [정적]
Defines the value of the
type property of the event object for a dragComplete event. | AutomationDragEventWithPositionInfo | ||
| DRAG_DROP : String = "dragDrop" [정적]
Defines the value of the
type property of the event object for a dragDrop event. | AutomationDragEventWithPositionInfo | ||
| DRAG_START : String = "dragStart" [정적]
Defines the value of the
type property of the event object for a dragStart event. | AutomationDragEventWithPositionInfo | ||
생성자 세부 정보
AutomationDragEventWithPositionInfo | () | 생성자 |
public function AutomationDragEventWithPositionInfo(type:String, bubbles:Boolean = false, cancelable:Boolean = true, action:String = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, localx:int = -1, localy:int = -1)| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | Flash Player 9, AIR 1.1 |
Constructor. Normally called by the Flex control and not used in application code.
매개 변수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.
| |
action:String (default = null) — The specified drop action, such as DragManager.MOVE.
| |
ctrlKey:Boolean (default = false) — Indicates whether the Control key was pressed.
| |
altKey:Boolean (default = false) — Indicates whether the Alt key was pressed.
| |
shiftKey:Boolean (default = false) — Indicates whether the Shift key was pressed.
| |
localx:int (default = -1) — The horizontal coordinate at which the event occurred relative to the containing sprite.
| |
localy:int (default = -1) — The vertical coordinate at which the event occurred relative to the containing sprite.
|
상수 세부 정보
DRAG_COMPLETE | 상수 |
public static const DRAG_COMPLETE:String = "dragComplete"| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | Flash Player 9, AIR 1.1 |
Defines the value of the
type property of the event object for a dragComplete event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
altKey | Indicates whether the Alt key is down
(true) or not (false). |
action | The action that caused the event:
DragManager.COPY, DragManager.LINK,
DragManager.MOVE, or DragManager.NONE. |
bubbles | false |
cancelable | true |
ctrlKey | Indicates whether the Control key is down
(true) or not (false). |
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 currentTarget. |
draggedItem | The item being dragged. |
dropParent | The object that parents the item that was dropped. |
shiftKey | Indicates whether the Shift key is down
(true) or not (false). |
target | The object that dispatched the event;
it is not always the object that listens for the event.
Use the currentTarget property to always access the
object that is listening for the event. |
DRAG_DROP | 상수 |
public static const DRAG_DROP:String = "dragDrop"| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | Flash Player 9, AIR 1.1 |
Defines the value of the
type property of the event object for a dragDrop event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
altKey | Indicates whether the Alt key is down
(true) or not (false). |
action | The action that caused the event:
DragManager.COPY, DragManager.LINK,
DragManager.MOVE, or DragManager.NONE. |
bubbles | false |
cancelable | true |
ctrlKey | Indicates whether the Control key is down
(true) or not (false). |
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 currentTarget. |
draggedItem | The item being dragged. |
dropParent | The object that parents the item that was dropped. |
shiftKey | Indicates whether the Shift key is down
(true) or not (false). |
target | The object that dispatched the event;
it is not always the object that listens for the event.
Use the currentTarget property to always access the
object that is listening for the event. |
DRAG_START | 상수 |
public static const DRAG_START:String = "dragStart"| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | Flash Player 9, AIR 1.1 |
Defines the value of the
type property of the event object for a dragStart event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
altKey | Indicates whether the Alt key is down
(true) or not (false). |
action | The action that caused the event:
DragManager.COPY, DragManager.LINK,
DragManager.MOVE, or DragManager.NONE. |
bubbles | false |
cancelable | true |
ctrlKey | Indicates whether the Control key is down
(true) or not (false). |
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 currentTarget. |
draggedItem | The item being dragged. |
dropParent | The object that parents the item that was dropped. |
shiftKey | Indicates whether the Shift key is down
(true) or not (false). |
target | The object that dispatched the event;
it is not always the object that listens for the event.
Use the currentTarget property to always access the
object that is listening for the event. |
Tue Jun 12 2018, 03:17 PM Z
상속되는 공용 속성 숨기기
상속되는 공용 속성 표시