Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes | Friends
nsAttributeTextNode::nsAttrChangeListener Class Reference
Inheritance diagram for nsAttributeTextNode::nsAttrChangeListener:
Inheritance graph
Collaboration diagram for nsAttributeTextNode::nsAttrChangeListener:
Collaboration graph

List of all members.

Public Member Functions

nsAttrChangeListener (PRInt32 aNameSpaceID, nsIAtom *aAttrName, nsITextContent *aContent)
virtual PRBool IsNativeAnonymous () const
virtual void SetNativeAnonymous (PRBool aAnonymous)
void handleEvent (in nsIDOMEvent event)
 This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Protected Attributes

PRInt32 mNameSpaceID
nsCOMPtr< nsIAtommAttrName


class nsAttributeTextNode

Detailed Description

Definition at line 87 of file nsTextNode.cpp.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_NSIDOMEVENTLISTENER nsAttributeTextNode::nsAttrChangeListener::nsAttrChangeListener ( PRInt32  aNameSpaceID,
nsIAtom aAttrName,
nsITextContent aContent 
) [inline]

Definition at line 92 of file nsTextNode.cpp.

      NS_ASSERTION(mNameSpaceID != kNameSpaceID_Unknown, "Must know namespace");
      NS_ASSERTION(mAttrName, "Must have attr name");
      NS_ASSERTION(mContent, "Must have text content");

Member Function Documentation

This method is called whenever an event occurs of the type for which the EventListener interface was registered.

evtThe Event contains contextual information about the event. It also contains the stopPropagation and preventDefault methods which are used in determining the event's flow and default action.

Definition at line 103 of file nsTextNode.cpp.

{ return PR_TRUE; }

Definition at line 104 of file nsTextNode.cpp.

                   "Attempt to set nsAttributeTextNode not anonymous!");

Friends And Related Function Documentation

friend class nsAttributeTextNode [friend]

Definition at line 109 of file nsTextNode.cpp.

Member Data Documentation

Definition at line 111 of file nsTextNode.cpp.

Definition at line 112 of file nsTextNode.cpp.

Definition at line 110 of file nsTextNode.cpp.

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