用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: 正在从服务器检索数据...
正在从服务器检索数据...
flashx.textLayout.operations 

CreateDivOperation  - AS3

flashx.textLayout.operations
public class CreateDivOperation
继承CreateDivOperation Inheritance FlowTextOperation Inheritance FlowOperation Inheritance Object

语言版本: ActionScript 3.0
运行时版本: Flash Player 10, AIR 1.5

CreateDivOperation 类封装创建 DivElement



公共属性
 属性由以下参数定义
 InheritedabsoluteEnd : int
要应用该操作的文本范围的结束点绝对值。
FlowTextOperation
 InheritedabsoluteStart : int
要应用该操作的文本范围的起始点绝对值。
FlowTextOperation
 InheritedbeginGeneration : uint
[只读] 操作之前生成文本流。
FlowOperation
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
 InheritedendGeneration : uint
[只读] 操作之后生成文本流。
FlowOperation
  format : flashx.textLayout.formats:ITextLayoutFormat
要应用于新 DivElement 的 TextLayoutFormat。
CreateDivOperation
  newDivElement : DivElement
[只读] 新 DivElement。
CreateDivOperation
 InheritedoriginalSelectionState : SelectionState
操作开始时的选择状态。
FlowTextOperation
  parent : FlowGroupElement
为新的 DivElement 指定父代元素
CreateDivOperation
 InheritedtextFlow : flashx.textLayout.elements:TextFlow
要应用该操作的 TextFlow 对象。
FlowOperation
 InheriteduserData : *
与元素关联的任意数据。
FlowOperation
公共方法
 方法由以下参数定义
  
创建 CreateDivOperation 对象。
CreateDivOperation
 Inherited
测试此操作是否被放置在撤消堆栈上。
FlowOperation
 Inherited
执行操作。
FlowOperation
 Inherited
表示对象是否已经定义了指定的属性。
Object
 Inherited
表示 Object 类的实例是否在指定为参数的对象的原型链中。
Object
 Inherited
表示指定的属性是否存在、是否可枚举。
Object
 Inherited
[覆盖] 重新执行操作。
FlowTextOperation
 Inherited
设置循环操作动态属性的可用性。
Object
 Inherited
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。
Object
 Inherited
返回指定对象的字符串表示形式。
Object
 Inherited
取消操作。
FlowOperation
 Inherited
返回指定对象的原始值。
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):void

newDivElement

属性 
newDivElement:DivElement  [只读]

语言版本: ActionScript 3.0
运行时版本: Flash Player 10, AIR 1.5

新 DivElement。



实现
    public function get newDivElement():DivElement

parent

属性 
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)




[ X ]为什么显示为英语?
《ActionScript 3.0 参考》中的内容以英语显示

《ActionScript 3.0 参考》中的部分内容未翻译成所有语言。当某个语言元素未翻译时,将显示为英语。例如,ga.controls.HelpBox 类未翻译成任何语言。因此在简体中文版的参考中,ga.controls.HelpBox 类显示为英语。