nsIMsgWindowCommands 编辑

mailnews/base/public/nsIMsgWindow.idlScriptable This interface defines methods used by the back end to update the user interface in a mail or news message list. Inherits from: nsISupports Last changed in Gecko 1.9 (Firefox 3)

The JavaScript implementation of this used by Thunderbird is given here.

Method overview

void selectFolder(in ACString folderUri);
void selectMessage(in ACString messageUri);
void clearMsgPane();

Methods

selectFolder()

This method is called by the backend to change the folder displayed in the message window. This could be as a result of clicking on a new mail alert, or by clicking a link to a newsgroup.

void selectFolder(
  in ACString folderUri
);
Parameters
folderUri
The URI of the folder to select.

selectMessage()

This method is called by the backend to change the displayed message. For instance, when deleting attachments, this causes the message to be redisplayed.

void selectMessage(
  in ACString messageUri
);
Parameters
messageUri
The URI of the message to open.

clearMsgPane()

This method is called by the backend when it wants to clear the message pane, for instance if you select the group header .

void clearMsgPane();
Paramters

None.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:117 次

字数:2821

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文