Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Enumerations | Variables
nsXFormsUtils.h File Reference
#include "prtypes.h"
#include "nsCOMPtr.h"
#include "nsCOMArray.h"
#include "nsIDOMNode.h"
#include "nsIDocument.h"
#include "nsIDOMXPathResult.h"
#include "nsIModelElementPrivate.h"
#include "nsIScriptError.h"
#include "nsVoidArray.h"
#include "nsIDOMWindowInternal.h"
#include "nsXFormsDOMEvent.h"

Go to the source code of this file.

Classes

struct  EventData
class  nsXFormsUtils
 This class has static helper methods that don't fit into a specific place in the class hierarchy. More...

Defines

#define NS_NAMESPACE_XFORMS   "http://www.w3.org/2002/xforms"
#define NS_NAMESPACE_XHTML   "http://www.w3.org/1999/xhtml"
#define NS_NAMESPACE_XML_SCHEMA   "http://www.w3.org/2001/XMLSchema"
#define NS_NAMESPACE_XML_SCHEMA_INSTANCE   "http://www.w3.org/2001/XMLSchema-instance"
#define NS_NAMESPACE_MOZ_XFORMS_TYPE   "http://www.mozilla.org/projects/xforms/2005/type"
#define NS_NAMESPACE_SOAP_ENVELOPE   "http://schemas.xmlsoap.org/soap/envelope/"
#define NS_NAMESPACE_MOZ_XFORMS_LAZY   "http://www.mozilla.org/projects/xforms/2005/lazy"
#define PREF_WAIT_LIMIT   "dom.max_script_run_time"
#define NS_OK_XFORMS_NOREFRESH   NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_GENERAL, 1)
 Error codes.
#define NS_OK_XFORMS_DEFERRED   NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_GENERAL, 2)
#define NS_OK_XFORMS_NOTREADY   NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_GENERAL, 3)
#define NS_ERROR_XFORMS_UNION_TYPE   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GENERAL, 3002)

Enumerations

enum  nsXFormsEvent {
  eEvent_ModelConstruct, eEvent_ModelConstructDone, eEvent_Ready, eEvent_ModelDestruct,
  eEvent_Previous, eEvent_Next, eEvent_Focus, eEvent_Help,
  eEvent_Hint, eEvent_Rebuild, eEvent_Refresh, eEvent_Revalidate,
  eEvent_Recalculate, eEvent_Reset, eEvent_Submit, eEvent_DOMActivate,
  eEvent_ValueChanged, eEvent_Select, eEvent_Deselect, eEvent_ScrollFirst,
  eEvent_ScrollLast, eEvent_Insert, eEvent_Delete, eEvent_Valid,
  eEvent_Invalid, eEvent_DOMFocusIn, eEvent_DOMFocusOut, eEvent_Readonly,
  eEvent_Readwrite, eEvent_Required, eEvent_Optional, eEvent_Enabled,
  eEvent_Disabled, eEvent_InRange, eEvent_OutOfRange, eEvent_SubmitDone,
  eEvent_SubmitError, eEvent_BindingException, eEvent_LinkException, eEvent_LinkError,
  eEvent_ComputeException, eEvent_MozHintOff, eEvent_SubmitSerialize
}
 XForms event types. More...

Variables

const EventData sXFormsEventsEntries [43]
const PRInt32 kDefaultIntrinsicState
const PRInt32 kDisabledIntrinsicState

Class Documentation

struct EventData

Definition at line 141 of file nsXFormsUtils.h.

Class Members
PRBool canBubble
PRBool canCancel
const char * name

Define Documentation

Definition at line 83 of file nsXFormsUtils.h.

#define NS_NAMESPACE_MOZ_XFORMS_LAZY   "http://www.mozilla.org/projects/xforms/2005/lazy"

Definition at line 68 of file nsXFormsUtils.h.

#define NS_NAMESPACE_MOZ_XFORMS_TYPE   "http://www.mozilla.org/projects/xforms/2005/type"

Definition at line 66 of file nsXFormsUtils.h.

#define NS_NAMESPACE_SOAP_ENVELOPE   "http://schemas.xmlsoap.org/soap/envelope/"

Definition at line 67 of file nsXFormsUtils.h.

#define NS_NAMESPACE_XFORMS   "http://www.w3.org/2002/xforms"

Definition at line 62 of file nsXFormsUtils.h.

#define NS_NAMESPACE_XHTML   "http://www.w3.org/1999/xhtml"

Definition at line 63 of file nsXFormsUtils.h.

#define NS_NAMESPACE_XML_SCHEMA   "http://www.w3.org/2001/XMLSchema"

Definition at line 64 of file nsXFormsUtils.h.

#define NS_NAMESPACE_XML_SCHEMA_INSTANCE   "http://www.w3.org/2001/XMLSchema-instance"

Definition at line 65 of file nsXFormsUtils.h.

Definition at line 78 of file nsXFormsUtils.h.

Error codes.

Definition at line 76 of file nsXFormsUtils.h.

Definition at line 80 of file nsXFormsUtils.h.

#define PREF_WAIT_LIMIT   "dom.max_script_run_time"

Definition at line 70 of file nsXFormsUtils.h.


Enumeration Type Documentation

XForms event types.

See also:
http://www.w3.org/TR/xforms/slice4.html#rpm-events
Note:
nsXFormsModelElement::SetSingleState() assumes a specific order of the events from eEvent_Valid to eEvent_Disabled.
Enumerator:
eEvent_ModelConstruct 
eEvent_ModelConstructDone 
eEvent_Ready 
eEvent_ModelDestruct 
eEvent_Previous 
eEvent_Next 
eEvent_Focus 
eEvent_Help 
eEvent_Hint 
eEvent_Rebuild 
eEvent_Refresh 
eEvent_Revalidate 
eEvent_Recalculate 
eEvent_Reset 
eEvent_Submit 
eEvent_DOMActivate 
eEvent_ValueChanged 
eEvent_Select 
eEvent_Deselect 
eEvent_ScrollFirst 
eEvent_ScrollLast 
eEvent_Insert 
eEvent_Delete 
eEvent_Valid 
eEvent_Invalid 
eEvent_DOMFocusIn 
eEvent_DOMFocusOut 
eEvent_Readonly 
eEvent_Readwrite 
eEvent_Required 
eEvent_Optional 
eEvent_Enabled 
eEvent_Disabled 
eEvent_InRange 
eEvent_OutOfRange 
eEvent_SubmitDone 
eEvent_SubmitError 
eEvent_BindingException 
eEvent_LinkException 
eEvent_LinkError 
eEvent_ComputeException 
eEvent_MozHintOff 
eEvent_SubmitSerialize 

Definition at line 95 of file nsXFormsUtils.h.


Variable Documentation

Definition at line 200 of file nsXFormsUtils.cpp.

Definition at line 206 of file nsXFormsUtils.cpp.

Definition at line 118 of file nsXFormsUtils.cpp.