Linux Windows

  
[uuid(ed61e5cd-283a-42df-9599-765e0e27f4d9)]
interface nsPIAccessible : nsISupports

Attributes

 Return true if there are accessible children in anonymous content
readonly attribute boolean allowsAnonChildAccessibles

Methods

 Returns text of accessible if accessible has text role otherwise empty
 string.
void appendTextTo(out AString aString, in unsigned long aStartOffset, in unsigned long aLength)
 Fire accessible event.
void fireAccessibleEvent(in nsIAccessibleEvent aAccEvent)
 Maps ARIA state attributes to state of accessible. Note the given state
 argument should hold states for accessible before you pass it into this
 method.
 @param  in/out where to fill the states into.
void getARIAState(out unsigned long aState)
 Return first child accessible only if cached.
void getCachedFirstChild(out nsIAccessible aAccFirstChild)
 Return parent accessible only if cached.
void getCachedParent(out nsIAccessible aAccParent)
 Set the child count to -1 (unknown) and null out cached child pointers
void invalidateChildren()
 Set first accessible child.
void setFirstChild(in nsIAccessible aAccFirstChild)
 Set next sibling accessible.
void setNextSibling(in nsIAccessible aAccNextSibling)
 Set accessible parent.
void setParent(in nsIAccessible aAccParent)
 Set the ARIA role map entry for a new accessible.
 For a newly created accessible, specify which role map entry should be used.
 @param aRoleMapEntry The ARIA nsRoleMapEntry* for the accessible, or 
                      nsnull if none.
void setRoleMapEntry(in nsRoleMapEntryPtr aRoleMapEntry)
 Assert if child not in parent's cache.
void testChildCache(in nsIAccessible aCachedChild)