This page was saved using jaction on 2006-09-04 8:33:35.
Address: http://flexdocs.kr/docs/flex2/langref/mx/events/DataGridEventReason.html
Title: mx.events.DataGridEventReason (Flex™ 2 레퍼런스 가이드)  •  Size: 21410
Packagemx.events
Classpublic final class DataGridEventReason
InheritanceDataGridEventReason Inheritance Object

DataGridEventReason 클래스는,type property가 itemEditEnd 인 경우에, DataGridEvent object의 reason property치의 정수를 정의합니다.



Public property
 property정의
 Inheritedconstructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor    함수에의 참조입니다.
Object
 Inheritedprototype : Object
[static] 클래스 또는 함수 object의 prototype object에의 참조입니다.
Object
Public Methods
 Methods정의
 InheritedhasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
Object
 InheritedisPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
Object
 InheritedpropertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
Object
 InheritedsetPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
Object
 InheritedtoString ():String
지정된 object의 string 표현을 돌려줍니다.
Object
 InheritedvalueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
Object
Public 정수
 정수정의
  CANCELLED : String = "cancelled"
[static] 유저에 의해 편집이 캔슬되어 편집 데이터는 보존되지 않는 것을 나타냅니다.
DataGridEventReason
  NEW_COLUMN : String = "newColumn"
[static] 유저가 같은 행의 새로운 열에 포커스를 이동한 것을 나타냅니다.
DataGridEventReason
  NEW_ROW : String = "newRow"
[static] 유저가 새로운 행에 포커스를 이동한 것을 나타냅니다.
DataGridEventReason
  OTHER : String = "other"
[static] List 컨트롤이 포커스를 잃은 것, 스크롤 된 것, 또는 편집이 무효인 상태가 된 것을 나타냅니다.
DataGridEventReason
정수의 상세
CANCELLED정수
public static const CANCELLED:String = "cancelled"

유저에 의해 편집이 캔슬되어 편집 데이터는 보존되지 않는 것을 나타냅니다. itemEditEnd 이벤트의 event listener내로부터 preventDefault() Methods를 호출해도, Flex 에서는 destroyItemEditor() 에디터를 호출해 에디터를 닫습니다.

NEW_COLUMN정수 
public static const NEW_COLUMN:String = "newColumn"

유저가 같은 행의 새로운 열에 포커스를 이동한 것을 나타냅니다. event listener내에서, 포커스의 변경을 실시하거나 변경을 금지하거나 할 수가 있습니다. 예를 들어, event listener에서는, 유저가 현재 편집중의 아이템에 유효한 값을 입력했는지 어떠했는지를 체크할 수 있습니다. 체크하지 않는 경우는,preventDefault() Methods를 호출해, 유저가 새로운 아이템으로 이동할 수 없게 할 수 있습니다. 이 경우, 아이템 에디터는 연 채로 있어, 유저는 현재의 아이템을 계속해 편집합니다. preventDefault() Methods를 호출해, 한층 더 destroyItemEditor() Methods를 호출하면, 새로운 아이템에의 이동은 저지됩니다만, 아이템 에디터는 닫습니다.

NEW_ROW정수 
public static const NEW_ROW:String = "newRow"

유저가 새로운 행에 포커스를 이동한 것을 나타냅니다. 이 이유는 NEW_COLUMN 와 같게 취급합니다.

OTHER정수 
public static const OTHER:String = "other"

List 컨트롤이 포커스를 잃은 것, 스크롤 된 것, 또는 편집이 무효인 상태가 된 것을 나타냅니다. itemEditEnd 이벤트의 event listener내로부터 preventDefault() Methods를 호출해도, Flex 에서는 destroyItemEditor() 에디터를 호출해 에디터를 닫습니다.







 

코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트

현재의 페이지: http://flexdocs.kr/docs/flex2/langref/mx/events/DataGridEventReason.html