Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
nsEditableTextFunctor Class Reference
Inheritance diagram for nsEditableTextFunctor:
Inheritance graph
[legend]
Collaboration diagram for nsEditableTextFunctor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsEditableTextFunctor (nsHTMLEditor *editor)
virtual PRBool operator() (nsIDOMNode *aNode)

Protected Attributes

nsHTMLEditormHTMLEditor

Detailed Description

Definition at line 152 of file nsHTMLEditRules.cpp.


Constructor & Destructor Documentation

Definition at line 155 of file nsHTMLEditRules.cpp.

: mHTMLEditor(editor) {}

Member Function Documentation

virtual PRBool nsEditableTextFunctor::operator() ( nsIDOMNode aNode) [inline, virtual]

Implements nsBoolDomIterFunctor.

Definition at line 156 of file nsHTMLEditRules.cpp.

    {
      if (nsEditor::IsTextNode(aNode) && mHTMLEditor->IsEditable(aNode)) 
      {
        return PR_TRUE;
      }
      return PR_FALSE;
    }

Here is the call graph for this function:


Member Data Documentation

Definition at line 165 of file nsHTMLEditRules.cpp.


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