Visit Mozilla.org

FUEL:BookmarkFolder

From MDC

This article covers features introduced in Firefox 3

Contents

[edit] Method overview

fuelIBookmark addBookmark(in AString aTitle, in nsIURI aURI)
fuelIBookmark addSeparator()
fuelIBookmarkFolder addFolder(in AString aTitle)
void remove()

[edit] Attributes

Attribute Type Description
id readonly attribute long long The id of the folder.
title attribute AString The title of the folder.
description attribute AString The description of the folder.
type readonly attribute AString The type of the folder. values: "folder"
parent attribute fuelIBookmarkFolder The parent folder of the folder.
annotations readonly attribute fuelIAnnotations The annotations object for the folder.
events readonly attribute fuelIEvents The events object for the folder. supports: "add", "addchild", "remove", "removechild", "change", "move"
children readonly attribute nsIVariant Array of all bookmarks, separators and folders contained in this folder.

[edit] Methods

[edit] addBookmark()

Adds a new child bookmark to this folder.

fuelIBookmark addBookmark(in AString aTitle, in nsIURI aURI)
[edit] Parameters
aTitle
The title of bookmark.
[edit] Return value


[edit] addSeparator()

Adds a new child separator to this folder.

fuelIBookmark addSeparator()
[edit] Parameters
[edit] Return value


[edit] addFolder()

Adds a new child folder to this folder.

fuelIBookmarkFolder addFolder(in AString aTitle)
[edit] Parameters
aTitle
The title of folder.
[edit] Return value


[edit] remove()

Removes the folder from the parent folder.

void remove()
[edit] Parameters
[edit] Return value


[edit] See also