| Package | flashx.textLayout.operations |
| Class | public class ApplyTCYOperation |
| Inheritance | ApplyTCYOperation FlowTextOperation FlowOperation Object |
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | absoluteEnd : int
The absolute end point of the range of text to which this operation is applied. | FlowTextOperation | |
![]() | absoluteStart : int
The absolute start point of the range of text to which this operation is applied. | FlowTextOperation | |
![]() | beginGeneration : uint [read-only]
The text flow generation before the operation. | FlowOperation | |
![]() | endGeneration : uint [read-only]
The text flow generation after the operation. | FlowOperation | |
| newTCYElement : TCYElement [read-only]
The TCYElement that was created by doOperation. | ApplyTCYOperation | ||
![]() | originalSelectionState : SelectionState
The selection state at the start of the operation. | FlowTextOperation | |
| tcyOn : Boolean
Indicates whether the operation applies or removes TCY formatting. | ApplyTCYOperation | ||
![]() | textFlow : TextFlow
The TextFlow object to which this operation is applied. | FlowOperation | |
![]() | userData : *
Arbitrary data associated with an element. | FlowOperation | |
| Method | Defined By | ||
|---|---|---|---|
ApplyTCYOperation(operationState:SelectionState, tcyOn:Boolean)
Creates an ApplyTCYOperation object. | ApplyTCYOperation | ||
![]() | canUndo():Boolean
Test if this operation be placed on the undo stack. | FlowOperation | |
![]() | doOperation():Boolean
Executes the operation. | FlowOperation | |
![]() | [override]
Re-executes the operation. | FlowTextOperation | |
![]() |
Reverses the operation. | FlowOperation | |
| newTCYElement | property |
newTCYElement:TCYElement [read-only] | Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 2.0 |
The TCYElement that was created by doOperation.
public function get newTCYElement():TCYElement| tcyOn | property |
tcyOn:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Indicates whether the operation applies or removes TCY formatting.
If true, then the operation transforms the range into a
TCY element. If false, then the operation removes TCY formatting from
the first TCY element in the range.
public function get tcyOn():Boolean public function set tcyOn(value:Boolean):voidSee also
| ApplyTCYOperation | () | Constructor |
public function ApplyTCYOperation(operationState:SelectionState, tcyOn:Boolean)| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Creates an ApplyTCYOperation object.
ParametersoperationState:SelectionState — Describes the range of text to which the operation is applied.
| |
tcyOn:Boolean — Specifies whether to apply TCY (true), or remove TCY (false).
|