| Package | flashx.textLayout.operations |
| Class | public class UndoOperation |
| Inheritance | UndoOperation FlowOperation Object |
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | beginGeneration : uint [read-only]
The text flow generation before the operation. | FlowOperation | |
![]() | endGeneration : uint [read-only]
The text flow generation after the operation. | FlowOperation | |
| operation : FlowOperation
The operation to undo. | UndoOperation | ||
![]() | textFlow : TextFlow
The TextFlow object to which this operation is applied. | FlowOperation | |
![]() | userData : *
Arbitrary data associated with an element. | FlowOperation | |
| Method | Defined By | ||
|---|---|---|---|
Creates an UndoOperation object. | UndoOperation | ||
![]() | canUndo():Boolean
Test if this operation be placed on the undo stack. | FlowOperation | |
![]() | doOperation():Boolean
Executes the operation. | FlowOperation | |
![]() |
Re-executes the operation. | FlowOperation | |
![]() |
Reverses the operation. | FlowOperation | |
| operation | property |
operation:FlowOperation| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
The operation to undo.
public function get operation():FlowOperation public function set operation(value:FlowOperation):void| UndoOperation | () | Constructor |
public function UndoOperation(op:FlowOperation)| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Creates an UndoOperation object.
Parametersop:FlowOperation — The operation to undo.
|