| 套件 | flashx.textLayout.operations |
| 類別 | public class CreateDivOperation |
| 繼承 | CreateDivOperation FlowTextOperation FlowOperation Object |
| 語言版本: | ActionScript 3.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
公用屬性
| 屬性 | 定義自 | ||
|---|---|---|---|
![]() | absoluteEnd : int
套用此作業的文字範圍的絕對結束點。 | FlowTextOperation | |
![]() | absoluteStart : int
套用此作業的文字範圍的絕對開始點。 | FlowTextOperation | |
![]() | beginGeneration : uint [唯讀]
在作業之前產生的文字流排。 | FlowOperation | |
![]() | constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | |
![]() | endGeneration : uint [唯讀]
在作業之後產生的文字流排。 | FlowOperation | |
| format : flashx.textLayout.formats:ITextLayoutFormat 要套用到新 DivElement 的 TextLayoutFormat。 | CreateDivOperation | ||
| newDivElement : DivElement [唯讀] 新的 DivElement。 | CreateDivOperation | ||
![]() | originalSelectionState : SelectionState
作業開始的選取狀態。 | FlowTextOperation | |
| parent : FlowGroupElement
指定新 DivElement 的父元素
| CreateDivOperation | ||
![]() | textFlow : flashx.textLayout.elements:TextFlow
套用此作業的 TextFlow 物件。 | FlowOperation | |
![]() | userData : *
與元素相關聯的任意資料。 | FlowOperation | |
公用方法
| 方法 | 定義自 | ||
|---|---|---|---|
CreateDivOperation(operationState:SelectionState, parent:FlowGroupElement = null, format:flashx.textLayout.formats:ITextLayoutFormat = null)
建立 CreateDivOperation 物件。 | CreateDivOperation | ||
![]() |
測試此作業是否可置於還原堆疊上。 | FlowOperation | |
![]() |
執行作業。 | FlowOperation | |
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
![]() | [覆寫]
重新執行作業。 | FlowTextOperation | |
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() |
會傳回指定之物件的字串形式。 | Object | |
![]() |
反轉作業。 | FlowOperation | |
![]() |
會傳回指定之物件的基本值。 | Object | |
屬性詳細資訊
format | 屬性 |
format:flashx.textLayout.formats:ITextLayoutFormat| 語言版本: | ActionScript 3.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
要套用到新 DivElement 的 TextLayoutFormat。
實作
public function get format():flashx.textLayout.formats:ITextLayoutFormat public function set format(value:flashx.textLayout.formats:ITextLayoutFormat):voidnewDivElement | 屬性 |
newDivElement:DivElement [唯讀] | 語言版本: | ActionScript 3.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
新的 DivElement。
實作
public function get newDivElement():DivElementparent | 屬性 |
parent:FlowGroupElement| 語言版本: | ActionScript 3.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
指定新 DivElement 的父元素
實作
public function get parent():FlowGroupElement public function set parent(value:FlowGroupElement):void建構函式詳細資料
CreateDivOperation | () | 建構函式 |
public function CreateDivOperation(operationState:SelectionState, parent:FlowGroupElement = null, format:flashx.textLayout.formats:ITextLayoutFormat = null)| 語言版本: | ActionScript 3.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
建立 CreateDivOperation 物件。
參數operationState:SelectionState | |
parent:FlowGroupElement (default = null) | |
format:flashx.textLayout.formats:ITextLayoutFormat (default = null) |
Tue Jun 12 2018, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性