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 |
Related API Elements
flashx.textLayout.elements.TCYElement
flashx.textLayout.edit.EditManager
flashx.textLayout.events.FlowOperationEvent
flashx.textLayout.edit.EditManager
flashx.textLayout.events.FlowOperationEvent
Public Properties
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 | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
endGeneration : uint [read-only]
The text flow generation after the operation. | FlowOperation | ||
newTCYElement : flashx.textLayout.elements: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 : flashx.textLayout.elements:TextFlow
The TextFlow object to which this operation is applied. | FlowOperation | ||
userData : *
Arbitrary data associated with an element. | FlowOperation |
Public Methods
Method | Defined By | ||
---|---|---|---|
Creates an ApplyTCYOperation object. | ApplyTCYOperation | ||
Test if this operation be placed on the undo stack. | FlowOperation | ||
Executes the operation. | FlowOperation | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
[override]
Re-executes the operation. | FlowTextOperation | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Reverses the operation. | FlowOperation | ||
Returns the primitive value of the specified object. | Object |
Property Detail
newTCYElement | property |
newTCYElement:flashx.textLayout.elements:TCYElement
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 2.0 |
The TCYElement that was created by doOperation.
Implementation
public function get newTCYElement():flashx.textLayout.elements: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.
Implementation
public function get tcyOn():Boolean
public function set tcyOn(value:Boolean):void
Related API Elements
Constructor Detail
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 ).
|
Thu Dec 6 2018, 01:12 PM -08:00