Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions

nsXULComboboxAccessible Class Reference

#include <nsXULSelectAccessible.h>

Inheritance diagram for nsXULComboboxAccessible:

nsAccessibleWrap IAccessible2

List of all members.

Detailed Description

------------------------------------------------------ Finally, the Combobox widgets ------------------------------------------------------

Definition at line 175 of file nsXULSelectAccessible.h.

Public Types

enum  { eAction_Click = 0 }

Public Member Functions

virtual HRESULT STDMETHODCALLTYPE accDoDefaultAction (VARIANT varChild)
virtual HRESULT STDMETHODCALLTYPE accHitTest (long xLeft, long yTop, VARIANT __RPC_FAR *pvarChild)
virtual HRESULT STDMETHODCALLTYPE accLocation (long __RPC_FAR *pxLeft, long __RPC_FAR *pyTop, long __RPC_FAR *pcxWidth, long __RPC_FAR *pcyHeight, VARIANT varChild)
virtual HRESULT STDMETHODCALLTYPE accNavigate (long navDir, VARIANT varStart, VARIANT __RPC_FAR *pvarEndUpAt)
virtual HRESULT STDMETHODCALLTYPE accSelect (long flagsSelect, VARIANT varChild)
void addChildToSelection (in long index)
void appendTextTo (out AString aString, in unsigned long aStartOffset, in unsigned long aLength)
void clearSelection ()
virtual HRESULT STDMETHODCALLTYPE doAction (long actionIndex)
void doAction (in PRUint8 index)
NS_IMETHOD DoAction (PRUint8 index)
void extendSelection ()
void fireAccessibleEvent (in nsIAccessibleEvent aAccEvent)
NS_IMETHOD FireAccessibleEvent (nsIAccessibleEvent *aEvent)
NS_IMETHOD FireAccessibleEvent (nsIAccessibleEvent *aEvent)
NS_IMETHOD FireAccessibleEvent (nsIAccessibleEvent *aEvent)
void fireToolkitEvent (in unsigned long aEvent, in nsIAccessible aTarget)
virtual HRESULT STDMETHODCALLTYPE get_accChild (VARIANT varChild, IDispatch __RPC_FAR *__RPC_FAR *ppdispChild)
virtual HRESULT STDMETHODCALLTYPE get_accChildCount (long __RPC_FAR *pcountChildren)
virtual HRESULT STDMETHODCALLTYPE get_accDefaultAction (VARIANT varChild, BSTR __RPC_FAR *pszDefaultAction)
virtual HRESULT STDMETHODCALLTYPE get_accDescription (VARIANT varChild, BSTR __RPC_FAR *pszDescription)
virtual HRESULT STDMETHODCALLTYPE get_accHelp (VARIANT varChild, BSTR __RPC_FAR *pszHelp)
virtual HRESULT STDMETHODCALLTYPE get_accHelpTopic (BSTR __RPC_FAR *pszHelpFile, VARIANT varChild, long __RPC_FAR *pidTopic)
virtual HRESULT STDMETHODCALLTYPE get_accKeyboardShortcut (VARIANT varChild, BSTR __RPC_FAR *pszKeyboardShortcut)
virtual HRESULT STDMETHODCALLTYPE get_accName (VARIANT varChild, BSTR __RPC_FAR *pszName)
virtual HRESULT STDMETHODCALLTYPE get_accParent (IDispatch __RPC_FAR *__RPC_FAR *ppdispParent)
virtual HRESULT STDMETHODCALLTYPE get_accSelection (VARIANT __RPC_FAR *pvarChildren)
virtual HRESULT STDMETHODCALLTYPE get_accState (VARIANT varChild, VARIANT __RPC_FAR *pvarState)
virtual HRESULT STDMETHODCALLTYPE get_accValue (VARIANT varChild, BSTR __RPC_FAR *pszValue)
virtual HRESULT STDMETHODCALLTYPE get_anchor (long index, VARIANT *anchor)
virtual HRESULT STDMETHODCALLTYPE get_anchorTarget (long index, VARIANT *anchorTarget)
virtual HRESULT STDMETHODCALLTYPE get_attributes (unsigned short maxAttribs, BSTR __RPC_FAR *attribNames, short __RPC_FAR *nameSpaceID, BSTR __RPC_FAR *attribValues, unsigned short __RPC_FAR *numAttribs)
virtual HRESULT STDMETHODCALLTYPE get_attributes (BSTR *attributes)
virtual HRESULT STDMETHODCALLTYPE get_attributesForNames (unsigned short maxAttribs, BSTR __RPC_FAR *attribNames, short __RPC_FAR *nameSpaceID, BSTR __RPC_FAR *attribValues)
virtual HRESULT STDMETHODCALLTYPE get_background (IA2Color *background)
virtual HRESULT STDMETHODCALLTYPE get_childAt (unsigned childIndex, ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_computedStyle (unsigned short maxStyleProperties, boolean useAlternateView, BSTR __RPC_FAR *styleProperties, BSTR __RPC_FAR *styleValues, unsigned short __RPC_FAR *numStyleProperties)
virtual HRESULT STDMETHODCALLTYPE get_computedStyleForProperties (unsigned short numStyleProperties, boolean useAlternateView, BSTR __RPC_FAR *styleProperties, BSTR __RPC_FAR *styleValues)
virtual HRESULT STDMETHODCALLTYPE get_currentValue (VARIANT *currentValue)
virtual HRESULT STDMETHODCALLTYPE get_description (long actionIndex, BSTR *description)
virtual HRESULT STDMETHODCALLTYPE get_endIndex (long *index)
virtual HRESULT STDMETHODCALLTYPE get_extendedRole (BSTR *extendedRole)
virtual HRESULT STDMETHODCALLTYPE get_extendedStates (long maxExtendedStates, BSTR **extendedStates, long *nExtendedStates)
virtual HRESULT STDMETHODCALLTYPE get_firstChild (ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_foreground (IA2Color *foreground)
virtual HRESULT STDMETHODCALLTYPE get_groupPosition (long *groupLevel, long *similarItemsInGroup, long *positionInGroup)
virtual HRESULT STDMETHODCALLTYPE get_indexInParent (long *indexInParent)
virtual HRESULT STDMETHODCALLTYPE get_keyBinding (long actionIndex, long nMaxBinding, BSTR **keyBinding, long *nBinding)
virtual HRESULT STDMETHODCALLTYPE get_language (BSTR __RPC_FAR *language)
virtual HRESULT STDMETHODCALLTYPE get_lastChild (ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_locale (IA2Locale *locale)
virtual HRESULT STDMETHODCALLTYPE get_localInterface (void __RPC_FAR *__RPC_FAR *localInterface)
virtual HRESULT STDMETHODCALLTYPE get_localizedExtendedRole (BSTR *localizedExtendedRole)
virtual HRESULT STDMETHODCALLTYPE get_localizedExtendedStates (long maxLocalizedExtendedStates, BSTR **localizedExtendedStates, long *nLocalizedExtendedStates)
virtual HRESULT STDMETHODCALLTYPE get_localizedName (long actionIndex, BSTR *localizedName)
virtual HRESULT STDMETHODCALLTYPE get_locationInParent (long *x, long *y)
virtual HRESULT STDMETHODCALLTYPE get_maximumValue (VARIANT *maximumValue)
virtual HRESULT STDMETHODCALLTYPE get_minimumValue (VARIANT *minimumValue)
virtual HRESULT STDMETHODCALLTYPE get_name (long actionIndex, BSTR *name)
virtual HRESULT STDMETHODCALLTYPE get_nExtendedStates (long *nExtendedStates)
virtual HRESULT STDMETHODCALLTYPE get_nextSibling (ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_nodeInfo (BSTR __RPC_FAR *tagName, short __RPC_FAR *nameSpaceID, BSTR __RPC_FAR *nodeValue, unsigned int __RPC_FAR *numChildren, unsigned int __RPC_FAR *aUniqueID, unsigned short __RPC_FAR *nodeType)
virtual HRESULT STDMETHODCALLTYPE get_nRelations (long *nRelations)
virtual HRESULT STDMETHODCALLTYPE get_parentNode (ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_previousSibling (ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_relation (long relationIndex, IAccessibleRelation **relation)
virtual HRESULT STDMETHODCALLTYPE get_relations (long maxRelations, IAccessibleRelation **relation, long *nRelations)
virtual HRESULT STDMETHODCALLTYPE get_startIndex (long *index)
virtual HRESULT STDMETHODCALLTYPE get_states (AccessibleStates *states)
virtual HRESULT STDMETHODCALLTYPE get_uniqueID (long *uniqueID)
virtual HRESULT STDMETHODCALLTYPE get_valid (boolean *valid)
virtual HRESULT STDMETHODCALLTYPE get_windowHandle (HWND *windowHandle)
nsIAccessible getAccessibleAbove ()
nsIAccessible getAccessibleBelow ()
nsIAccessible getAccessibleRelated (in unsigned long aRelationType)
nsIAccessible getAccessibleToLeft ()
nsIAccessible getAccessibleToRight ()
AString getActionDescription (in PRUint8 aIndex)
AString getActionName (in PRUint8 index)
NS_IMETHOD GetActionName (PRUint8 index, nsAString &aName)
NS_IMETHOD GetAllowsAnonChildAccessibles (PRBool *aAllowsAnonChildren)
nsIAccessible getAnchor (in long index)
void getARIAState (out unsigned long aState)
AtkObject * GetAtkObject (void)
virtual nsresult GetAttributesInternal (nsIPersistentProperties *aAttributes)
void getBounds (out long x, out long y, out long width, out long height)
void getCachedFirstChild (out nsIAccessible aAccFirstChild)
void getCachedParent (out nsIAccessible aAccParent)
nsIAccessible getChildAt (in long aChildIndex)
nsIAccessible getChildAtPoint (in long x, in long y)
nsIAccessNode getChildNodeAt (in long childNum)
CLSID GetClassID () const
nsIDOMCSSPrimitiveValue getComputedStyleCSSValue (in DOMString pseudoElt, in DOMString propertyName)
DOMString getComputedStyleValue (in DOMString pseudoElt, in DOMString propertyName)
already_AddRefed< nsIDOMNodeGetCurrentFocus ()
NS_IMETHOD GetDescription (nsAString &aDescription)
void getFinalState (out unsigned long aState, out unsigned long aExtraState)
nsIFrame GetFrame ()
STDMETHODIMP GetIDsOfNames (REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
nsIDOMDOMStringList getKeyBindings (in PRUint8 aActionIndex)
MaiHyperlink * GetMaiHyperlink (PRBool aCreate=PR_TRUE)
void getNativeInterface (out voidPtr aOutAccessible)
NS_IMETHOD GetNativeInterface (void **aOutAccessible)
NS_IMETHOD GetNativeInterface (void **aOutAccessible)
NS_IMETHOD GetNativeInterface (void **aOutAccessible)
virtual objc_class * GetNativeType ()
void GetNativeWindow (void **aOutNativeWindow)
NS_IMETHOD GetNumActions (PRUint8 *aNumActions)
already_AddRefed< nsIAccessibleGetParent ()
nsIAccessibleRelation getRelation (in unsigned long index)
nsIArray getRelations ()
NS_IMETHOD GetRole (PRUint32 *_retval)
< nsRootAccessible > 
GetRootAccessible ()
nsIArray GetSelectedChildren ()
NS_IMETHOD GetState (PRUint32 *aState, PRUint32 *aExtraState)
STDMETHODIMP GetTypeInfo (UINT i, LCID lcid, ITypeInfo **ppti)
PRInt32 GetUnignoredChildCount (PRBool aDeepCount)
void GetUnignoredChildren (nsTArray< nsRefPtr< nsAccessibleWrap > > &aChildrenArray)
virtual already_AddRefed
< nsIAccessible
GetUnignoredParent ()
nsIURI getURI (in long index)
NS_IMETHOD GetValue (nsAString &_retval)
virtual void GetXPAccessibleFor (const VARIANT &aVarChild, nsIAccessible **aXPAccessible)
void groupPosition (out long aGroupLevel, out long aSimilarItemsInGroup, out long aPositionInGroup)
PRBool HasPopup ()
void init ()
void invalidateChildren ()
virtual nsresult InvalidateChildren ()
STDMETHODIMP Invoke (DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
boolean isChildSelected (in long index)
virtual PRBool IsDefunct ()
PRBool IsIgnored ()
PRBool IsValidObject ()
virtual HRESULT STDMETHODCALLTYPE nActions (long *nActions)
 nsXULComboboxAccessible (nsIDOMNode *aDOMNode, nsIWeakReference *aShell)
virtual HRESULT STDMETHODCALLTYPE put_accName (VARIANT varChild, BSTR szName)
virtual HRESULT STDMETHODCALLTYPE put_accValue (VARIANT varChild, BSTR szValue)
STDMETHODIMP QueryInterface (REFIID, void **)
voidPtr queryNativeInterface ([const ] in MSCOMIIDRef aIID)
STDMETHODIMP QueryService (REFGUID guidService, REFIID riid, void **ppv)
nsIAccessible refSelection (in long index)
void removeChildFromSelection (in long index)
virtual HRESULT STDMETHODCALLTYPE role (long *role)
 Returns the role of an IAccessible2 object.
void scrollTo (in unsigned long aScrollType)
virtual HRESULT STDMETHODCALLTYPE scrollTo (boolean scrollTopLeft)
virtual HRESULT STDMETHODCALLTYPE scrollTo (enum IA2ScrollType scrollType)
 Makes an object visible on the screen.
void scrollToPoint (in unsigned long aCoordinateType, in long aX, in long aY)
virtual HRESULT STDMETHODCALLTYPE scrollToPoint (enum IA2CoordinateType coordinateType, long x, long y)
 Moves the top left of an object to a specified location.
boolean selectAllSelection ()
void setFirstChild (in nsIAccessible aAccFirstChild)
void SetMaiHyperlink (MaiHyperlink *aMaiHyperlink)
void setNextSibling (in nsIAccessible aAccNextSibling)
void setParent (in nsIAccessible aAccParent)
void setRoleMapEntry (in nsRoleMapEntryPtr aRoleMapEntry)
void setSelected (in boolean isSelected)
void shutdown ()
virtual nsresult Shutdown ()
NS_IMETHOD Shutdown ()
void ShutdownAtkObject ()
void takeFocus ()
void takeSelection ()
void testChildCache (in nsIAccessible aCachedChild)
void UpdateSystemCaret ()
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Static Public Member Functions

static STDMETHODIMP AccessibleObjectFromWindow (HWND hwnd, DWORD dwObjectID, REFIID riid, void **ppvObject)
static void ClearCache (nsAccessNodeHashtable &aCache)
static PLDHashOperator PR_CALLBACK ClearCacheEntry (const void *aKey, nsCOMPtr< nsIAccessNode > &aAccessNode, void *aUserArg)
static int FilterA11yExceptions (unsigned int aCode, EXCEPTION_POINTERS *aExceptionInfo)
static nsIAccessibilityService * GetAccService ()
static already_AddRefed
< nsApplicationAccessibleWrap > 
GetApplicationAccessible ()
static AtkObject * GetAtkObject (nsIAccessible *acc)
static void GetCacheEntry (nsAccessNodeHashtable &aCache, void *aUniqueID, nsIAccessNode **aAccessNode)
static PRInt32 GetChildIDFor (nsIAccessible *aAccessible)
static void GetComputedStyleDeclaration (const nsAString &aPseudoElt, nsIDOMElement *aElement, nsIDOMCSSStyleDeclaration **aCssDecl)
static already_AddRefed
< nsIAccessibleDocument
GetDocAccessibleFor (nsIDOMNode *aNode)
static already_AddRefed
< nsIAccessibleDocument
GetDocAccessibleFor (nsIDocShellTreeItem *aContainer, PRBool aCanCreate=PR_FALSE)
static already_AddRefed
< nsIAccessibleDocument
GetDocAccessibleFor (nsIWeakReference *aWeakShell)
static already_AddRefed
< nsIAccessibleDocument
GetDocAccessibleFor (nsIDocument *aDocument)
static already_AddRefed
< nsIDOMNode
GetDOMNodeForContainer (nsISupports *aContainer)
static HWND GetHWNDFor (nsIAccessible *aAccessible)
static already_AddRefed
< nsIPresShell > 
GetPresShellFor (nsIDOMNode *aStartNode)
static nsIContentGetRoleContent (nsIDOMNode *aDOMNode)
static void InitAccessibility ()
static void InitAccessibility ()
static void InitAccessibility ()
static void InitAccessibility ()
InitXPAccessibility ()
static PRBool IsCorrectFrameType (nsIFrame *aFrame, nsIAtom *aAtom)
static PRBool IsEmbeddedObject (nsIAccessible *aAcc)
static PRBool IsLeaf (nsIAccessible *aAcc)
static PRBool IsNodeRelevant (nsIDOMNode *aNode)
static PRBool IsText (nsIAccessible *aAcc)
static PRBool MustPrune (nsIAccessible *aAccessible)
static IDispatch * NativeAccessible (nsIAccessible *aXPAccessible)
static STDMETHODIMP NotifyWinEvent (DWORD event, HWND hwnd, LONG idObjectType, LONG idObject)
static void PutCacheEntry (nsAccessNodeHashtable &aCache, void *aUniqueID, nsIAccessNode *aAccessNode)
static const char * ReturnString (nsAString &aString)
static PRUint32 Role (nsIAccessible *aAcc)
static void ShutdownAccessibility ()
static void ShutdownAccessibility ()
static void ShutdownAccessibility ()
static void ShutdownAccessibility ()
static void ShutdownXPAccessibility ()
static PRUint32 State (nsIAccessible *aAcc)
static PRInt32 TextLength (nsIAccessible *aAccessible)

Public Attributes

readonly attribute
readonly attribute boolean allowsAnonChildAccessibles
readonly attribute long anchorCount
readonly attribute
readonly attribute long childCount
readonly attribute nsIArray children
attribute double currentValue
readonly attribute AString defaultKeyBinding
readonly attribute AString description
readonly attribute nsIDOMNode DOMNode
readonly attribute long endIndex
const unsigned long eSelection_Add = 0
const unsigned long eSelection_GetState = 2
const unsigned long eSelection_Remove = 1
readonly attribute unsigned long finalRole
readonly attribute nsIAccessible firstChild
readonly attribute nsIAccessNode firstChildNode
readonly attribute nsIAccessible focusedChild
readonly attribute AString help
readonly attribute long indexInParent
readonly attribute DOMString innerHTML
readonly attribute AString keyboardShortcut
readonly attribute DOMString language
readonly attribute nsIAccessible lastChild
readonly attribute nsIAccessNode lastChildNode
readonly attribute double maximumValue
readonly attribute double minimumIncrement
readonly attribute double minimumValue
attribute AString name
readonly attribute nsIAccessible nextSibling
readonly attribute nsIAccessNode nextSiblingNode
const unsigned short NODETYPE_ATTRIBUTE = 2
const unsigned short NODETYPE_CDATA_SECTION = 4
const unsigned short NODETYPE_COMMENT = 8
const unsigned short NODETYPE_DOCUMENT = 9
const unsigned short NODETYPE_DOCUMENT_FRAGMENT = 11
const unsigned short NODETYPE_DOCUMENT_TYPE = 10
const unsigned short NODETYPE_ELEMENT = 1
const unsigned short NODETYPE_ENTITY = 6
const unsigned short NODETYPE_ENTITY_REFERENCE = 5
const unsigned short NODETYPE_NOTATION = 12
const unsigned short NODETYPE_TEXT = 3
readonly attribute PRUint8 numActions
readonly attribute long numChildren
readonly attribute voidPtr ownerWindow
readonly attribute nsIAccessible parent
readonly attribute nsIAccessNode parentNode
readonly attribute nsIAccessible previousSibling
readonly attribute nsIAccessNode previousSiblingNode
readonly attribute unsigned long relationsCount
readonly attribute unsigned long role
readonly attribute boolean selected
readonly attribute long selectionCount
readonly attribute long startIndex
readonly attribute voidPtr uniqueID
readonly attribute boolean valid
readonly attribute AString value

Static Public Attributes

static nsIDOMNodegLastFocusedNode = 0
gmAccessibleObjectFromWindow = nsnull
static HINSTANCE gmAccLib = nsnull
 the accessible library and cached methods
static LPFNGETGUITHREADINFO gmGetGUIThreadInfo = nsnull
static LPFNNOTIFYWINEVENT gmNotifyWinEvent = nsnull
static HINSTANCE gmUserLib = nsnull

Protected Types

enum  navRelations {

Protected Member Functions

PRBool AncestorIsFlat ()
nsresult AppendFlatStringFromContentNode (nsIContent *aContent, nsAString *aFlatString)
nsresult AppendFlatStringFromSubtree (nsIContent *aContent, nsAString *aFlatString)
nsresult AppendFlatStringFromSubtreeRecurse (nsIContent *aContent, nsAString *aFlatString)
nsresult AppendNameFromAccessibleFor (nsIContent *aContent, nsAString *aFlatString, PRBool aFromValue=PR_FALSE)
nsresult AppendStringWithSpaces (nsAString *aFlatString, const nsAString &textEquivalent)
virtual void CacheChildren ()
PRBool CheckVisibilityInParentChain (nsIDocument *aDocument, nsIView *aView)
nsresult DoCommand (nsIContent *aContent=nsnull)
nsresult FireAtkPropChangedEvent (nsIAccessibleEvent *aEvent, AtkObject *aObject)
nsresult FireAtkShowHideEvent (nsIAccessibleEvent *aEvent, AtkObject *aObject, PRBool aIsAdded)
nsresult FireAtkStateChangeEvent (nsIAccessibleEvent *aEvent, AtkObject *aObject)
nsresult FireAtkTextChangedEvent (nsIAccessibleEvent *aEvent, AtkObject *aObject)
void GetAccessibleFor (nsIDOMNode *node, nsIAccessible **newAcc)
HRESULT GetARGBValueFromCSSProperty (const nsAString &aPropName, IA2Color *aColorValue)
nsIDOMNodeGetAtomicRegion ()
nsresult GetAttrValue (nsIAtom *aAriaProperty, double *aValue)
virtual nsIFrameGetBoundsFrame ()
virtual void GetBoundsRect (nsRect &aRect, nsIFrame **aRelativeFrame)
< nsIAccessibleDocument
GetDocAccessible ()
already_AddRefed< nsIAccessibleGetFirstAvailableAccessible (nsIDOMNode *aStartNode, PRBool aRequireLeaf=PR_FALSE)
nsresult GetHTMLName (nsAString &_retval, PRBool aCanAggregateSubtree=PR_TRUE)
virtual nsresult GetLinkOffset (PRInt32 *aStartOffset, PRInt32 *aEndOffset)
already_AddRefed< nsIAccessibleGetNextWithState (nsIAccessible *aStart, PRUint32 matchState)
nsPresContext * GetPresContext ()
already_AddRefed< nsIPresShell > GetPresShell ()
nsresult GetTextFromRelationID (nsIAtom *aIDProperty, nsString &aName)
nsresult GetXULName (nsAString &aName, PRBool aCanAggregateSubtree=PR_TRUE)
PRBool IsVisible (PRBool *aIsOffscreen)
void LastRelease ()
nsresult MakeAccessNode (nsIDOMNode *aNode, nsIAccessNode **aAccessNode)
ISimpleDOMNode * MakeAccessNode (nsIDOMNode *node)
PRBool MappedAttrState (nsIContent *aContent, PRUint32 *aStateInOut, nsStateMapEntry *aStateMapEntry)
nsIAccessibleNextChild (nsCOMPtr< nsIAccessible > &aAccessible)

Static Protected Member Functions

static void DoCommandCallback (nsITimer *aTimer, void *aClosure)
static nsresult GetFullKeyName (const nsAString &aModifierName, const nsAString &aKeyName, nsAString &aStringOut)
static nsIContentGetHTMLLabelContent (nsIContent *aForNode)
static nsIContentGetLabelContent (nsIContent *aForNode)
static already_AddRefed
< nsIAccessible
GetMultiSelectFor (nsIDOMNode *aNode)
static nsresult GetTranslatedString (const nsAString &aKey, nsAString &aStringOut)
static void NotifyA11yInitOrShutdown ()

Protected Attributes

PRInt32 mAccChildCount
AtkObject * mAtkObject
nsCOMPtr< nsIDOMNodemDOMNode
PRUint16 mEnumVARIANTPosition
AccessibleWrapper * mNativeWrapper
nsCOMPtr< nsIAccessiblemParent
nsRoleMapEntry * mRoleMapEntry
nsCOMPtr< nsIWeakReferencemWeakShell

Static Protected Attributes

static nsITimergDoCommandTimer = 0
static nsAccessNodeHashtable gGlobalDocAccessibleCache
static PRBool gIsAccessibilityActive = PR_FALSE
static PRBool gIsCacheDisabled = PR_FALSE
static PRBool gIsEnumVariantSupportDisabled = 0
static PRBool gIsFormFillEnabled = PR_FALSE
static PRBool gIsShuttingDownApp = PR_FALSE
static nsIStringBundle * gKeyStringBundle = 0
static nsIStringBundle * gStringBundle = 0
nsIAccessibleTextChangeEvent * 
gTextEvent = nsnull


VARIANT anchor ([in] long index) [get]
 Returns an object that represents the link anchor, as appropriate for the link at the specified index.
VARIANT anchorTarget ([in] long index) [get]
 Returns an object representing the target of the link, as appropriate for the link at the specified index.
BSTR attributes [get]
 Returns the attributes specific to this IAccessible2 object, such as a cell's formula.
short attributes ([in] short maxAttribs,[out, size_is(maxAttribs), length_is(*numAttribs)] BSTR attribNames,[out, size_is(maxAttribs), length_is(*numAttribs)] short nameSpaceID,[out, size_is(maxAttribs), length_is(*numAttribs)] BSTR attribValues) [get]
BSTR attributesForNames ([in] short numAttribs,[in, size_is(numAttribs), length_is(numAttribs)] BSTR attribNames,[in, size_is(numAttribs), length_is(numAttribs)] short nameSpaceID) [get]
IA2Color background [get]
 Returns the background color of this object.
ISimpleDOMNode childAt ([in] unsigned childIndex) [get]
short computedStyle ([in] short maxStyleProperties,[in] boolean useAlternateView,[out, size_is(maxStyleProperties), length_is(*numStyleProperties)] BSTR styleProperties,[out, size_is(maxStyleProperties), length_is(*numStyleProperties)] BSTR styleValues) [get]
BSTR computedStyleForProperties ([in] short numStyleProperties,[in] boolean useAlternateView,[in, size_is(numStyleProperties), length_is(numStyleProperties)] BSTR styleProperties) [get]
VARIANT currentValue [get]
 Returns the value of this object as a number.
BSTR description ([in] long actionIndex) [get]
 Returns a description of the specified action of the object.
long endIndex [get]
 Returns the index at which the textual rerpesentation of the hyperlink ends.
BSTR extendedRole [get]
 Returns the extended role.
long extendedStates ([in] long maxExtendedStates,[out, size_is(, maxExtendedStates), length_is(,*nExtendedStates)] BSTR extendedStates) [get]
 Returns the extended states (array of strings).
ISimpleDOMNode firstChild [get]
IA2Color foreground [get]
 Returns the foreground color of this object.
long groupPosition ([out] long groupLevel,[out] long similarItemsInGroup) [get]
 Returns grouping information.
long indexInParent [get]
 Returns the index of this object in its parent object.
BSTR innerHTML [get]
long keyBinding ([in] long actionIndex,[in] long nMaxBinding,[out, size_is(, nMaxBinding), length_is(,*nBinding)] BSTR keyBinding) [get]
 Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the specified action.
BSTR language [get]
ISimpleDOMNode lastChild [get]
IA2Locale locale [get]
 Returns the IA2Locale of the accessible object.
void localInterface [get]
BSTR localizedExtendedRole [get]
 Returns the localized extended role.
long localizedExtendedStates ([in] long maxLocalizedExtendedStates,[out, size_is(, maxLocalizedExtendedStates), length_is(,*nLocalizedExtendedStates)] BSTR localizedExtendedStates) [get]
 Returns the localized extended states (array of strings).
BSTR localizedName ([in] long actionIndex) [get]
 Returns the localized name of specified action.
long locationInParent ([out] long x) [get]
 Returns the location of the upper left corner of the object's bounding box relative to the immediate parent object.
VARIANT maximumValue [get]
 Returns the maximal value that can be represented by this object.
VARIANT minimumValue [get]
 Returns the minimal value that can be represented by this object.
BSTR name ([in] long actionIndex) [get]
 Returns the non-localized name of specified action.
long nExtendedStates [get]
 Returns the number of extended states.
ISimpleDOMNode nextSibling [get]
short nodeInfo ([out] BSTR nodeName,[out] short nameSpaceID,[out] BSTR nodeValue,[out] int numChildren,[out] int uniqueID) [get]
long nRelations [get]
 Returns the number of accessible relations for this object.
ISimpleDOMNode parentNode [get]
ISimpleDOMNode previousSibling [get]
IAccessibleRelation relation ([in] long relationIndex) [get]
 Returns one accessible relation for this object.
long relations ([in] long maxRelations,[out, size_is(maxRelations), length_is(*nRelations)] IAccessibleRelation relation) [get]
 Returns multiple accessible relations for this object.
long startIndex [get]
 Returns the index at which the textual representation of the hyperlink starts.
AccessibleStates states [get]
 Returns the bit strip containing any IAccessible2 states.
long uniqueID [get]
 Returns the unique ID.
boolean valid [get]
 Returns whether the target object referenced by this link is still valid.
HWND windowHandle [get]
 Returns the window handle for the parent window which contains this object.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index