Back to index
|void||setIndex (inout unsigned long aIndex, in boolean aIsRefresh)|
|Set the current index, and return new value. |
|Deselect current index. |
|void||setCurrentRepeat (in nsIXFormsRepeatElement aCurrentRepeat, in unsigned long aIndex)|
|Set currently selected repeat and index value (nested repeats) |
|Get currently selected repeat row. |
|void||addIndexUser (in nsIXFormsControl aControl)|
|Add user of repeat-index. |
|void||removeIndexUser (in nsIXFormsControl aControl)|
|Remove user of repeat-index. |
|Informs repeat-index users of index change. |
|unsigned long||getStartingIndex ()|
|Retrieve the starting index for the repeat, that is the index that the repeat is initialized to. |
|void||handleNodeInsert (in nsIDOMNode node)|
|Handle insertion of a node, ie. |
|readonly attribute unsigned long||index|
|The current index. |
|Sets whether the repeat is a parent to nested repeats. |
|Set parent repeat (nested repeats) |
|attribute unsigned long||level|
|The tree level of this repeat (nested repeats) |
Add user of repeat-index.
The control will have Bind() and Refresh() called on it, when the index changes.
Get currently selected repeat row.
Retrieve the starting index for the repeat, that is the index that the repeat is initialized to.
It is the "startindex" attribute, corrected to be a valid index value.
Handle insertion of a node, ie.
eventually adjust index. Note that the node might not be influencing the repeat, it is the repeat's responsibility to check that.
|node||The node that was inserted|
Remove user of repeat-index.
|void nsIXFormsRepeatElement::setCurrentRepeat||(||in nsIXFormsRepeatElement||aCurrentRepeat,|
|in unsigned long||aIndex|
Set currently selected repeat and index value (nested repeats)
|aCurrentRepeat||The current repeat|
|aIndex||The current index value|
Set the current index, and return new value.
|aIsRefresh||Is this part of a refresh event?|