Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
nsFocusSuppressor Class Reference

#include <nsIFocusController.h>

Collaboration diagram for nsFocusSuppressor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~nsFocusSuppressor ()
void Suppress (nsIFocusController *aController, const char *aReason)
void Unsuppress ()
PRBool Suppressing ()

Private Attributes

nsCOMPtr< nsIFocusControllermController
const char * mReason

Detailed Description

Definition at line 103 of file nsIFocusController.h.


Constructor & Destructor Documentation

Definition at line 105 of file nsIFocusController.h.

  {
    Unsuppress();
  }

Here is the call graph for this function:


Member Function Documentation

void nsFocusSuppressor::Suppress ( nsIFocusController aController,
const char *  aReason 
) [inline]

Definition at line 111 of file nsIFocusController.h.

  {
    Unsuppress();

    mController = aController;
    mReason = aReason;
    if (aController) {
      mController->SetSuppressFocus(PR_TRUE, mReason);
    }
  }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 131 of file nsIFocusController.h.

  {
    return mController != nsnull;
  }

Here is the caller graph for this function:

Definition at line 122 of file nsIFocusController.h.

  {
    if (mController) {
      mController->SetSuppressFocus(PR_FALSE, mReason);
      mController = nsnull;
      mReason = nsnull;
    }
  }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 137 of file nsIFocusController.h.

Definition at line 138 of file nsIFocusController.h.


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