nsIJumpListItem

Implements Windows 7 Taskbar jump list item interfaces.
1.0
66
Introduced
Gecko 2.0
Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

Note: To consumers: it's reasonable to expect we'll need support for other types of jump list items (an audio file, an email message, etc.). To add types, create the specific interface here, add an implementation class to WinJumpListItem, and add support to addListBuild and removed items processing.

Method overview

boolean equals(in nsIJumpListItem item);

Attributes

Attribute Type Description
type short Retrieves the jump list item type. Read only.

Constants

Constant Value Description
JUMPLIST_ITEM_EMPTY 0 Empty list item.
JUMPLIST_ITEM_SEPARATOR 1 Separator.
JUMPLIST_ITEM_LINK 2 Web link item.
JUMPLIST_ITEM_SHORTCUT 3 Application shortcut.

Methods

equals()

Compare this item to another.

Compares the type and other properties specific to this item's type:

  • separator - type
  • link - type, uri, title
  • shortcut - type, handler application
boolean equals(
  in nsIJumpListItem item
);
Parameters
item
Another nsIJumpListItem to compare to.
Return value

true if items are the same, otherwise false