Packageflashx.textLayout.operations
Classpublic class UndoOperation
InheritanceUndoOperation Inheritance FlowOperation Inheritance Object

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5

The UndoOperation class encapsulates an undo operation.

See also

flashx.textLayout.edit.EditManager
flashx.textLayout.events.FlowOperationEvent


Public Properties
 PropertyDefined By
 InheritedbeginGeneration : uint
[read-only] The text flow generation before the operation.
FlowOperation
 InheritedendGeneration : uint
[read-only] The text flow generation after the operation.
FlowOperation
  operation : FlowOperation
The operation to undo.
UndoOperation
 InheritedtextFlow : TextFlow
The TextFlow object to which this operation is applied.
FlowOperation
 InheriteduserData : *
Arbitrary data associated with an element.
FlowOperation
Public Methods
 MethodDefined By
  
Creates an UndoOperation object.
UndoOperation
 Inherited
canUndo():Boolean
Test if this operation be placed on the undo stack.
FlowOperation
 Inherited
doOperation():Boolean
Executes the operation.
FlowOperation
 Inherited
Re-executes the operation.
FlowOperation
 Inherited
Reverses the operation.
FlowOperation
Property Detail
operationproperty
operation:FlowOperation

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5

The operation to undo.


Implementation
    public function get operation():FlowOperation
    public function set operation(value:FlowOperation):void
Constructor Detail
UndoOperation()Constructor
public function UndoOperation(op:FlowOperation)

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5

Creates an UndoOperation object.

Parameters
op:FlowOperation — The operation to undo.