Skip past navigation linksSecure Global Desktop 4.31 Administration Guide > Applets > getNextIteratorElement (webtop script and webtop tray applets)

getNextIteratorElement (webtop script and webtop tray applets)

Syntax

Skip past command syntax or program codeString getNextIteratorElement(String iteratorHandle)

Description

Returns the name of the next object found in the iterator identified by iteratorHandle.

iteratorHandle is the handle to an iterator previously created with one of the getIterator methods.

This method can be used with either the webtop script applet or the webtop tray applet.

Examples

Skip past command syntax or program codewhile (applet.getIteratorHasMoreElements(iterator) == "TRUE"){

    current = applet.getNextIteratorElement(iterator);
}

Iterates through all elements in sequential order.

Note The code doesn't form a complete example. You'll need to add your own code and adapt it to produce a working example.

Related topics