nsIJumpListItem 编辑
widget/public/nsIJumpListItem.idl
Scriptable 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论