Paket | spark.accessibility |
Klass | public class RichEditableTextAccImpl |
Arv | RichEditableTextAccImpl AccImpl AccessibilityImplementation Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
When a Spark RichEditableText is created,
its accessibilityImplementation
property
is set to an instance of this class.
The Flash Player then uses this class to allow MSAA clients
such as screen readers to see and manipulate the RichEditableText.
See the mx.accessibility.AccImpl and
flash.accessibility.AccessibilityImplementation classes
for background information about accessibility implementation
classes and MSAA.
Children
A RichEditableText has no MSAA children.
Role
The MSAA Role of a RichEditableText is ROLE_SYSTEM_TEXT.
Name
The MSAA Name of a RichEditableText is, by default, the empty string.
When wrapped in a FormItem element, the Name is the FormItem's label.
To override this behavior,
set the RichEditableText's accessibilityName
property.
When the Name changes, a RichEditableText dispatches the MSAA event EVENT_OBJECT_NAMECHANGE.
Description
The MSAA Description of a RichEditableText is, by default,
the empty string, but you can set the RichEditableText's
accessibilityDescription
property.
State
The MSAA State of a RichEditableText is a combination of:
- STATE_SYSTEM_UNAVAILABLE (when enabled is false)
- STATE_SYSTEM_FOCUSABLE (when enabled is true)
- STATE_SYSTEM_FOCUSED (when enabled is true and the RichEditableText has focus)
- STATE_SYSTEM_PROTECTED (when displayAsPassword is true)
- STATE_SYSTEM_READONLY (when editable is false)
When the State changes, a RichEditableText dispatches the MSAA event EVENT_OBJECT_STATECHANGE.
Value
The MSAA Value of a RichEditableText is equal to
its text
property.
When the Value changes, a RichEditableText dispatches the MSAA event EVENT_OBJECT_VALUECHANGE.
Location
The MSAA Location of a RichEditableText is its bounding rectangle.
Default Action
A RichEditableText does not have an MSAA DefaultAction.
Focus
A RichEditableText accepts focus. When it does so it dispatches the MSAA event EVENT_OBJECT_FOCUS.
Selection
A RichEditableText does not support selection in the MSAA sense,
and text selection is not part of Microsoft's IAccessibility COM interface.
But, in Player 10.1 and later, screen readers can determine
the currently selected text range via the GetSelection()
method
in Adobe's ISimpleTextSelection COM interface, which calls the
selectionAnchorIndex
and selectionActiveIndex
getters in this class.
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
errno : uint
Anger en felkod. | AccessibilityImplementation | ||
selectionActiveIndex : int [skrivskyddad]
A character position, relative to the beginning of the
text String of the RichEditableText,
specifying the end of the selection
that moves when the selection is extended with the arrow keys. | RichEditableTextAccImpl | ||
selectionAnchorIndex : int [skrivskyddad]
A character position, relative to the beginning of the
text String of the RichEditableText,
specifying the end of the selection
that stays fixed when the selection is extended with the arrow keys. | RichEditableTextAccImpl | ||
stub : Boolean
Används för att skapa en komponenthjälpmedels-stub. | AccessibilityImplementation |
Metod | Definieras med | ||
---|---|---|---|
RichEditableTextAccImpl(master:UIComponent)
Constructor. | RichEditableTextAccImpl | ||
En IAccessible-metod som utför standardåtgärden som är associerad med komponenten som denna AccessibilityImplementation representerar eller ett av dess underordnade element. | AccessibilityImplementation | ||
Metoden MSAA för att returnera ett DisplayObject eller Rectangle som anger begränsningsramen för ett underordnat element i AccessibilityImplementation. | AccessibilityImplementation | ||
Metoden IAccessible för att ändra markeringen i komponenten som denna AccessibilityImplementation representerar. | AccessibilityImplementation | ||
[statisk]
Enables accessibility in the RichEditableText class. | RichEditableTextAccImpl | ||
MSAA-metod för att returnera standardåtgärden för komponenten som denna AccessibilityImplementation representerar eller för ett av dess underordnade element. | AccessibilityImplementation | ||
MSAA-metod för att returnera eventuellt heltals-ID utan tecken för det underordnade elementet, som har underordnat fokus inom komponenten. | AccessibilityImplementation | ||
MSAA-metod för att returnera namnet på komponenten som denna AccessibilityImplementation representerar eller för ett av dess underordnade element. | AccessibilityImplementation | ||
MSAA-metod för att returnera systemrollen för komponenten som denna AccessibilityImplementation representerar eller för ett av dess underordnade element. | AccessibilityImplementation | ||
MSAA-metod för att returnera en matris som innehåller ID:n för alla underordnade element som är markerade. | AccessibilityImplementation | ||
IAccessible-metod för att returnera det aktuella körningsläget för komponenten som denna AccessibilityImplementation representerar eller ett av dess underordnade element. | AccessibilityImplementation | ||
MSAA-metod för att returnera körtidsvärdet för komponenten som denna AccessibilityImplementation representerar eller för ett av dess underordnade element. | AccessibilityImplementation | ||
AccessibilityImplementation | |||
AccessibilityImplementation | |||
Returnerar en matris som innehåller heltals-ID:n utan tecken för alla underordnade element i AccessibilityImplementation. | AccessibilityImplementation | ||
[statisk]
Method for supporting Form Accessibility. | AccImpl | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
[statisk]
Returns true if an ancestor of the component has enabled set to false. | AccImpl | ||
Returnerar true eller false för att ange om ett textobjekt som har en begränsningsram som anges med x, y, width och height, ska anses som en etikett för komponenten som denna AccessibilityImplementation representerar. | AccessibilityImplementation | ||
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 | ||
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 |
selectionActiveIndex | egenskap |
selectionActiveIndex:int
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 10.1, AIR 2.0 |
A character position, relative to the beginning of the
text
String of the RichEditableText,
specifying the end of the selection
that moves when the selection is extended with the arrow keys.
The active position may be either the start or the end of the selection.
For example, if you drag-select from position 12 to position 8,
then selectionAnchorPosition
will be 12
and selectionActivePosition
will be 8,
and when you press Left-Arrow selectionActivePosition
will become 7.
A value of -1 indicates "not set".
In Player 10.1 and later, and AIR 2.0 and later,
an AccessibilityImplementation can implement
selectionAnchorIndex
and selectionAnchorIndex
in order to make an accessibility client aware of the text selection
in TLF text via Adobe's ISimpleTextSelection COM interface.
Standardvärdet är -1.
Implementering
public function get selectionActiveIndex():int
Relaterade API-element
selectionAnchorIndex | egenskap |
selectionAnchorIndex:int
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 10.1, AIR 2.0 |
A character position, relative to the beginning of the
text
String of the RichEditableText,
specifying the end of the selection
that stays fixed when the selection is extended with the arrow keys.
The anchor position may be either the start or the end of the selection.
For example, if you drag-select from position 12 to position 8,
then selectionAnchorPosition
will be 12
and selectionActivePosition
will be 8,
and when you press Left-Arrow selectionActivePosition
will become 7.
A value of -1 indicates "not set".
In Player 10.1 and later, and AIR 2.0 and later,
an AccessibilityImplementation can implement
selectionAnchorIndex
and selectionAnchorIndex
in order to make an accessibility client aware of the text selection
in TLF text via Adobe's ISimpleTextSelection COM interface.
Standardvärdet är -1.
Implementering
public function get selectionAnchorIndex():int
Relaterade API-element
RichEditableTextAccImpl | () | Konstruktor |
public function RichEditableTextAccImpl(master:UIComponent)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Constructor.
Parametrarmaster:UIComponent — The UIComponent instance that this AccImpl instance
is making accessible.
|
enableAccessibility | () | metod |
public static function enableAccessibility():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Enables accessibility in the RichEditableText class.
This method is called by application startup code
that is autogenerated by the MXML compiler.
Afterwards, when instances of RichEditableText are initialized,
their accessibilityImplementation
property
will be set to an instance of this class.
Tue Jun 12 2018, 01:40 PM Z