Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
TextInputOperation

Package | spark.components.supportClasses
Class | public class TextInputOperation
Inheritance | TextInputOperation FlowOperation Object

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | AIR 2.5

The TextInputOperation class represents a text input operation. This class is only used by StyleableTextField when sending the CHANGING event.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| 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
|  | text : String The text that was inputted. | TextInputOperation
|  | textFlow : TextFlow The TextFlow object to which this operation is applied. | FlowOperation
|  | userData : * Arbitrary data associated with an element. | FlowOperation

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | TextInputOperation() Constructor. | TextInputOperation
|  | canUndo():Boolean Test if this operation be placed on the undo stack. | FlowOperation
|  | doOperation():Boolean Executes the operation. | FlowOperation
|  | redo():SelectionState Re-executes the operation. | FlowOperation
|  | undo():SelectionState Reverses the operation. | FlowOperation

Property Detail

text | property

`public var text:String`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | AIR 2.5

The text that was inputted. If the CHANGING event is not cancelled, this text will be added to the TextFeld. If the event is cancelled, the text will not be added.

Constructor Detail

TextInputOperation | () | Constructor

`public function TextInputOperation()`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | AIR 2.5

Constructor.

Wed Nov 15 2017, 09:50 AM +01:00