包 | flashx.textLayout.operations |
类 | public class SplitParagraphOperation |
继承 | SplitParagraphOperation ![]() ![]() ![]() ![]() |
语言版本: | ActionScript 3.0 |
运行时版本: | Flash Player 10, AIR 1.5 |
该操作创建新的段落,新段落包含从指定位置到该段落末尾的文本。如果指定了文本的范围,则首先删除该范围的文本。
相关 API 元素
flashx.textLayout.elements.ParagraphElement
flashx.textLayout.edit.EditManager
flashx.textLayout.events.FlowOperationEvent
flashx.textLayout.edit.EditManager
flashx.textLayout.events.FlowOperationEvent
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
SplitParagraphOperation(operationState:SelectionState)
创建 SplitParagraphOperation 对象。 | SplitParagraphOperation | ||
![]() |
测试此操作是否被放置在撤消堆栈上。 | FlowOperation | |
![]() |
执行操作。 | FlowOperation | |
![]() |
表示对象是否已经定义了指定的属性。 | Object | |
![]() |
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | |
![]() |
表示指定的属性是否存在、是否可枚举。 | Object | |
![]() | [覆盖]
重新执行操作。 | FlowTextOperation | |
![]() |
设置循环操作动态属性的可用性。 | Object | |
![]() |
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | |
![]() |
返回指定对象的字符串表示形式。 | Object | |
![]() |
取消操作。 | FlowOperation | |
![]() |
返回指定对象的原始值。 | Object |
构造函数详细信息
SplitParagraphOperation | () | 构造函数 |
public function SplitParagraphOperation(operationState:SelectionState)
语言版本: | ActionScript 3.0 |
运行时版本: | Flash Player 10, AIR 1.5 |
创建 SplitParagraphOperation 对象。
参数operationState:SelectionState — 描述拆分段落所在的点。如果指定了文本的范围,将删除该范围的内容。
|
Tue Jun 12 2018, 11:04 AM Z