new ControlIterator(oRoot)
Class responsible for iterating through the control tree.
It performs a BFS ordered iteration of the tree, excluding
the root control itself.
Parameters:
Name | Type | Description |
---|---|---|
oRoot |
sap.ui.core.Element | The root element. |
- Source:
Methods
-
next()
-
Goes to the next element in the tree.
- Source:
Returns:
Returns the next element
or null if none exists.- Type
- sap.ui.core.Element | null
-
remove()
-
Removes the element which was previously returned
by thenext
method.- Source:
Returns:
- Type
- void