Class CmsGalleriesTab.ListItemGenerator

    • Field Summary

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

      Constructors 
      Constructor Description
      ListItemGenerator​(java.util.List<org.opencms.ade.galleries.shared.CmsGalleryFolderBean> 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.CmsGalleryFolderBean> m_beanIterator
        The internal iterator over the gallery beans.
    • Constructor Detail

      • ListItemGenerator

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

        Parameters:
        folders - the list of folders for 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()