過去のナビゲーションリンクのスキップSecure Global Desktop 4.31 管理者ガイド > アプレット > getIteratorForAllOpenHierarchyLevels (Webtop スクリプトアプレットおよび Webtop トレイアプレット)

getIteratorForAllOpenHierarchyLevels (Webtop スクリプトアプレットおよび Webtop トレイアプレット)

構文

過去のコマンド構文またはプログラムコードのスキップString getIteratorForAllOpenHierarchyLevels(String iteratorContentType)

説明

Returns a handle to an iterator that can parse all the objects the webtop script applet currently knows about. This is useful if you want to manipulate multiple webtop objects.

iteratorContentType is the type of object to be parsed using the iterator, and may be "GROUPTYPE", "ALLTYPE", "APPLICATIONTYPE", or "DOCUMENTTYPE".

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

過去のコマンド構文またはプログラムコードのスキップiterator = applet.getIteratorForAllOpenHierarchyLevels("ALLTYPE");

while (applet.getIteratorHasMoreElements(iterator) == "TRUE") {

  current = applet.getNextIteratorElement(iterator);
}

Shows how you can iterate through all objects on all open levels in sequential order.

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

関連トピック