Public Member Functions | Public Attributes

nsIDocShellTreeNode Interface Reference

The nsIDocShellTreeNode supplies the methods for interacting with children of a docshell. More...

import "nsIDocShellTreeNode.idl";

Inheritance diagram for nsIDocShellTreeNode:

List of all members.

Public Member Functions

void addChild (in nsIDocShellTreeItem child)
void removeChild (in nsIDocShellTreeItem child)
nsIDocShellTreeItem getChildAt (in long index)
 Return the child at the index requested.
nsIDocShellTreeItem findChildWithName (in wstring aName, in boolean aRecurse, in boolean aSameType, in nsIDocShellTreeItem aRequestor, in nsIDocShellTreeItem aOriginalRequestor)

Public Attributes

readonly attribute long childCount

Detailed Description

The nsIDocShellTreeNode supplies the methods for interacting with children of a docshell.

These are essentially the methods that turn a single docshell into a docshell tree.


Member Function Documentation

void nsIDocShellTreeNode::addChild ( in nsIDocShellTreeItem  child  ) 
nsIDocShellTreeItem nsIDocShellTreeNode::findChildWithName ( in wstring  aName,
in boolean  aRecurse,
in boolean  aSameType,
in nsIDocShellTreeItem  aRequestor,
in nsIDocShellTreeItem  aOriginalRequestor 
)
nsIDocShellTreeItem nsIDocShellTreeNode::getChildAt ( in long  index  ) 

Return the child at the index requested.

This is 0-based.

Exceptions:
NS_ERROR_UNEXPECTED if the index is out of range
void nsIDocShellTreeNode::removeChild ( in nsIDocShellTreeItem  child  ) 

Member Data Documentation

readonly attribute long nsIDocShellTreeNode::childCount

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