#include <nsAccessNode.h>
Inheritance diagram for nsAccessNode:
Collaboration diagram for nsAccessNode:Public Member Functions | |
| nsAccessNode (nsIContent *aContent, nsIWeakReference *aShell) | |
| virtual | ~nsAccessNode () |
| nsDocAccessible * | GetDocAccessible () const |
| Return the document accessible for this access node. | |
| already_AddRefed < nsRootAccessible > | GetRootAccessible () |
| Return the root document accessible for this accessnode. | |
| already_AddRefed< nsINode > | GetCurrentFocus () |
| Return focused node within accessible window. | |
| virtual PRBool | IsDefunct () |
| Returns true when the accessible is defunct. | |
| virtual PRBool | Init () |
| Initialize the access node object, add it to the cache. | |
| virtual void | Shutdown () |
| Shutdown the access node object. | |
| virtual nsIFrame * | GetFrame () |
| Return frame for the given access node object. | |
| already_AddRefed< nsIDOMNode > | GetDOMNode () const |
| Return DOM node associated with this accessible. | |
| virtual nsINode * | GetNode () const |
| Return DOM node associated with the accessible. | |
| nsIContent * | GetContent () const |
| virtual nsIDocument * | GetDocumentNode () const |
| PRBool | IsContent () const |
| Return node type information of DOM node associated with the accessible. | |
| PRBool | IsDocument () const |
| already_AddRefed< nsIPresShell > | GetPresShell () |
| Return the corresponding press shell for this accessible. | |
| nsIWeakReference * | GetWeakShell () const |
| Return presentation shell for the accessible. | |
| void * | UniqueID () |
| Return the unique identifier of the accessible. | |
| virtual bool | IsPrimaryForNode () const |
| Return true if the accessible is primary accessible for the given DOM node. | |
Static Public Member Functions | |
| NS_DECL_CYCLE_COLLECTING_ISUPPORTS static NS_DECL_NSIACCESSNODE void | InitXPAccessibility () |
| static void | ShutdownXPAccessibility () |
| static nsApplicationAccessible * | GetApplicationAccessible () |
| Return an application accessible. | |
Static Public Attributes | |
| static nsINode * | gLastFocusedNode |
| Reference to a node of focused accessible. | |
Protected Member Functions | |
| nsPresContext * | GetPresContext () |
| 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< nsIContent > | mContent |
| nsCOMPtr< nsIWeakReference > | mWeakShell |
Static Protected Attributes | |
| static nsIStringBundle * | gStringBundle |
| static nsIStringBundle * | gKeyStringBundle |
| static PRBool | gIsFormFillEnabled |
| nsAccessNode::nsAccessNode | ( | nsIContent * | aContent, | |
| nsIWeakReference * | aShell | |||
| ) |
| virtual nsAccessNode::~nsAccessNode | ( | ) | [virtual] |
| static nsApplicationAccessible* nsAccessNode::GetApplicationAccessible | ( | ) | [static] |
Return an application accessible.
| nsIContent* nsAccessNode::GetContent | ( | ) | const [inline] |
| already_AddRefed<nsINode> nsAccessNode::GetCurrentFocus | ( | ) |
Return focused node within accessible window.
XXX: it shouldn't break us if we return focused node not depending on window so that we can turn this method into util method.
| nsDocAccessible* nsAccessNode::GetDocAccessible | ( | ) | const |
Return the document accessible for this access node.
| virtual nsIDocument* nsAccessNode::GetDocumentNode | ( | ) | const [inline, virtual] |
| already_AddRefed<nsIDOMNode> nsAccessNode::GetDOMNode | ( | ) | const [inline] |
Return DOM node associated with this accessible.
| virtual nsIFrame* nsAccessNode::GetFrame | ( | ) | [virtual] |
Return frame for the given access node object.
| virtual nsINode* nsAccessNode::GetNode | ( | ) | const [inline, virtual] |
Return DOM node associated with the accessible.
| nsPresContext* nsAccessNode::GetPresContext | ( | ) | [protected] |
| already_AddRefed<nsIPresShell> nsAccessNode::GetPresShell | ( | ) |
Return the corresponding press shell for this accessible.
| already_AddRefed<nsRootAccessible> nsAccessNode::GetRootAccessible | ( | ) |
Return the root document accessible for this accessnode.
| nsIWeakReference* nsAccessNode::GetWeakShell | ( | ) | const [inline] |
Return presentation shell for the accessible.
| virtual PRBool 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] |
| PRBool nsAccessNode::IsContent | ( | ) | const [inline] |
Return node type information of DOM node associated with the accessible.
| virtual PRBool nsAccessNode::IsDefunct | ( | ) | [inline, virtual] |
Returns true when the accessible is defunct.
| PRBool nsAccessNode::IsDocument | ( | ) | const [inline] |
| virtual bool nsAccessNode::IsPrimaryForNode | ( | ) | const [virtual] |
Return true if the accessible is primary accessible for the given DOM node.
Accessible hierarchy may be complex for single DOM node, in this case these accessibles share the same DOM node. The primary accessible "owns" that DOM node in terms it gets stored in the accessible to node map.
| void nsAccessNode::LastRelease | ( | ) | [protected] |
| static void nsAccessNode::NotifyA11yInitOrShutdown | ( | PRBool | aIsInit | ) | [static, protected] |
Notify global nsIObserver's that a11y is getting init'd or shutdown.
| virtual void nsAccessNode::Shutdown | ( | ) | [virtual] |
Shutdown the access node object.
Reimplemented in nsAccessible, and nsAccessibleWrap.
| static void nsAccessNode::ShutdownXPAccessibility | ( | ) | [static] |
| void* nsAccessNode::UniqueID | ( | ) | [inline] |
Return the unique identifier of the accessible.
PRBool nsAccessNode::gIsFormFillEnabled [static, protected] |
nsIStringBundle* nsAccessNode::gKeyStringBundle [static, protected] |
nsINode* nsAccessNode::gLastFocusedNode [static] |
Reference to a node of focused accessible.
nsIStringBundle* nsAccessNode::gStringBundle [static, protected] |
nsCOMPtr<nsIContent> nsAccessNode::mContent [protected] |
nsCOMPtr<nsIWeakReference> nsAccessNode::mWeakShell [protected] |
1.7.1