nsIMsgDBView

IID:704c7d28-fd1a-11d4-a5be-0060b0fc04b7
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

readonly nsMsgViewIndex currentlyDisplayedMessage

readonly nsIMsgDatabase db

readonly nsIMsgDBHdr hdrForFirstSelectedMessage

readonly nsMsgKey keyForFirstSelectedMessage

readonly nsIMsgFolder msgFolder

readonly nsMsgViewIndex msgToSelectAfterDelete

readonly PRUint32 numSelected

readonly PRBool removeRowOnMoveOrDelete

nsIMsgSearchSession searchSession

readonly nsMsgViewSortOrderValue sortOrder

nsMsgViewSortTypeValue sortType

readonly PRBool supportsThreading

PRBool suppressCommandUpdating

PRBool suppressMsgDisplay

readonly char* URIForFirstSelectedMessage

readonly PRBool usingLines

nsMsgViewFlagsTypeValue viewFlags

nsIMsgFolder viewFolder

readonly nsMsgViewIndex viewIndexForFirstSelectedMsg

readonly nsMsgViewTypeValue viewType


Methods

nsIMsgDBView cloneDBView ( nsIMessenger messengerInstance , nsIMsgWindow msgWindow , nsIMsgDBViewCommandUpdater commandUpdater ) void close ( ) void doCommand ( nsMsgViewCommandTypeValue command ) void doCommandWithFolder ( nsMsgViewCommandTypeValue command , nsIMsgFolder destFolder ) void ExpandAndSelectThreadByIndex ( nsMsgViewIndex index , PRBool augment ) nsMsgViewIndex findIndexFromKey ( nsMsgKey msgKey , PRBool expand ) void getCommandStatus ( nsMsgViewCommandTypeValue command , out PRBool selectable_p , out nsMsgViewCommandCheckStateValue selected_p ) nsIMsgFolder getFolderForViewIndex ( nsMsgViewIndex index ) void getIndicesForSelection ( out arrayof nsMsgViewIndex indices , out PRUint32 count ) nsMsgKey getKeyAt ( nsMsgViewIndex index ) char* getURIForViewIndex ( nsMsgViewIndex index ) void getURIsForSelection ( out arrayof char* uris , out PRUint32 count ) void init ( nsIMessenger messengerInstance , nsIMsgWindow msgWindow , nsIMsgDBViewCommandUpdater commandUpdater ) void loadMessageByMsgKey ( nsMsgKey msgKey ) void loadMessageByUrl ( char* url ) void loadMessageByViewIndex ( nsMsgViewIndex index ) PRBool navigateStatus ( nsMsgNavigationTypeValue motion ) void onDeleteCompleted ( PRBool succeeded ) void open ( nsIMsgFolder folder , nsMsgViewSortTypeValue sortType , nsMsgViewSortOrderValue sortOrder , nsMsgViewFlagsTypeValue viewFlags , out PRInt32 count ) void openWithHdrs ( nsISimpleEnumerator headers , nsMsgViewSortTypeValue sortType , nsMsgViewSortOrderValue sortOrder , nsMsgViewFlagsTypeValue viewFlags , out PRInt32 count ) void reloadMessage ( ) void reloadMessageWithAllParts ( ) void selectMsgByKey ( nsMsgKey key ) void sort ( nsMsgViewSortTypeValue sortType , nsMsgViewSortOrderValue sortOrder ) void viewNavigate ( nsMsgNavigationTypeValue motion , out nsMsgKey resultId , out nsMsgViewIndex resultIndex , out nsMsgViewIndex threadIndex , PRBool wrap )

nsIMsgDBView cloneDBView ( nsIMessenger messengerInstance , nsIMsgWindow msgWindow , nsIMsgDBViewCommandUpdater commandUpdater )

Arguments:
messengerInstance
msgWindow
commandUpdater

void close ( )


void doCommand ( nsMsgViewCommandTypeValue command )

Arguments:
command

void doCommandWithFolder ( nsMsgViewCommandTypeValue command , nsIMsgFolder destFolder )

Arguments:
command
destFolder

void ExpandAndSelectThreadByIndex ( nsMsgViewIndex index , PRBool augment )

Arguments:
index
augment

nsMsgViewIndex findIndexFromKey ( nsMsgKey msgKey , PRBool expand )

Arguments:
msgKey
expand

void getCommandStatus ( nsMsgViewCommandTypeValue command , out PRBool selectable_p , out nsMsgViewCommandCheckStateValue selected_p )

Arguments:
command
selectable_p
selected_p

nsIMsgFolder getFolderForViewIndex ( nsMsgViewIndex index )

Arguments:
index

void getIndicesForSelection ( out arrayof nsMsgViewIndex indices , out PRUint32 count )

Arguments:
indices
count

nsMsgKey getKeyAt ( nsMsgViewIndex index )

Arguments:
index

char* getURIForViewIndex ( nsMsgViewIndex index )

Arguments:
index

void getURIsForSelection ( out arrayof char* uris , out PRUint32 count )

Arguments:
uris
count

void init ( nsIMessenger messengerInstance , nsIMsgWindow msgWindow , nsIMsgDBViewCommandUpdater commandUpdater )

Arguments:
messengerInstance
msgWindow
commandUpdater

void loadMessageByMsgKey ( nsMsgKey msgKey )

Arguments:
msgKey

void loadMessageByUrl ( char* url )

Arguments:
url

void loadMessageByViewIndex ( nsMsgViewIndex index )

Arguments:
index

PRBool navigateStatus ( nsMsgNavigationTypeValue motion )

Indicates if navigation of the passed motion type is valid.

Arguments:
motion

void onDeleteCompleted ( PRBool succeeded )

Arguments:
succeeded

void open ( nsIMsgFolder folder , nsMsgViewSortTypeValue sortType , nsMsgViewSortOrderValue sortOrder , nsMsgViewFlagsTypeValue viewFlags , out PRInt32 count )

Arguments:
folder
sortType
sortOrder
viewFlags
count

void openWithHdrs ( nsISimpleEnumerator headers , nsMsgViewSortTypeValue sortType , nsMsgViewSortOrderValue sortOrder , nsMsgViewFlagsTypeValue viewFlags , out PRInt32 count )

Arguments:
headers
sortType
sortOrder
viewFlags
count

void reloadMessage ( )


void reloadMessageWithAllParts ( )


void selectMsgByKey ( nsMsgKey key )

Arguments:
key

void sort ( nsMsgViewSortTypeValue sortType , nsMsgViewSortOrderValue sortOrder )

Arguments:
sortType
sortOrder

void viewNavigate ( nsMsgNavigationTypeValue motion , out nsMsgKey resultId , out nsMsgViewIndex resultIndex , out nsMsgViewIndex threadIndex , PRBool wrap )

This method will automatically expand the destination thread, if needs be.

Arguments:
motion
resultId
resultIndex
threadIndex
wrap

References

This interface is returned from the following methods:

nsIMsgDBView.cloneDBView

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com