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

MoveChildrenOperation  - AS3

套件flashx.textLayout.operations
類別public class MoveChildrenOperation
繼承MoveChildrenOperation Inheritance FlowTextOperation Inheritance FlowOperation Inheritance Object

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

MoveChildrenOperation 類別允許將一組同級項目移出其直屬父鏈結,並且此操作會移除任何留下的空白祖系鏈結。

相關 API 元素



公用屬性
 屬性定義自
 InheritedabsoluteEnd : int
套用此作業的文字範圍的絕對結束點。
FlowTextOperation
 InheritedabsoluteStart : int
套用此作業的文字範圍的絕對開始點。
FlowTextOperation
 InheritedbeginGeneration : uint
[唯讀] 在作業之前產生的文字流排。
FlowOperation
 Inheritedconstructor : Object
類別物件的參照或是特定物件實體的建構函數。
Object
  destination : FlowGroupElement
指定項目的新父輩。
MoveChildrenOperation
  destinationIndex : int
指定第一個元素的新子系索引。
MoveChildrenOperation
 InheritedendGeneration : uint
[唯讀] 在作業之後產生的文字流排。
FlowOperation
  numChildren : int
指定要移動之第一個項目的索引。
MoveChildrenOperation
 InheritedoriginalSelectionState : SelectionState
作業開始的選取狀態。
FlowTextOperation
  source : FlowGroupElement
指定要移動之項目的父輩。
MoveChildrenOperation
  sourceIndex : int
指定要移動的子系數目。
MoveChildrenOperation
 InheritedtextFlow : flashx.textLayout.elements:TextFlow
套用此作業的 TextFlow 物件。
FlowOperation
 InheriteduserData : *
與元素相關聯的任意資料。
FlowOperation
公用方法
 方法定義自
  
MoveChildrenOperation(operationState:SelectionState, source:FlowGroupElement, sourceIndex:int, numChildren:int, destination:FlowGroupElement, destinationIndex:int)
建立 MoveChildrenOperation 物件。
MoveChildrenOperation
 Inherited
測試此作業是否可置於還原堆疊上。
FlowOperation
 Inherited
執行作業。
FlowOperation
 Inherited
指出物件是否有已定義的指定屬性。
Object
 Inherited
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。
Object
 Inherited
指出指定的屬性是否存在,以及是否可列舉。
Object
 Inherited
[覆寫] 重新執行作業。
FlowTextOperation
 Inherited
為迴圈作業設定動態屬性的可用性。
Object
 Inherited
傳回代表此物件的字串,根據地區特定慣例進行格式化。
Object
 Inherited
會傳回指定之物件的字串形式。
Object
 Inherited
反轉作業。
FlowOperation
 Inherited
會傳回指定之物件的基本值。
Object
屬性詳細資訊

destination

屬性
destination:FlowGroupElement

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

指定項目的新父輩。



實作
    public function get destination():FlowGroupElement
    public function set destination(value:FlowGroupElement):void

destinationIndex

屬性 
destinationIndex:int

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

指定第一個元素的新子系索引。



實作
    public function get destinationIndex():int
    public function set destinationIndex(value:int):void

numChildren

屬性 
numChildren:int

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

指定要移動之第一個項目的索引。



實作
    public function get numChildren():int
    public function set numChildren(value:int):void

source

屬性 
source:FlowGroupElement

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

指定要移動之項目的父輩。



實作
    public function get source():FlowGroupElement
    public function set source(value:FlowGroupElement):void

sourceIndex

屬性 
sourceIndex:int

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

指定要移動的子系數目。



實作
    public function get sourceIndex():int
    public function set sourceIndex(value:int):void
建構函式詳細資料

MoveChildrenOperation

()建構函式
public function MoveChildrenOperation(operationState:SelectionState, source:FlowGroupElement, sourceIndex:int, numChildren:int, destination:FlowGroupElement, destinationIndex:int)

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

建立 MoveChildrenOperation 物件。

此操作會將一連串的來源子系移至目的地內容。此外,如果移動子系會使來源元素沒有子系,則會移除來源。移除會以遞迴方式完成,因此,如果來源的父輩因移除來源而變成空白,則也會刪除該父輩並向上刪除到父鏈結。

參數
operationState:SelectionState — 指定此操作的 SelectionState
 
source:FlowGroupElement — 指定要移動之項目的父輩。
 
sourceIndex:int — 指定要移動之第一個項目的索引。
 
numChildren:int — 指定要移動的子系數目。
 
destination:FlowGroupElement — 指定項目的新父輩。
 
destinationIndex:int — 指定第一個元素的新子系索引。




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

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