| Package | mx.events |
| Class | public class CollectionEvent |
| Inheritance | CollectionEvent Event Object |
See also
| property | 정의 | ||
|---|---|---|---|
![]() | bubbles : Boolean
이벤트가 바브 링 이벤트인가 어떤가를 나타냅니다.
| Event | |
![]() | cancelable : Boolean
이벤트에 관련지을 수 있었던 행동을 회피할 수 있을지 어떨지를 나타냅니다.
| Event | |
![]() | constructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor 함수에의 참조입니다.
| Object | |
![]() | currentTarget : Object
event listener로 Event object를 액티브하게 처리하고 있는 object입니다.
| Event | |
![]() | eventPhase : uint
event 플로우(flow)의 현재의 단계입니다.
| Event | |
items : Array
kind 가 CollectionEventKind.ADD 또는 CollectionEventKind.REMOVE 의 경우,items property는 추가 또는 삭제된 아이템의 배열이 됩니다. | CollectionEvent | ||
| kind : String
발생한 이벤트의 종류를 나타냅니다.
| CollectionEvent | ||
location : int
kind 값가 CollectionEventKind.ADD,CollectionEventKind.MOVE,CollectionEventKind.REMOVE, 또는 CollectionEventKind.REPLACE 의 경우, 이 property는,items property로 지정된 아이템의 콜렉션의 0 으로부터 시작되는 인덱스가 됩니다. | CollectionEvent | ||
oldLocation : int
kind 값가 CollectionEventKind.MOVE 의 경우, 이 property는,items property로 지정된 아이템의 이전의 위치에 있는 타겟 콜렉션의 0 으로부터 시작되는 인덱스가 됩니다. | CollectionEvent | ||
![]() | prototype : Object
[static]
클래스 또는 함수 object의 prototype object에의 참조입니다.
| Object | |
![]() | target : Object
event 타겟입니다.
| Event | |
![]() | type : String
이벤트의 형태입니다.
| Event | |
| Methods | 정의 | ||
|---|---|---|---|
| CollectionEvent (type:String , bubbles:Boolean = false, cancelable:Boolean = false, kind:String = null, location:int = -1, oldLocation:int = -1, items:Array = null)
constructor .
| CollectionEvent | ||
![]() | clone ():Event
Event 서브 클래스의 인스턴스를 복제합니다.
| Event | |
![]() | formatToString (className:String , ... arguments):String
custom Event 클래스에
toString() Methods를 Implements하기 위한 유틸리티 함수입니다. | Event | |
![]() | hasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
| Object | |
![]() | isDefaultPrevented ():Boolean
이벤트로
preventDefault() 가 불려 갔는지 어떠했는지를 체크합니다. | Event | |
![]() | isPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
| Object | |
![]() | preventDefault ():void
이벤트의 디폴트 행동을 캔슬할 수 있는 경우에, 그 행동을 캔슬합니다.
| Event | |
![]() | propertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
| Object | |
![]() | setPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
| Object | |
![]() | stopImmediatePropagation ():void
event 플로우(flow)의 현재의 노드 및 후속 하는 노드로, event listener가 처리되지 않게 합니다.
| Event | |
![]() | stopPropagation ():void
event 플로우(flow)의 현재의 노드에 후속 하는 노드로, event listener가 처리되지 않게 합니다.
| Event | |
![]() | toString ():String
Event object의 모든 property를 포함한 string를 돌려줍니다.
| Event | |
![]() | valueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
| Object | |
| 정수 | 정의 | ||
|---|---|---|---|
![]() | ACTIVATE : String = "activate" [static]
activate event object의 type property의 값을 정의합니다. | Event | |
![]() | ADDED : String = "added" [static]
added event object의 type property의 값을 정의합니다. | Event | |
![]() | CANCEL : String = "cancel" [static]
cancelevent object의 type property의 값을 정의합니다. | Event | |
![]() | CHANGE : String = "change" [static]
change event object의 type property의 값을 정의합니다. | Event | |
![]() | CLOSE : String = "close" [static]
close event object의 type property의 값을 정의합니다. | Event | |
| COLLECTION_CHANGE : String = "collectionChange" [static]
CollectionEvent.COLLECTION_CHANGE 정수는, 콜렉션이 변경될 때 dispatch되는 이벤트의 event object의
type property치를 정의합니다. | CollectionEvent | ||
![]() | COMPLETE : String = "complete" [static]
complete event object의 type property의 값을 정의합니다. | Event | |
![]() | CONNECT : String = "connect" [static]
connect event object의 type property의 값을 정의합니다. | Event | |
![]() | DEACTIVATE : String = "deactivate" [static]
deactivate event object의 type property의 값을 정의합니다. | Event | |
![]() | ENTER_FRAME : String = "enterFrame" [static]
enterFrame event object의 type property의 값을 정의합니다. | Event | |
![]() | ID3 : String = "id3" [static]
id3 event object의 type property의 값을 정의합니다. | Event | |
![]() | INIT : String = "init" [static]
init event object의 type property의 값을 정의합니다. | Event | |
![]() | MOUSE_LEAVE : String = "mouseLeave" [static]
mouseLeave event object의 type property의 값을 정의합니다. | Event | |
![]() | OPEN : String = "open" [static]
open event object의 type property의 값을 정의합니다. | Event | |
![]() | REMOVED : String = "removed" [static]
removed event object의 type property의 값을 정의합니다. | Event | |
![]() | RENDER : String = "render" [static]
render event object의 type property의 값을 정의합니다. | Event | |
![]() | RESIZE : String = "resize" [static]
resize event object의 type property의 값을 정의합니다. | Event | |
![]() | SCROLL : String = "scroll" [static]
scroll event object의 type property의 값을 정의합니다. | Event | |
![]() | SELECT : String = "select" [static]
select event object의 type property의 값을 정의합니다. | Event | |
![]() | SOUND_COMPLETE : String = "soundComplete" [static]
soundComplete event object의 type property의 값을 정의합니다. | Event | |
![]() | TAB_CHILDREN_CHANGE : String = "tabChildrenChange" [static]
tabChildrenChange event object의 type property의 값을 정의합니다. | Event | |
![]() | TAB_ENABLED_CHANGE : String = "tabEnabledChange" [static]
tabEnabledChange event object의 type property의 값을 정의합니다. | Event | |
![]() | TAB_INDEX_CHANGE : String = "tabIndexChange" [static]
tabIndexChange event object의 type property의 값을 정의합니다. | Event | |
![]() | UNLOAD : String = "unload" [static]
unload event object의 type property의 값을 정의합니다. | Event | |
| items | property |
public var items:Array
kind 가 CollectionEventKind.ADD 또는 CollectionEventKind.REMOVE 의 경우,items property는 추가 또는 삭제된 아이템의 배열이 됩니다. kind 가 CollectionEventKind.REPLACE 또는 CollectionEventKind.UPDATE 의 경우,items property는, 이벤트의 영향을 받는 아이템의 정보를 가지는 PropertyChangeEvent object의 배열이 됩니다. 값이 변경되었을 경우는, PropertyChangeEvent object의 newValue 필드 및 oldValue 필드를 조사해, 낡은 값과 새로운 값을 찾아냅니다. kind 가 CollectionEventKind.REFRESH 또는 CollectionEventKind.RESET 의 경우, 이 배열의 길이는 0 입니다.
디폴트치[ ].
See also
| kind | property |
public var kind:String
발생한 이벤트의 종류를 나타냅니다. property치는 CollectionEventKind 클래스의 몇개의 값, 또는 이벤트의 종류가 불명한 것을 나타내는 null 가 됩니다.
디폴트치null.
See also
| location | property |
public var location:int
kind 값가 CollectionEventKind.ADD,CollectionEventKind.MOVE,CollectionEventKind.REMOVE, 또는 CollectionEventKind.REPLACE 의 경우, 이 property는,items property로 지정된 아이템의 콜렉션의 0 으로부터 시작되는 인덱스가 됩니다.
디폴트치-1.
See also
| oldLocation | property |
public var oldLocation:int
kind 값가 CollectionEventKind.MOVE 의 경우, 이 property는,items property로 지정된 아이템의 이전의 위치에 있는 타겟 콜렉션의 0 으로부터 시작되는 인덱스가 됩니다.
디폴트치-1.
| CollectionEvent | () | constructor |
public 함수 CollectionEvent(type:String , bubbles:Boolean = false, cancelable:Boolean = false, kind:String = null, location:int = -1, oldLocation:int = -1, items:Array = null)constructor .
Parameterstype:String — event 타입. 이벤트를 방아쇠 한 액션을 나타냅니다.
|
|
bubbles:Boolean (default = false) — 이벤트가 표시 리스트 계층을 윗쪽에 버블 할 수 있을지 어떨지를 지정합니다.
|
|
cancelable:Boolean (default = false) — 이벤트에 관련지을 수 있었던 동작을 캔슬할 수 있을지 어떨지를 지정합니다.
|
|
kind:String (default = null) — 발생한 이벤트의 종류를 나타냅니다. Parameters치는 CollectionEventKind 클래스의 몇개의 값, 또는 이벤트의 종류가 불명한 것을 나타내는 null 가 됩니다.
|
|
location:int (default = -1) — kind 가 CollectionEventKind.ADD,CollectionEventKind.MOVE,CollectionEventKind.REMOVE, 또는 CollectionEventKind.REPLACE 의 경우, 이 값은,items property 로 지정된 아이템이 타겟 콜렉션내의 어느 위치에 있는지를 나타냅니다.
|
|
oldLocation:int (default = -1) — kind 가 CollectionEventKind.MOVE 의 경우, 이 값은,items property로 지정된 아이템의 타겟 콜렉션내에서의 이전의 위치를 나타냅니다.
|
|
items:Array (default = null) — items property로 설명하고 있도록(듯이), 이벤트의 영향을 받는 아이템의 정보를 가지는 object의 배열입니다. kind 가 CollectionEventKind.REFRESH 또는 CollectionEventKind.RESET 의 경우, 이 배열의 길이는 0 입니다.
|
| COLLECTION_CHANGE | 정수 |
public static const COLLECTION_CHANGE:String = "collectionChange"
CollectionEvent.COLLECTION_CHANGE 정수는, 콜렉션이 변경될 때 dispatch되는 이벤트의 event object의 type property치를 정의합니다.
event object의 각 property에는 다음의 값이 설정되어 있습니다. 이벤트의 종류에 따라서는 무효인 property도 있습니다. 상세한 것에 대하여는, 각 property의 설명을 참조해 주세요.
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | 이벤트를 처리하는 event listener를 정의하는 object. 예를 들어, event listener의 등록에 myButton.addEventListener() 를 사용하면,currentTarget 의 값은 "myButton" 가 됩니다. |
items | 이벤트의 영향을 받는 아이템의 정보를 가지는 object의 배열입니다. 이 필드의 내용은 이벤트의 종류에 응해 다릅니다. 상세한 것에 대하여는,items property를 참조해 주세요. |
kind | 이벤트의 종류입니다. 유효한 값이 정수로서 CollectionEventKind 클래스에 정의됩니다. |
location | items property로 지정된 아이템의 타겟 콜렉션내에 있어서의 위치입니다. |
oldLocation | items property로 지정된 아이템의 콜렉션내에 있어서의 이전의 위치입니다. |
target | 이벤트를 dispatch한 object를 나타냅니다. 이 object는 반드시 이벤트를 받는 object라고는 할 수 없습니다. 이벤트를 받는 object에 항상 액세스 하려면 ,currentTarget property를 사용해 주세요. |
type | CollectionEvent.COLLECTION_CHANGE |
코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트
현재의 페이지: http://flexdocs.kr/docs/flex2/langref/mx/events/CollectionEvent.html