Paket | spark.automation.delegates |
Klass | public class SparkRichEditableTextAutomationHelper |
Arv | SparkRichEditableTextAutomationHelper Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Fler exempel
Metod | Definieras med | ||
---|---|---|---|
SparkRichEditableTextAutomationHelper(owner:IEventDispatcher, replayer:IAutomationObject, richEditableText:spark.components:RichEditableText)
Constructor. | SparkRichEditableTextAutomationHelper | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Records the user interaction with the text control. | SparkRichEditableTextAutomationHelper | ||
Replays TextEvens, Selection Event, and type events. | SparkRichEditableTextAutomationHelper | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
SparkRichEditableTextAutomationHelper | () | Konstruktor |
public function SparkRichEditableTextAutomationHelper(owner:IEventDispatcher, replayer:IAutomationObject, richEditableText:spark.components:RichEditableText)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
Parametrarowner:IEventDispatcher — The UIComponent that is using the TextField. For example, if a
TextArea is using the TextField, then the TextArea is the owner.
| |
replayer:IAutomationObject — The IAutomationObject of the component.
| |
richEditableText:spark.components:RichEditableText — The TextField object inside the component.
|
recordAutomatableEvent | () | metod |
public function recordAutomatableEvent(interaction:Event, cacheable:Boolean = false):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Records the user interaction with the text control.
Parametrar
interaction:Event — The event to record.
| |
cacheable:Boolean (default = false ) — Contains true if this is a cacheable event, and false if not.
|
replayAutomatableEvent | () | metod |
public function replayAutomatableEvent(event:Event):Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Replays TextEvens, Selection Event, and type events. TypeEvents and Text events are replayed depending on the character typed. Both dispatches the origin keystrokes. This is necessary to mimic the original behavior, in case any components are listening to keystroke events (for example, DataGrid listens to itemRenderer events, or if a custom component is trying to do key masking). In Halo, the text events were changing the contents using the text related methods as the flash player was ignoring the key evens. In Gumbo this is not the case, so for the text and type events, we need only to send the key strokes. dispatch the original keystrokes, but the Flash Player richEditableText ignores the events we are sending it.
Parametrar
event:Event — Event to replay.
|
Boolean — If true, replay the event.
|
Tue Jun 12 2018, 01:40 PM Z