패키지 | spark.events |
클래스 | public class ListEvent |
상속 | ListEvent MouseEvent Event Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10.2, AIR 2.5 |
속성 | 정의 주체 | ||
---|---|---|---|
altKey : Boolean
Alt 키가 활성 상태(true)인지 비활성 상태(false)인지를 나타냅니다. | MouseEvent | ||
bubbles : Boolean [읽기 전용]
이벤트가 버블링 이벤트인지 여부를 나타냅니다. | Event | ||
buttonDown : Boolean
마우스 기본 버튼이 눌려 있는지(true) 눌려 있지 않은지(false)를 나타냅니다. | MouseEvent | ||
cancelable : Boolean [읽기 전용]
해당 이벤트와 연관된 비헤이비어를 차단할 수 있는지 여부를 나타냅니다. | Event | ||
clickCount : int [읽기 전용]
마우스 누름 이벤트가 다중 클릭 시퀀스의 일부인지 여부를 나타냅니다. | MouseEvent | ||
commandKey : Boolean
Command 키가 활성화되었는지 여부를 나타냅니다(Mac만 해당). commandKey 속성 값은 Mac의 ctrlKey 속성과 동일한 값을 가집니다. | MouseEvent | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
controlKey : Boolean
Mac에서 Control 키가 활성화되었는지 여부 및 Windows 또는 Linux에서 Ctrl 키가 활성화되었는지 여부를 나타냅니다. | MouseEvent | ||
ctrlKey : Boolean
Windows 또는 Linux에서 Ctrl 키가 활성 상태(true)인지 비활성 상태(false)인지를 나타냅니다. | MouseEvent | ||
currentTarget : Object [읽기 전용]
이벤트 리스너를 통해 Event 객체를 처리하고 있는 객체입니다. | Event | ||
delta : int
마우스 휠을 한 단계 돌릴 때마다 몇 행씩 스크롤되는지를 나타냅니다. | MouseEvent | ||
eventPhase : uint [읽기 전용]
이벤트 흐름에서 현재 단계입니다. | Event | ||
isRelatedObjectInaccessible : Boolean
true이면 relatedObject 속성이 보안 샌드박스와 관련된 이유로 인해 null로 설정됩니다. | MouseEvent | ||
item : Object
The data provider item the item renderer is displaying. | ListEvent | ||
itemIndex : int
The index of the data item the item renderer is displaying. | ListEvent | ||
itemRenderer : IItemRenderer
The item renderer that is displaying the item. | ListEvent | ||
localX : Number
마우스 잠금이 비활성화된 경우 포함 Sprite와 관련된 이벤트가 발생한 지점의 수평 좌표입니다. | MouseEvent | ||
localY : Number
마우스 잠금이 비활성화된 경우 포함 Sprite와 관련된 이벤트가 발생한 지점의 수직 좌표입니다. | MouseEvent | ||
movementX : Number
마우스 잠금이 활성화된 경우 마지막 마우스 이벤트 이후 X 방향의 마우스 위치 변경 사항입니다. | MouseEvent | ||
movementY : Number
마우스 잠금이 활성화된 경우 마지막 마우스 이벤트 이후 Y 방향의 마우스 위치 변경 사항입니다. | MouseEvent | ||
relatedObject : InteractiveObject
이벤트와 관련된 표시 목록 객체에 대한 참조입니다. | MouseEvent | ||
shiftKey : Boolean
Shift 키가 활성 상태(true)인지 비활성 상태(false)인지를 나타냅니다. | MouseEvent | ||
stageX : Number [읽기 전용]
전역 스테이지 좌표에서 이벤트가 발생한 지점의 수평 좌표입니다. | MouseEvent | ||
stageY : Number [읽기 전용]
전역 스테이지 좌표에서 이벤트가 발생한 지점의 수직 좌표입니다. | MouseEvent | ||
target : Object [읽기 전용]
이벤트 대상입니다. | Event | ||
type : String [읽기 전용]
이벤트 유형입니다. | Event |
메서드 | 정의 주체 | ||
---|---|---|---|
ListEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, localX:Number = NaN, localY:Number = NaN, relatedObject:InteractiveObject = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false, delta:int = 0, itemIndex:int = -1, item:Object = null, itemRenderer:IItemRenderer = null)
Constructor. | ListEvent | ||
[재정의]
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 |
상수 | 정의 주체 | ||
---|---|---|---|
ITEM_ROLL_OUT : String = "itemRollOut" [정적]
The ListEvent.ITEM_ROLL_OUT constant defines the value of the
type property of the ListEvent object for an
itemRollOut event, which indicates that the user rolled
the mouse pointer out of a visual item in the control. | ListEvent | ||
ITEM_ROLL_OVER : String = "itemRollOver" [정적]
The ListEvent.ITEM_ROLL_OVER constant defines the value of the
type property of the ListEvent object for an
itemRollOver event, which indicates that the user rolled
the mouse pointer over a visual item in the control. | ListEvent |
item | 속성 |
public var item:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10.2, AIR 2.5 |
The data provider item the item renderer is displaying.
itemIndex | 속성 |
public var itemIndex:int
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10.2, AIR 2.5 |
The index of the data item the item renderer is displaying. You can access the data provider item using this property.
itemRenderer | 속성 |
public var itemRenderer:IItemRenderer
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10.2, AIR 2.5 |
The item renderer that is displaying the item.
ListEvent | () | 생성자 |
public function ListEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, localX:Number = NaN, localY:Number = NaN, relatedObject:InteractiveObject = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false, delta:int = 0, itemIndex:int = -1, item:Object = null, itemRenderer:IItemRenderer = null)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10.2, AIR 2.5 |
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 = false ) — Specifies whether the behavior
associated with the event can be prevented.
| |
localX:Number (default = NaN ) — Distinguishes the mouse gesture that caused this event to be dispatched.
| |
localY:Number (default = NaN ) — Specifies whether the event can bubble up the display list hierarchy.
| |
relatedObject:InteractiveObject (default = null ) — Specifies whether the behavior associated with the event can be prevented.
| |
ctrlKey:Boolean (default = false ) — The event's x coordinate relative to the List.
| |
altKey:Boolean (default = false ) — The event's y coordinate relative to the List.
| |
shiftKey:Boolean (default = false ) — The relatedObject property of the
MouseEvent that triggered this ListEvent.
| |
buttonDown:Boolean (default = false ) — Whether the Control key is down.
| |
delta:int (default = 0 ) — Whether the Alt key is down.
| |
itemIndex:int (default = -1 ) — Whether the Shift key is down.
| |
item:Object (default = null ) — Whether the Control key is down.
| |
itemRenderer:IItemRenderer (default = null ) — Not used.
|
ITEM_ROLL_OUT | 상수 |
public static const ITEM_ROLL_OUT:String = "itemRollOut"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10.2, AIR 2.5 |
The ListEvent.ITEM_ROLL_OUT constant defines the value of the
type
property of the ListEvent object for an
itemRollOut
event, which indicates that the user rolled
the mouse pointer out of a visual item in the control.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | 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 the currentTarget . |
itemIndex | The data provider index of the item displayed by the item renderer where the event occurred. |
item | The data provider item for the item renderer. |
itemRenderer | The The item renderer that displayed this item. |
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 | ListEvent.ITEM_ROLL_OUT |
ITEM_ROLL_OVER | 상수 |
public static const ITEM_ROLL_OVER:String = "itemRollOver"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10.2, AIR 2.5 |
The ListEvent.ITEM_ROLL_OVER constant defines the value of the
type
property of the ListEvent object for an
itemRollOver
event, which indicates that the user rolled
the mouse pointer over a visual item in the control.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | 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 the currentTarget . |
itemIndex | The data provider index of the item displayed by the item renderer where the event occurred. |
item | The data provider item for the item renderer. |
itemRenderer | The The item renderer that displayed this item. |
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 | ListEvent.ITEM_ROLL_OVER |
Tue Jun 12 2018, 03:17 PM Z