Nos bénévoles n'ont pas encore traduit cet article en Français. Inscrivez-vous et aidez-nous à réaliser cette tâche !
Vous pouvez également lire cet article en English (US).
| || ||The number of child nodes; accessing this throws an |
| || || |
If this container is a remote container, this flag may be redefined by the remote container provider. Read-only.
| || ||Set this to |
| || ||A string representing the dynamic container API service responsible for this container. Accessing this throws an exception if the node isn't a dynamic container. Read only.|
| || ||Indicates whether or not the node can have children, and may be used whether the container is open or closed. When the container is closed, the result is an exact answer if the node can be populated easily (for example, for bookmark folders). If it can't be populated easily (for complex history queries, for example), the result is always true. |
When the container is open, the result is always accurate.
This value is intended to be used to see if the "+" should be drawn next to a tree item, indicating that the item can be opened. Read-only.
| || ||A string representing the remote container service API that is responsible for this container. If there is no such API, this value is an empty string. Read only. |
The container may be a
| || ||The current state of the container. This is one of the state constants.|
| ||0||The container is closed.|
| ||1||The container has been opened asynchronously, but is still loading and is not all the way opened yet.|
| ||2||The container is open.|
Returns a node matching specified details.
nsINavHistoryResultNode findNodeByDetails( in AUTF8String aURIString, in PRTime aTime, in long long aItemId, in boolean recursive );
- The URI attribute value to match on.
- The time attribute to match on.
- The item ID to match on.
true, the search will recurse through all child containers of the current container; if
false, only direct children of the container are searched.
nsINavHistoryResultNode of a node matching the specified details or null if no match is found.
- The container is not open.
Returns the child node at the specified index.
nsINavHistoryResultNode getChild( in unsigned long aIndex );
- The index into the child list of the node to fetch.
The node located at the specified index.
containerOpenattribute is currently
false, indicating that the node isn't open for access.
Returns the index of a direct child of this container.
unsigned long getChildIndex( in nsINavHistoryResultNode aNode );
- The node whose index is to be returned.
The index of the specified node into the list of immediate children of the container.
- The container isn't open (that is,
- The specified node isn't a direct child of this container.