Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

virtual PRInt32 nsINode::IndexOf ( nsINode aPossibleChild  )  const [pure virtual]

Get the index of a child within this content

aPossibleChild the child to get the index of.
the index of the child, or -1 if not a child
If the return value is not -1, then calling GetChildAt() with that value will return aPossibleChild.

Implemented in nsGenericElement.

Referenced by nsFrame::DisplaySelectionOverlay(), nsGenericElement::doRemoveChild(), nsGenericElement::doRemoveChildAt(), nsGenericElement::doReplaceOrInsertBefore(), nsFrame::GetPointFromOffset(), and nsContentList::PopulateWithStartingAfter().

Generated by  Doxygen 1.6.0   Back to index