Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIXFormsAccessors Interface Reference

Interface exposing the states of an XForms control. More...

import "nsIXFormsAccessors.idl";

Inheritance diagram for nsIXFormsAccessors:
Inheritance graph
[legend]
Collaboration diagram for nsIXFormsAccessors:
Collaboration graph
[legend]

List of all members.

Public Member Functions

DOMString getValue ()
 Get the value bound to the XForms control.
void setValue (in DOMString value)
 Set the value bound to the XForms control.
boolean isReadonly ()
boolean isRelevant ()
boolean isRequired ()
boolean isValid ()
boolean hasBoundNode ()
 true, if XForms control is bound to a node in a data model.
nsIDOMNode getBoundNode ()
 Node that the control is bound to in its data model.
void setContent (in nsIDOMNode aNode, in boolean aForceUpdate)
 Used to set the complete contents of the bound node.

Detailed Description

Interface exposing the states of an XForms control.

For more information on this interface please see http://developer.mozilla.org/en/docs/XForms:Custom_Controls

Definition at line 49 of file nsIXFormsAccessors.idl.


Member Function Documentation

Node that the control is bound to in its data model.

Get the value bound to the XForms control.

true, if XForms control is bound to a node in a data model.

void nsIXFormsAccessors::setContent ( in nsIDOMNode  aNode,
in boolean  aForceUpdate 
)

Used to set the complete contents of the bound node.

This function is meant to be used like setValue() except that it can be used to set more than just the first textnode contained under the bound node. If there is nothing contained under aNode, then all children of the bound node will be eliminated.

Parameters:
aNodesetContent will take the contents of aNode and copy them under the control's bound node.
aForceUpdateIndicates whether setContent should rebuild, recalculate, revalidate and refresh the model that this control is bound to prior to returning
void nsIXFormsAccessors::setValue ( in DOMString  value)

Set the value bound to the XForms control.


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