Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
nsXFormsActionElement.cpp File Reference
#include "nsXFormsActionElement.h"
#include "nsIXFormsModelElement.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMDocument.h"
#include "nsIDOMEvent.h"
#include "nsIDOMElement.h"
#include "nsIXTFBindableElementWrapper.h"

Go to the source code of this file.

Defines

#define DEFERRED_REBUILD   0x01
#define DEFERRED_RECALCULATE   0x02
#define DEFERRED_REVALIDATE   0x04
#define DEFERRED_REFRESH   0x08

Functions

 PR_STATIC_CALLBACK (PLDHashOperator) DoDeferredActions(nsISupports *aModel
PRUint32 void *data if (aModel &&aDeferred)
 NS_NewXFormsActionElement (nsIXTFElement **aResult)

Variables

PRUint32 aDeferred
return PL_DHASH_NEXT

Define Documentation

Definition at line 47 of file nsXFormsActionElement.cpp.

Definition at line 48 of file nsXFormsActionElement.cpp.

Definition at line 50 of file nsXFormsActionElement.cpp.

Definition at line 49 of file nsXFormsActionElement.cpp.


Function Documentation

PRUint32 void* data if ( aModel &&  aDeferred)

Definition at line 130 of file nsXFormsActionElement.cpp.

                           {
    nsCOMPtr<nsIModelElementPrivate> model(do_QueryInterface(aModel));

    if (aDeferred & DEFERRED_REBUILD)
      model->RequestRebuild();
    if (aDeferred & DEFERRED_RECALCULATE)
      model->RequestRecalculate();
    if (aDeferred & DEFERRED_REVALIDATE)
      model->RequestRevalidate();
    if (aDeferred & DEFERRED_REFRESH)
      model->RequestRefresh();
  }

Here is the call graph for this function:

Definition at line 296 of file nsXFormsActionElement.cpp.

{
  *aResult = new nsXFormsActionElement();
  if (!*aResult) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  NS_ADDREF(*aResult);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 127 of file nsXFormsActionElement.cpp.

Definition at line 142 of file nsXFormsActionElement.cpp.