Interface IDescribeElement2
interface IDescribeElement2
Extends IDescribeElement
Extended element description interface.
Methods
addWindow2()
Add theISetWindow2*addWindow2()
IWindow interface to this element.
Returns
ISetWindow2*
the ISetWindow2 interface
locale()
Set the locale for this element, which allows assistive technologies such as screen readers to invoke the correct pronunciation while presenting the element’s label, value, and hint. The value should be in the format of BCP 47. The BCP 47 language subtag is required. Other subtags are optional. For example, en is for English, and es-ES is for Spanish as spoken in Spain. If this property is not set, the locale of the element is considered as the same with the device locale.voidlocale(com.amazon.apmf.Locale*locale)
Parameters
locale
com.amazon.apmf.Locale* — Required
the locale of this element
removeLocale()
void removeLocale()
Remove the locale from this element.
addBusy()
Add theISetBusy*addBusy()
IBusy interface to this element.
Returns
ISetBusy*
the ISetBusy interface
removeBusy()
void removeBusy()
Remove the IBusy interface from this element.
addWeb()
Add theISetWeb*addWeb()
IWeb interface to this element.
Returns
ISetWeb*
the ISetWeb interface
removeWeb()
void removeWeb()
Remove the IWeb interface from this element.
text2()
Provide the on-screen text of this element. This list contains the text chunks displayed in this component. If the text is descriptive, and is not displayed on-screen, it should be set withvoidtext2(TextChunk2*[]text)
setDescription instead.
Parameters
text
TextChunk2*[] — Required
a list of TextChunk2 objects containing the on-screen text
of this element.
attributedDescription()
Set the description of this element with rich text information. This allows setting description text with language specification and semantic interpretation type for assistive technologies.voidattributedDescription(TextChunk2*description)
Parameters
description
TextChunk2* — Required
the rich text description of this element
removeAttributedDescription()
void removeAttributedDescription()
remove the attributed description from this element.
addLiveRegion2()
Add theISetLiveRegion2*addLiveRegion2()
ILiveRegion interface trait to this element.
Returns
ISetLiveRegion2*
the ISetLiveRegion2 interface
grouping()
Marks this element as a grouped accessibility item. When enabled, this element and all of its descendants are treated as a single logical accessibility item. Descendant elements:voidgrouping(boolenabled)
- are not individually focusable or touchable
- do not appear as separate nodes to assistive technologies
Parameters
enabled
bool — Required
true to treat this element and all descendants as a single
accessibility item; false to restore normal behavior.
removeGrouping()
void removeGrouping()
remove the grouping prop from this element.
addCollectionInfo2()
Add theISetCollectionInfo2*addCollectionInfo2()
ICollectionInfo interface to this element.
Returns
ISetCollectionInfo2*
the ISetCollectionInfo2 interface
addPane2()
Add theISetPane2*addPane2()
IPane interface to this element.
Returns
ISetPane2*
the ISetPane2 interface

