WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

fuelIBookmarkFolder

IID:9f42fe20-52de-4a55-8632-a459c7716aa0
Inherits From:nsISupports

Properties

readonly fuelIAnnotations annotations

The annotations object for the folder.

readonly nsIVariant children

Array of all bookmarks, separators and folders contained in this folder.

AString description

The description of the folder.

readonly fuelIEvents events

The events object for the folder. supports: "add", "addchild", "remove", "removechild", "change", "move"

readonly PRInt64 id

The id of the folder.

fuelIBookmarkFolder parent

The parent folder of the folder.

AString title

The title of the folder.

readonly AString type

The type of the folder. values: "folder"


Methods

fuelIBookmark addBookmark ( AString title , nsIURI URI ) fuelIBookmarkFolder addFolder ( AString title ) fuelIBookmark addSeparator ( ) void remove ( )

fuelIBookmark addBookmark ( AString title , nsIURI URI )

Adds a new child bookmark to this folder.

Arguments:
title: The title of bookmark.
URI: The uri of bookmark.

fuelIBookmarkFolder addFolder ( AString title )

Adds a new child folder to this folder.

Arguments:
title: The title of folder.

fuelIBookmark addSeparator ( )

Adds a new child separator to this folder.


void remove ( )

Removes the folder from the parent folder.


References

This interface is the type of the following properties:

fuelIApplication.bookmarks, fuelIBookmark.parent, fuelIBookmarkFolder.parent

This interface is returned from the following methods:

fuelIBookmarkFolder.addFolder

Reference documentation is generated from Mozilla's source.