Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
spark.automation.delegates 

SparkRichEditableTextAutomationHelper  - AS3 Flex

Pacotespark.automation.delegates
Classepublic class SparkRichEditableTextAutomationHelper
HerançaSparkRichEditableTextAutomationHelper Inheritance Object

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 4
Versões de runtime: Flash Player 9, AIR 1.1

Utility class that facilitates replay of text input and selection.

Mais exemplos



Propriedades públicas
 PropriedadeDefinido por
 Inheritedconstructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto.
Object
Métodos públicos
 MétodoDefinido por
  
Constructor.
SparkRichEditableTextAutomationHelper
 Inherited
Indica se um objeto tem uma propriedade especificada definida.
Object
 Inherited
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro.
Object
 Inherited
Indica se a propriedade especificada existe e é enumerável.
Object
  
recordAutomatableEvent(interaction:Event, cacheable:Boolean = false):void
Records the user interaction with the text control.
SparkRichEditableTextAutomationHelper
  
Replays TextEvens, Selection Event, and type events.
SparkRichEditableTextAutomationHelper
 Inherited
Define a disponibilidade de uma propriedade dinâmica para operações de repetição.
Object
 Inherited
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade.
Object
 Inherited
Retorna a representação de string do objeto especificado.
Object
 Inherited
Retorna o valor primitivo do objeto especificado.
Object
Detalhes do construtor

SparkRichEditableTextAutomationHelper

()Construtor
public function SparkRichEditableTextAutomationHelper(owner:IEventDispatcher, replayer:IAutomationObject, richEditableText:spark.components:RichEditableText)

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 4
Versões de runtime: Flash Player 9, AIR 1.1

Constructor.

Parâmetros
owner: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.
Detalhes do método

recordAutomatableEvent

()método
public function recordAutomatableEvent(interaction:Event, cacheable:Boolean = false):void

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 4
Versões de runtime: Flash Player 9, AIR 1.1

Records the user interaction with the text control.

Parâmetros

interaction:Event — The event to record.
 
cacheable:Boolean (default = false) — Contains true if this is a cacheable event, and false if not.

replayAutomatableEvent

()método 
public function replayAutomatableEvent(event:Event):Boolean

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 4
Versões de runtime: 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.

Parâmetros

event:Event — Event to replay.

Retorna
Boolean — If true, replay the event.




[ X ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.