Interface ISetRelationships
interface ISetRelationships
Extends com.amazon.apmf.IStandard
This interface allows a publisher to describe how this element is related to
other elements.
Methods
labelFor()
Set the ID of the element for which this component is a label.voidlabelFor(ElementIdid)
Parameters
id
ElementId — Required
the ID of the element for which this component is a label.
labeledBy()
Set the ID of the element which serves as this element’s label.voidlabeledBy(ElementIdid)
Parameters
id
ElementId — Required
the ID of the element that labels this one.
describedBy()
Set a list of elements which describe this one.voiddescribedBy(ElementId[]ids)
Parameters
ids
ElementId[] — Required
a list of IDs of elements which describe this one.
descriptionFor()
Set the ID of the element this one describes.voiddescriptionFor(ElementIdid)
Parameters
id
ElementId — Required
the ID of the element this element describes.
errorMessage()
Set the ID of the element that displays an error message that is relevant to this component. For example, if a full-screen keyboard is prompting for a password, an error message somewhere else on the screen might indicate that the wrong password was entered.voiderrorMessage(ElementIdid)
Parameters
id
ElementId — Required
the ID of the element which displays the error message.

