nsIMsgWindowCommands 编辑
mailnews/base/public/nsIMsgWindow.idl
Scriptable 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论