패키지 | mx.automation.events |
클래스 | public class ListItemSelectEvent |
상속 | ListItemSelectEvent Event Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
기타 예제
속성 | 정의 주체 | ||
---|---|---|---|
altKey : Boolean
Indicates whether the Alt key was pressed at the time of the event, true,
or not, false. | ListItemSelectEvent | ||
bubbles : Boolean [읽기 전용]
이벤트가 버블링 이벤트인지 여부를 나타냅니다. | Event | ||
cancelable : Boolean [읽기 전용]
해당 이벤트와 연관된 비헤이비어를 차단할 수 있는지 여부를 나타냅니다. | Event | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
ctrlKey : Boolean
Indicates whether the Ctrl key was pressed at the time of the event, true,
or not, false. | ListItemSelectEvent | ||
currentTarget : Object [읽기 전용]
이벤트 리스너를 통해 Event 객체를 처리하고 있는 객체입니다. | Event | ||
eventPhase : uint [읽기 전용]
이벤트 흐름에서 현재 단계입니다. | Event | ||
itemAutomationValue : String
The automationValue string of the item to be selected. | ListItemSelectEvent | ||
itemIndex : uint
The data provider index of the item to be selected. | ListItemSelectEvent | ||
itemRenderer : IListItemRenderer
Item renderer object for the item being selected or deselected. | ListItemSelectEvent | ||
shiftKey : Boolean
Indicates whether the Shift key was pressed at the time of the event, true,
or not, false. | ListItemSelectEvent | ||
target : Object [읽기 전용]
이벤트 대상입니다. | Event | ||
triggerEvent : Event
Event that triggered the item selection event,
such as a keyboard or mouse event. | ListItemSelectEvent | ||
type : String [읽기 전용]
이벤트 유형입니다. | Event |
메서드 | 정의 주체 | ||
---|---|---|---|
ListItemSelectEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, itemRenderer:IListItemRenderer = null, triggerEvent:Event = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
Constructor. | ListItemSelectEvent | ||
Event 하위 클래스의 인스턴스를 복제합니다. | Event | ||
사용자 정의 ActionScript 3.0 Event 클래스에서 toString() 메서드를 구현하기 위한 유틸리티 함수입니다. | Event | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
이벤트에서 preventDefault() 메서드가 호출되었는지 여부를 확인합니다. | Event | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
이벤트의 기본 비헤이비어를 취소할 수 있는 경우, 그 비헤이비어를 취소합니다. | Event | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
이벤트 흐름에서 현재 노드 및 그 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
이벤트 흐름에서 현재 노드의 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
Event 객체의 속성이 모두 포함된 문자열을 반환합니다. | Event | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
상수 | 정의 주체 | ||
---|---|---|---|
DESELECT : String = "deselect" [정적]
The ListItemSelectEvent.DESELECT constant defines the value of the
type property of the event object for an event that is
dispatched when a previously selected item is deselected. | ListItemSelectEvent | ||
MULTI_SELECT : String = "multiSelect" [정적]
The ListItemSelectEvent.MULTI_SELECT constant defines the value of the
type property of the event object for an event that is
dispatched when an item is selected as part of an
action that selects multiple items. | ListItemSelectEvent | ||
SELECT : String = "select" [정적]
The ListItemSelectEvent.SELECT constant defines the value of the
type property of the event object for an event that is
dispatched when a single item is selected. | ListItemSelectEvent | ||
SELECT_INDEX : String = "selectIndex" [정적]
The ListItemSelectEvent.SELECT_INDEX constant defines the value of the
type property of the event object for an event that is
dispatched when an item's index is selected. | ListItemSelectEvent |
altKey | 속성 |
public var altKey:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Indicates whether the Alt key was pressed at the time of the event, true
,
or not, false
.
기본값: false.
ctrlKey | 속성 |
public var ctrlKey:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Indicates whether the Ctrl key was pressed at the time of the event, true
,
or not, false
.
기본값: false.
itemAutomationValue | 속성 |
public var itemAutomationValue:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The automationValue string of the item to be selected. This is used when the item to be selected is not visible in the control.
itemIndex | 속성 |
public var itemIndex:uint
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The data provider index of the item to be selected.
itemRenderer | 속성 |
public var itemRenderer:IListItemRenderer
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Item renderer object for the item being selected or deselected. You can access the cell data using this property.
기본값: null.
shiftKey | 속성 |
public var shiftKey:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Indicates whether the Shift key was pressed at the time of the event, true
,
or not, false
.
기본값: false.
triggerEvent | 속성 |
public var triggerEvent:Event
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Event that triggered the item selection event, such as a keyboard or mouse event.
기본값: null.
ListItemSelectEvent | () | 생성자 |
public function ListItemSelectEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, itemRenderer:IListItemRenderer = null, triggerEvent:Event = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
언어 버전: | 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 = false ) — Specifies whether the behavior
associated with the event can be prevented.
| |
itemRenderer:IListItemRenderer (default = null ) — The item renderer object for the item.
| |
triggerEvent:Event (default = null ) — The event, such as a mouse or keyboard event, that
triggered the selection action.
| |
ctrlKey:Boolean (default = false ) — Whether the Alt key was pressed at the time of the event.
| |
altKey:Boolean (default = false ) — Whether the Ctrl key was pressed at the time of the event.
| |
shiftKey:Boolean (default = false ) — Whether the Shift key was pressed at the time of the event.
|
DESELECT | 상수 |
public static const DESELECT:String = "deselect"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The ListItemSelectEvent.DESELECT
constant defines the value of the
type
property of the event object for an event that is
dispatched when a previously selected item is deselected.
The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.
Property | Value |
---|---|
altKey | Boolean value indicating whether the Alt key was pressed at the time of the event. |
bubbles | false |
cancelable | false |
ctrlKey | Boolean value indicating whether the Ctrl key was pressed at the time of the event. |
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 . |
itemRenderer | The item renderer object for the item. |
shiftKey | Boolean value indicating whether the Shift key was pressed at the time of the event. |
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. |
triggerEvent | The event, such as a mouse or keyboard event, that triggered the action. |
type | ListItemSelectEvent.DESELECT |
MULTI_SELECT | 상수 |
public static const MULTI_SELECT:String = "multiSelect"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The ListItemSelectEvent.MULTI_SELECT
constant defines the value of the
type
property of the event object for an event that is
dispatched when an item is selected as part of an
action that selects multiple items.
The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.
Property | Value |
---|---|
altKey | Boolean value indicating whether the Alt key was pressed at the time of the event. |
bubbles | false |
cancelable | false |
ctrlKey | Boolean value indicating whether the Ctrl key was pressed at the time of the event. |
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 . |
itemRenderer | The item renderer object for the item. |
shiftKey | Boolean value indicating whether the Shift key was pressed at the time of the event. |
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. |
triggerEvent | The event, such as a mouse or keyboard event, that triggered the action. |
type | ListItemSelectEvent.MULTI_SELECT |
SELECT | 상수 |
public static const SELECT:String = "select"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The ListItemSelectEvent.SELECT
constant defines the value of the
type
property of the event object for an event that is
dispatched when a single item is selected.
The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.
Property | Value |
---|---|
altKey | Boolean value indicating whether the Alt key was pressed at the time of the event. |
bubbles | false |
cancelable | false |
ctrlKey | Boolean value indicating whether the Ctrl key was pressed at the time of the event. |
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 . |
itemRenderer | The item renderer object for the item. |
shiftKey | Boolean value indicating whether the Shift key was pressed at the time of the event. |
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. |
triggerEvent | The event, such as a mouse or keyboard event, that triggered the action. |
type | ListItemSelectEvent.SELECT |
SELECT_INDEX | 상수 |
public static const SELECT_INDEX:String = "selectIndex"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The ListItemSelectEvent.SELECT_INDEX
constant defines the value of the
type
property of the event object for an event that is
dispatched when an item's index is selected.
The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.
Property | Value |
---|---|
altKey | Boolean value indicating whether the Alt key was pressed at the time of the event. |
bubbles | false |
cancelable | false |
ctrlKey | Boolean value indicating whether the Ctrl key was pressed at the time of the event. |
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 to be selected. |
shiftKey | Boolean value indicating whether the Shift key was pressed at the time of the event. |
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. |
triggerEvent | The event, such as a mouse or keyboard event, that triggered the action. |
type | ListItemSelectEvent.SELECT_INDEX |
Tue Jun 12 2018, 03:17 PM Z