Interface IDescribeElement
interface IDescribeElement
Extends com.amazon.apmf.IStandard
An interface that allows describing an element.
Use this interface when publishing UCC metadata for elements, and when
describing elements in a IChangesetFilter.
Methods
testId()
Set the test ID of this element.voidtestId(stringid)
Parameters
id
string — Required
the test ID
removeTestId()
void removeTestId()
Remove the test ID from this element.
names()
Provide a list of names for this element This is a list of human or machine readable names for the object.voidnames(string[]names)
Parameters
names
string[] — Required
the list of names for this element
removeNames()
void removeNames()
remove the names from this element.
text()
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 withvoidtext(TextChunk[]text)
setDescription instead.
This method is deprecated. Replaced by
IDescribeElement2::text2.
Parameters
text
TextChunk[] — Required
a list of TextChunk objects containing the on-screen text of
this element.
removeText()
void removeText()
Remove the text from this element.
description()
Set the description of this element. This is a string containing a human-readable localized description of the element. It should never contain the element’s on-screen text. For components such as images, this string should provide a meaningful short description of the element. For components which have on-screen text, description may be left blank, and the text should be provided in thevoiddescription(stringdescription)
text properties.
Parameters
description
string — Required
the description of this element
removeDescription()
void removeDescription()
Remove the description from this element.
role()
Sets the role of this element. The role provides further descriptive information, beyond what can be derived from the presence or absence of various accessibility interfaces alone. The value must be a constant defined invoidrole(Role*role)
Role.
Parameters
role
Role* — Required
the role of the element
removeRole()
void removeRole()
Remove the role from this element.
addAdjustable()
Add theISetAdjustable*addAdjustable()
IAdjustable interface to this element.
Returns
ISetAdjustable*
the ISetAdjustable interface
removeAdjustable()
void removeAdjustable()
Remove the IAdjustable interface from this element.
addCheckable()
Add theISetCheckable*addCheckable()
ICheckable interface to this element.
Returns
ISetCheckable*
the ISetCheckable interface
removeCheckable()
void removeCheckable()
Remove the ICheckable interface from this element.
addCollectionInfo()
Add theISetCollectionInfo*addCollectionInfo()
ICollectionInfo interface to this element.
This method is deprecated. Replaced by
IDescribeElement2::addCollectionInfo2.
Returns
ISetCollectionInfo*
the ISetCollectionInfo interface
removeCollectionInfo()
void removeCollectionInfo()
Remove the ICollectionInfo interface from this element.
addCollectionItemInfo()
Add theISetCollectionItemInfo*addCollectionItemInfo()
ICollectionItemInfo interface to this element.
Returns
ISetCollectionItemInfo*
the ISetCollectionItemInfo interface
removeCollectionItemInfo()
void removeCollectionItemInfo()
Remove the ICollectionItemInfo interface from this element.
removeCompoundComponent()
void removeCompoundComponent()
Remove the ICompoundComponent interface from this element.
addContainer()
Add theISetContainer*addContainer()
IContainer interface to this element.
Returns
ISetContainer*
the ISetContainer interface
removeContainer()
void removeContainer()
Remove the IContainer interface from this element.
addEditable()
Adds theISetEditable*addEditable()
IEditable interface to this element.
Returns
ISetEditable*
the ISetEditable interface
removeEditable()
void removeEditable()
Remove the IEditable interface from this component.
addEnableable()
Add theISetEnableable*addEnableable()
IEnableable interface to this element.
Returns
ISetEnableable*
the ISetEnableable interface
removeEnableable()
void removeEnableable()
Remove the IEnableable interface from this component.
addExpandable()
Add theISetExpandable*addExpandable()
IExpandable interface to this element.
Returns
ISetExpandable*
the ISetExpandable interface
removeExpandable()
void removeExpandable()
Remove the IExpandable interface from this element.
addFocusable()
Add theISetFocusable*addFocusable()
IFocusable interface to this element.
Returns
ISetFocusable*
the ISetFocusable interface
removeFocusable()
void removeFocusable()
Removes the IFocusable interface from this element.
addHeading()
Add theISetHeading*addHeading()
IHeading interface to this element.
Returns
ISetHeading*
the ISetHeading interface
removeHeading()
void removeHeading()
Remove the IHeading interface from this element.
addHidden()
Add theISetHidden*addHidden()
IHidden interface to this element.
Returns
ISetHidden*
the ISetHidden interface
removeHidden()
void removeHidden()
Remove the IHidden interface from this element.
addHints()
Add theISetHints*addHints()
IHints interface to this element.
Returns
ISetHints*
the ISetHints interface
removeHints()
void removeHints()
Remove the IHints interface from this element.
addLiveRegion()
Add theISetLiveRegion*addLiveRegion()
ILiveRegion interface trait to this element.
This method is deprecated. Replaced by
IDescribeElement2::addLiveRegion2.
Returns
ISetLiveRegion*
the ISetLiveRegion interface
removeLiveRegion()
void removeLiveRegion()
Remove the ILiveRegion interface from this element.
addPageable()
Add theISetPageable*addPageable()
IPageable interface to this element.
Returns
ISetPageable*
the ISetPageable interface
removePageable()
void removePageable()
Remove the IPageable interface from this element.
addPane()
Add theISetPane*addPane()
IPane interface to this element.
This method is deprecated. Replaced by
IDescribeElement2::addPane2.
Returns
ISetPane*
the ISetPane interface
removePane()
void removePane()
Remove the IPane interface from this element.
addRelationships()
Add theISetRelationships*addRelationships()
IRelationships interface to this element.
Returns
ISetRelationships*
the ISetRelationships interface
removeRelationships()
void removeRelationships()
Remove the IRelationships interface from this element.
addScrollable()
Add theISetScrollable*addScrollable()
IScrollable interface to this element.
Returns
ISetScrollable*
the ISetScrollable interface
removeScrollable()
void removeScrollable()
Remove the IScrollable interface from this element.
addSelectable()
Add theISetSelectable*addSelectable()
ISelectable interface to this element.
Returns
ISetSelectable*
the ISetSelectable interface
removeSelectable()
void removeSelectable()
Remove the ISelectable interface from this element.
addSwitchable()
Add theISetSwitchable*addSwitchable()
ISwitchable interface to this element.
Returns
ISetSwitchable*
the ISetSwitchable interface
removeSwitchable()
void removeSwitchable()
Remove the ISwitchable interface from this element.
addValue()
Add theISetValue*addValue()
IValue interface to this element.
Returns
ISetValue*
the ISetValue interface
removeValue()
void removeValue()
Remove the IValue interface from this element.
addVisibility()
Add theISetVisibility*addVisibility()
IVisibility interface to this element.
Returns
ISetVisibility*
the ISetVisibility interface
removeVisibility()
void removeVisibility()
Remove the IVisibility interface from this element.
addVoiceAssistant()
Add theISetVoiceAssistant*addVoiceAssistant()
IVoiceAssistant interface to this element.
Returns
ISetVoiceAssistant*
the ISetVoiceAssistant interface
removeVoiceAssistant()
void removeVoiceAssistant()
Remove the IVoiceAssistant interface from this element.
addWindow()
Add theISetWindow*addWindow()
IWindow interface to this element.
This method is deprecated. Replaced by
IDescribeElement2::addWindow2.
Returns
ISetWindow*
the ISetWindow interface
removeWindow()
void removeWindow()
Remove the IWindow interface from this element.
addActions()
Add a list of actions to an elementvoidaddActions(IAction*[]actions)
Parameters
actions
IAction*[] — Required
the list of the actions to add
removeAction()
Remove an action from an elementvoidremoveAction(stringname)
Parameters
name
string — Required
the name of the action to remove
removeAllActions()
void removeAllActions()
Remove all actions from an element

