適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
com.adobe.mosaic.layouts.dragAndDrop 

MosaicDragEvent  - AS3 ADEP Composite Application

套件com.adobe.mosaic.layouts.dragAndDrop
類別public class MosaicDragEvent
繼承MosaicDragEvent Inheritance MouseEvent Inheritance Event Inheritance Object

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

This event is dispatched by the DragAndDropGroup when a drop happens. The information in the event identifies the index of the item being removed (or -1 if the item is only being added), the index of the destination insertion, and the item.



公用屬性
 屬性定義自
 InheritedaltKey : Boolean
指出 Alt 鍵為作用中 (true) 或停用 (false)。
MouseEvent
 Inheritedbubbles : Boolean
[唯讀] 指出事件是否為反昇事件。
Event
 InheritedbuttonDown : Boolean
指出已按下主要滑鼠按鈕 (true) 或未按下 (false)。
MouseEvent
 Inheritedcancelable : Boolean
[唯讀] 指出是否可避免與事件相關聯的行為指令。
Event
 InheritedclickCount : int
[唯讀] 指出此滑鼠按下事件是否為多次按下動作序列的一部分。
MouseEvent
 InheritedcommandKey : Boolean
指出 Command 鍵是否已啟用 (僅限 Mac)。在 Mac 中,commandKey 屬性的值將與 ctrlKey 屬性的值相同。
MouseEvent
 Inheritedconstructor : Object
類別物件的參照或是特定物件實體的建構函數。
Object
 InheritedcontrolKey : Boolean
指出是否已啟用 Control 鍵 (在 Mac 中) 以及是否已啟用 Ctrl 鍵 (在 Windows 或 Linux 中)。
MouseEvent
 InheritedctrlKey : Boolean
在 Windows 或 Linux 中,指出 Ctrl 鍵為作用中 (true) 或已停用 (false)。
MouseEvent
 InheritedcurrentTarget : Object
[唯讀] 正主動使用事件偵聽程式處理 Event 物件的物件。
Event
 Inheriteddelta : int
指出當使用者滾動滑鼠滾輪時,每滾動一個單位 (一格) 所代表的捲動行數。
MouseEvent
 InheritedeventPhase : uint
[唯讀] 事件流程中的目前階段。
Event
 InheritedisRelatedObjectInaccessible : Boolean
如果是 true,則 relatedObject 屬性會因為安全執行程序的因素而設定為 null。
MouseEvent
  item : IVisualElement
The item being dragged.
MosaicDragEvent
 InheritedlocalX : Number
滑鼠鎖定停用時,則為相對於包含的 Sprite,事件發生的水平座標。
MouseEvent
 InheritedlocalY : Number
滑鼠鎖定停用時,則為相對於包含的 Sprite,事件發生的垂直座標。
MouseEvent
 InheritedmovementX : Number
滑鼠鎖定啟用時,則為自上次滑鼠事件以來滑鼠位置在 X 方向的變更。
MouseEvent
 InheritedmovementY : Number
滑鼠鎖定啟用時,則為自上次滑鼠事件以來滑鼠位置在 Y 方向的變更。
MouseEvent
  newColumn : int
The column index.
MosaicDragEvent
  newIndex : int
The new display list index.
MosaicDragEvent
  newParent : Object
The new location.
MosaicDragEvent
  newRow : int
The new row index.
MosaicDragEvent
  oldColumn : int
The previous parent column index.
MosaicDragEvent
  oldIndex : int
The previous parent display list index.
MosaicDragEvent
  oldParent : Object
The previous parent location.
MosaicDragEvent
  oldRow : int
The previous parent row index.
MosaicDragEvent
 InheritedrelatedObject : InteractiveObject
與事件相關的顯示清單物件的參照。
MouseEvent
 InheritedshiftKey : Boolean
指出 Shift 鍵為作用中 (true) 或停用 (false)。
MouseEvent
 InheritedstageX : Number
[唯讀] 在全域舞台座標上,事件發生的水平座標。
MouseEvent
 InheritedstageY : Number
[唯讀] 在全域舞台座標上,事件發生的垂直座標。
MouseEvent
 Inheritedtarget : Object
[唯讀] 事件目標。
Event
 Inheritedtype : String
[唯讀] 事件類型。
Event
公用方法
 方法定義自
  
MosaicDragEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
MosaicDragEvent
 Inherited
[覆寫] 建立 MouseEvent 物件的副本,並將每個屬性的值設為符合原始物件的屬性值。
MouseEvent
 Inherited
formatToString(className:String, ... arguments):String
公用程式函數,可用來實作自訂 ActionScript 3.0 Event 類別中的 toString() 方法。
Event
 Inherited
指出物件是否有已定義的指定屬性。
Object
 Inherited
檢查是否已經對事件呼叫 preventDefault() 方法。
Event
 Inherited
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。
Object
 Inherited
如果可以取消事件的預設行為指令,則取消該行為指令。
Event
 Inherited
指出指定的屬性是否存在,以及是否可列舉。
Object
 Inherited
為迴圈作業設定動態屬性的可用性。
Object
 Inherited
避免處理事件流程中,目前節點以及任何後續節點中的任何事件偵聽程式。
Event
 Inherited
避免處理接續在事件流程中的目前節點之後,後續節點中的任何事件偵聽程式。
Event
 Inherited
傳回代表此物件的字串,根據地區特定慣例進行格式化。
Object
 Inherited
[覆寫] 傳回包含 MouseEvent 物件所有屬性的字串。
MouseEvent
 Inherited
如果已經修改顯示清單,則指示 Flash Player 或 Adobe AIR 在此事件處理完畢後再顯示。
MouseEvent
 Inherited
會傳回指定之物件的基本值。
Object
公用常數
 常數定義自
  ITEM_DROP : String = "itemDrop"
[靜態] The static constant String "itemDrop"
MosaicDragEvent
屬性詳細資訊

item

屬性
public var item:IVisualElement

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The item being dragged.

newColumn

屬性 
public var newColumn:int

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The column index.

newIndex

屬性 
public var newIndex:int

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The new display list index.

newParent

屬性 
public var newParent:Object

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The new location.

newRow

屬性 
public var newRow:int

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The new row index.

oldColumn

屬性 
public var oldColumn:int

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The previous parent column index.

oldIndex

屬性 
public var oldIndex:int

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The previous parent display list index.

oldParent

屬性 
public var oldParent:Object

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The previous parent location.

oldRow

屬性 
public var oldRow:int

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The previous parent row index.

建構函式詳細資料

MosaicDragEvent

()建構函式
public function MosaicDragEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

Constructor

參數
type:String — The event type (ITEM_DROP).
 
bubbles:Boolean (default = false) — Indicates if this event will trickle up the display list looking for a handler.
 
cancelable:Boolean (default = false) — If true, this event may be cancelled by an event listener.
常數詳細資訊

ITEM_DROP

常數
public static const ITEM_DROP:String = "itemDrop"

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The static constant String "itemDrop"





[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。