Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes

nsAccessNode Class Reference

#include <nsAccessNode.h>

Inheritance diagram for nsAccessNode:
Collaboration diagram for nsAccessNode:

List of all members.

Public Member Functions

 nsAccessNode (nsIDOMNode *, nsIWeakReference *aShell)
virtual ~nsAccessNode ()
already_AddRefed
< nsRootAccessible
GetRootAccessible ()
already_AddRefed< nsIDOMNodeGetCurrentFocus ()
virtual PRBool IsDefunct ()
 Returns true when the accessible is defunct.
virtual nsresult Init ()
 Initialize the access node object, add it to the cache.
virtual nsresult Shutdown ()
 Shutdown the access node object.
virtual nsIFrame * GetFrame ()
 Return frame for the given access node object.

Static Public Member Functions

NS_DECL_CYCLE_COLLECTING_ISUPPORTS
static NS_DECL_NSIACCESSNODE
void 
InitXPAccessibility ()
static void ShutdownXPAccessibility ()
static already_AddRefed
< nsApplicationAccessibleWrap > 
GetApplicationAccessible ()
 Return an application accessible.
static void PutCacheEntry (nsAccessNodeHashtable &aCache, void *aUniqueID, nsIAccessNode *aAccessNode)
static void GetCacheEntry (nsAccessNodeHashtable &aCache, void *aUniqueID, nsIAccessNode **aAccessNode)
static void ClearCache (nsAccessNodeHashtable &aCache)
static PLDHashOperator ClearCacheEntry (const void *aKey, nsCOMPtr< nsIAccessNode > &aAccessNode, void *aUserArg)
static already_AddRefed
< nsIAccessibleDocument
GetDocAccessibleFor (nsIDocument *aDocument)
static already_AddRefed
< nsIAccessibleDocument
GetDocAccessibleFor (nsIWeakReference *aWeakShell)
static already_AddRefed
< nsIAccessibleDocument
GetDocAccessibleFor (nsIDocShellTreeItem *aContainer, PRBool aCanCreate=0)
static already_AddRefed
< nsIAccessibleDocument
GetDocAccessibleFor (nsIDOMNode *aNode)
static nsIAccessibilityServiceGetAccService ()

Static Public Attributes

static nsIDOMNodegLastFocusedNode

Protected Member Functions

nsresult MakeAccessNode (nsIDOMNode *aNode, nsIAccessNode **aAccessNode)
already_AddRefed< nsIPresShell > GetPresShell ()
nsPresContextGetPresContext ()
already_AddRefed
< nsIAccessibleDocument
GetDocAccessible ()
void LastRelease ()

Static Protected Member Functions

static void NotifyA11yInitOrShutdown (PRBool aIsInit)
 Notify global nsIObserver's that a11y is getting init'd or shutdown.

Protected Attributes

nsCOMPtr< nsIDOMNodemDOMNode
nsCOMPtr< nsIWeakReferencemWeakShell

Static Protected Attributes

static nsIStringBundlegStringBundle
static nsIStringBundlegKeyStringBundle
static nsITimergDoCommandTimer
static PRBool gIsCacheDisabled
static PRBool gIsFormFillEnabled
static nsAccessNodeHashtable gGlobalDocAccessibleCache

Constructor & Destructor Documentation

nsAccessNode::nsAccessNode ( nsIDOMNode ,
nsIWeakReference aShell 
)
virtual nsAccessNode::~nsAccessNode (  )  [virtual]

Member Function Documentation

static void nsAccessNode::ClearCache ( nsAccessNodeHashtable aCache  )  [static]
static PLDHashOperator nsAccessNode::ClearCacheEntry ( const void *  aKey,
nsCOMPtr< nsIAccessNode > &  aAccessNode,
void *  aUserArg 
) [static]
static nsIAccessibilityService* nsAccessNode::GetAccService (  )  [static]
static already_AddRefed<nsApplicationAccessibleWrap> nsAccessNode::GetApplicationAccessible (  )  [static]

Return an application accessible.

static void nsAccessNode::GetCacheEntry ( nsAccessNodeHashtable aCache,
void *  aUniqueID,
nsIAccessNode **  aAccessNode 
) [static]
already_AddRefed<nsIDOMNode> nsAccessNode::GetCurrentFocus (  ) 
already_AddRefed<nsIAccessibleDocument> nsAccessNode::GetDocAccessible (  )  [protected]
static already_AddRefed<nsIAccessibleDocument> nsAccessNode::GetDocAccessibleFor ( nsIDocument *  aDocument  )  [static]
static already_AddRefed<nsIAccessibleDocument> nsAccessNode::GetDocAccessibleFor ( nsIWeakReference aWeakShell  )  [static]
static already_AddRefed<nsIAccessibleDocument> nsAccessNode::GetDocAccessibleFor ( nsIDocShellTreeItem aContainer,
PRBool  aCanCreate = 0 
) [static]
static already_AddRefed<nsIAccessibleDocument> nsAccessNode::GetDocAccessibleFor ( nsIDOMNode aNode  )  [static]
virtual nsIFrame* nsAccessNode::GetFrame (  )  [virtual]

Return frame for the given access node object.

nsPresContext* nsAccessNode::GetPresContext (  )  [protected]
already_AddRefed<nsIPresShell> nsAccessNode::GetPresShell (  )  [protected]
already_AddRefed<nsRootAccessible> nsAccessNode::GetRootAccessible (  ) 
virtual nsresult nsAccessNode::Init (  )  [virtual]

Initialize the access node object, add it to the cache.

NS_DECL_CYCLE_COLLECTING_ISUPPORTS static NS_DECL_NSIACCESSNODE void nsAccessNode::InitXPAccessibility (  )  [static]
virtual PRBool nsAccessNode::IsDefunct (  )  [virtual]

Returns true when the accessible is defunct.

void nsAccessNode::LastRelease (  )  [protected]
nsresult nsAccessNode::MakeAccessNode ( nsIDOMNode aNode,
nsIAccessNode **  aAccessNode 
) [protected]
static void nsAccessNode::NotifyA11yInitOrShutdown ( PRBool  aIsInit  )  [static, protected]

Notify global nsIObserver's that a11y is getting init'd or shutdown.

static void nsAccessNode::PutCacheEntry ( nsAccessNodeHashtable aCache,
void *  aUniqueID,
nsIAccessNode aAccessNode 
) [static]
virtual nsresult nsAccessNode::Shutdown (  )  [virtual]

Shutdown the access node object.

static void nsAccessNode::ShutdownXPAccessibility (  )  [static]

Member Data Documentation


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