Class CmsGalleriesTab.TreeItemGenerator
java.lang.Object
org.opencms.ade.galleries.client.ui.CmsGalleriesTab.TreeItemGenerator
- All Implemented Interfaces:
Iterator<CmsTreeItem>
- Enclosing class:
- CmsGalleriesTab
A class which generates tree items incrementally to fill the galleries tab.
-
Field Summary
Modifier and TypeFieldDescriptionprotected Iterator<org.opencms.ade.galleries.shared.CmsGalleryTreeEntry>
The internal iterator over the gallery beans. -
Constructor Summary
ConstructorDescriptionTreeItemGenerator
(List<org.opencms.ade.galleries.shared.CmsGalleryTreeEntry> folders) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
m_beanIterator
The internal iterator over the gallery beans.
-
-
Constructor Details
-
TreeItemGenerator
Creates a new instance.- Parameters:
folders
- the folders from which to generate list items
-
-
Method Details
-
hasNext
- Specified by:
hasNext
in interfaceIterator<CmsTreeItem>
- See Also:
-
next
- Specified by:
next
in interfaceIterator<CmsTreeItem>
- See Also:
-
remove
- Specified by:
remove
in interfaceIterator<CmsTreeItem>
- See Also:
-