Pakket | spark.automation.delegates |
Klasse | public class SparkRichEditableTextAutomationHelper |
Overerving | SparkRichEditableTextAutomationHelper Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Meer voorbeelden
Methode | Gedefinieerd door | ||
---|---|---|---|
SparkRichEditableTextAutomationHelper(owner:IEventDispatcher, replayer:IAutomationObject, richEditableText:spark.components:RichEditableText)
Constructor. | SparkRichEditableTextAutomationHelper | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Records the user interaction with the text control. | SparkRichEditableTextAutomationHelper | ||
Replays TextEvens, Selection Event, and type events. | SparkRichEditableTextAutomationHelper | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
SparkRichEditableTextAutomationHelper | () | Constructor |
public function SparkRichEditableTextAutomationHelper(owner:IEventDispatcher, replayer:IAutomationObject, richEditableText:spark.components:RichEditableText)
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Constructor.
Parametersowner: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 | () | methode |
public function recordAutomatableEvent(interaction:Event, cacheable:Boolean = false):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Records the user interaction with the text control.
Parameters
interaction:Event — The event to record.
| |
cacheable:Boolean (default = false ) — Contains true if this is a cacheable event, and false if not.
|
replayAutomatableEvent | () | methode |
public function replayAutomatableEvent(event:Event):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | 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.
Parameters
event:Event — Event to replay.
|
Boolean — If true, replay the event.
|
Wed Jun 13 2018, 11:42 AM Z