패키지 | spark.events |
클래스 | public class GridSelectionEvent |
상속 | GridSelectionEvent Event Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10, AIR 2.5 |
관련 API 요소
속성 | 정의 주체 | ||
---|---|---|---|
bubbles : Boolean [읽기 전용]
이벤트가 버블링 이벤트인지 여부를 나타냅니다. | Event | ||
cancelable : Boolean [읽기 전용]
해당 이벤트와 연관된 비헤이비어를 차단할 수 있는지 여부를 나타냅니다. | Event | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
currentTarget : Object [읽기 전용]
이벤트 리스너를 통해 Event 객체를 처리하고 있는 객체입니다. | Event | ||
eventPhase : uint [읽기 전용]
이벤트 흐름에서 현재 단계입니다. | Event | ||
kind : String
Indicates the kind of event that occurred. | GridSelectionEvent | ||
selectionChange : CellRegion
The upcoming or just-completed selection changes triggered by some
user gesture. | GridSelectionEvent | ||
target : Object [읽기 전용]
이벤트 대상입니다. | Event | ||
type : String [읽기 전용]
이벤트 유형입니다. | Event |
메서드 | 정의 주체 | ||
---|---|---|---|
GridSelectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, kind:String = null, selectionChange:CellRegion = null)
Constructor. | GridSelectionEvent | ||
Event 하위 클래스의 인스턴스를 복제합니다. | Event | ||
사용자 정의 ActionScript 3.0 Event 클래스에서 toString() 메서드를 구현하기 위한 유틸리티 함수입니다. | Event | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
이벤트에서 preventDefault() 메서드가 호출되었는지 여부를 확인합니다. | Event | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
이벤트의 기본 비헤이비어를 취소할 수 있는 경우, 그 비헤이비어를 취소합니다. | Event | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
이벤트 흐름에서 현재 노드 및 그 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
이벤트 흐름에서 현재 노드의 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
Event 객체의 속성이 모두 포함된 문자열을 반환합니다. | Event | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
상수 | 정의 주체 | ||
---|---|---|---|
SELECTION_CHANGE : String = "selectionChange" [정적]
The GridSelectionEvent.SELECTION_CHANGE constant defines
the value of the type property of the event object for a
selectionChange event, which indicates that the current
selection has just been changed. | GridSelectionEvent | ||
SELECTION_CHANGING : String = "selectionChanging" [정적]
The GridSelectionEvent.SELECTION_CHANGING constant defines
the value of the type property of the event object for a
selectionChanging event, which indicates that the current
selection is about to change. | GridSelectionEvent |
kind | 속성 |
public var kind:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10, AIR 2.5 |
Indicates the kind of event that occurred.
The property value can be one of the values in the
GridSelectionEventKind class,
or null
, which indicates that the kind is unknown.
관련 API 요소
selectionChange | 속성 |
public var selectionChange:CellRegion
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10, AIR 2.5 |
The upcoming or just-completed selection changes triggered by some user gesture. If this change is adding to the current selection, it will not represent the complete selection. Use the DataGrid selection methods to determine the selection.
관련 API 요소
GridSelectionEvent | () | 생성자 |
public function GridSelectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, kind:String = null, selectionChange:CellRegion = null)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Constructor.
매개 변수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.
| |
kind:String (default = null ) — The kind of changing event. The valid values are defined in
GridSelectionEventKind class as constants. This value
determines which properties in the event are used.
| |
selectionChange:CellRegion (default = null ) — The proposed or accepted change to the
current selection. Use the Spark DataGrid selection methods to
determine the current selection.
|
관련 API 요소
SELECTION_CHANGE | 상수 |
public static const SELECTION_CHANGE:String = "selectionChange"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10, AIR 2.5 |
The GridSelectionEvent.SELECTION_CHANGE
constant defines
the value of the type
property of the event object for a
selectionChange
event, which indicates that the current
selection has just been changed.
This event is dispatched when the user interacts with the control.
When you sort the data provider's collection programmatically,
the component does not dispatch the selectionChange
event.
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 . |
kind
| The kind of changing event. The valid values are defined in GridSelectionEventKind class as constants. This value determines which properties in the event are used. |
selectionChange | The just completed selection change that was triggered by a user gesture. Use the DataGrid selection methods to determine the current selection. |
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 | GridSelectionEvent.SELECTION_CHANGE |
관련 API 요소
SELECTION_CHANGING | 상수 |
public static const SELECTION_CHANGING:String = "selectionChanging"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10, AIR 2.5 |
The GridSelectionEvent.SELECTION_CHANGING
constant defines
the value of the type
property of the event object for a
selectionChanging
event, which indicates that the current
selection is about to change. Call preventDefault() on this event
to prevent the selection from changing.
This event is dispatched when the user interacts with the control.
When you sort the data provider's collection programmatically,
the component does not dispatch the selectionChanging
event.
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 . |
kind
| The kind of changing event. The valid values are defined in GridSelectionEventKind class as constants. This value determines which properties in the event are used. |
selectionChange | The upcoming selection change that is triggered by a user gesture. |
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 | GridSelectionEvent.SELECTION_CHANGING |
관련 API 요소
Tue Jun 12 2018, 03:17 PM Z