Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIXFormsItemElement Interface Reference

Interface implemented by the item element. More...

import "nsIXFormsItemElement.idl";

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

List of all members.

Public Member Functions

void setActive (in boolean aActive)
 Marks item active.
void labelRefreshed ()
 This is called by the <label> child element whenever it is refreshed.
boolean copyNodeEquals (in nsIDOMNode aNode)
 Compare given DOM node and copy node (i.e.

Public Attributes

readonly attribute AString labelText
 The text value of the <label> child element of the item.
readonly attribute AString value
 The value of the item element.
attribute boolean isCopyItem
 Indicates whether the item element contains a value child or a copy child.
readonly attribute nsIDOMNode copyNode

Detailed Description

Interface implemented by the item element.

Definition at line 47 of file nsIXFormsItemElement.idl.


Member Function Documentation

Compare given DOM node and copy node (i.e.

node that the contained copy element is bound to.

Parameters:
nsIDOMNodeaNode - given DOM node to compare with copy node
Returns:
boolean - return true if given node equals in copy node

This is called by the <label> child element whenever it is refreshed.

This information will be propagated by the <item> to the nearest <select1> element, which can then refresh its UI.

Marks item active.

In current implementation '_moz_active' attribute is set to the element if aActive is true. The attribute can be used when styling the element.


Member Data Documentation

Definition at line 84 of file nsIXFormsItemElement.idl.

Indicates whether the item element contains a value child or a copy child.

We'll assume that if the item is NOT a copy item, then it must be a value item. Which means that it must contain a XForms value element child.

Definition at line 79 of file nsIXFormsItemElement.idl.

The text value of the <label> child element of the item.

Definition at line 52 of file nsIXFormsItemElement.idl.

The value of the item element.

Definition at line 57 of file nsIXFormsItemElement.idl.


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