Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
nsDocViewerSelectionListener Class Reference
Inheritance diagram for nsDocViewerSelectionListener:
Inheritance graph
[legend]
Collaboration diagram for nsDocViewerSelectionListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSISELECTIONLISTENER 
nsDocViewerSelectionListener ()
virtual ~nsDocViewerSelectionListener ()
nsresult Init (DocumentViewerImpl *aDocViewer)
void notifySelectionChanged (in nsIDOMDocument doc, in nsISelection sel, in short reason)

Public Attributes

const short NO_REASON = 0
const short DRAG_REASON = 1
const short MOUSEDOWN_REASON = 2
const short MOUSEUP_REASON = 4
const short KEYPRESS_REASON = 8
const short SELECTALL_REASON = 16

Protected Attributes

DocumentViewerImplmDocViewer
PRPackedBool mGotSelectionState
PRPackedBool mSelectionWasCollapsed

Detailed Description

Definition at line 237 of file nsDocumentViewer.cpp.


Constructor & Destructor Documentation

Definition at line 254 of file nsDocumentViewer.cpp.

{}

Member Function Documentation

Definition at line 3143 of file nsDocumentViewer.cpp.

{
  mDocViewer = aDocViewer;
  return NS_OK;
}

Here is the caller graph for this function:

void nsISelectionListener::notifySelectionChanged ( in nsIDOMDocument  doc,
in nsISelection  sel,
in short  reason 
) [inherited]

Member Data Documentation

Definition at line 47 of file nsISelectionListener.idl.

Definition at line 50 of file nsISelectionListener.idl.

Definition at line 260 of file nsDocumentViewer.cpp.

Definition at line 261 of file nsDocumentViewer.cpp.

Definition at line 48 of file nsISelectionListener.idl.

Definition at line 49 of file nsISelectionListener.idl.

Definition at line 262 of file nsDocumentViewer.cpp.

const short nsISelectionListener::NO_REASON = 0 [inherited]

Definition at line 46 of file nsISelectionListener.idl.

Definition at line 51 of file nsISelectionListener.idl.


The documentation for this class was generated from the following file: