Class CmsGalleriesTab.TreeItemGenerator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Iterator<org.opencms.ade.galleries.shared.CmsGalleryTreeEntry> m_beanIterator
      The internal iterator over the gallery beans.
    • Constructor Summary

      Constructors 
      Constructor Description
      TreeItemGenerator​(java.util.List<org.opencms.ade.galleries.shared.CmsGalleryTreeEntry> folders)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      CmsTreeItem next()  
      void remove()  
      • 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 Detail

      • m_beanIterator

        protected java.util.Iterator<org.opencms.ade.galleries.shared.CmsGalleryTreeEntry> m_beanIterator
        The internal iterator over the gallery beans.

    • Constructor Detail

      • TreeItemGenerator

        public TreeItemGenerator​(java.util.List<org.opencms.ade.galleries.shared.CmsGalleryTreeEntry> folders)
        Creates a new instance.

        Parameters:
        folders - the folders from which to generate list items
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<CmsTreeItem>
        See Also:
        Iterator.hasNext()
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<CmsTreeItem>
        See Also:
        Iterator.remove()