Class LMiter

    • Field Detail

      • listLMs

        protected java.util.List<LayoutManager> listLMs
        list of layout managers
      • curPos

        protected int curPos
        current position in iteration
      • lp

        private LayoutManager lp
        The LayoutManager to which this LMiter is attached
    • Constructor Detail

      • LMiter

        public LMiter​(LayoutManager lp)
        Construct a layout manager iterator.
        Parameters:
        lp - the associated layout manager (parent)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<LayoutManager>
        Specified by:
        hasNext in interface java.util.ListIterator<LayoutManager>
      • hasPrevious

        public boolean hasPrevious()
        Specified by:
        hasPrevious in interface java.util.ListIterator<LayoutManager>
      • previous

        public LayoutManager previous()
                               throws java.util.NoSuchElementException
        Specified by:
        previous in interface java.util.ListIterator<LayoutManager>
        Throws:
        java.util.NoSuchElementException
      • next

        public LayoutManager next()
                           throws java.util.NoSuchElementException
        Specified by:
        next in interface java.util.Iterator<LayoutManager>
        Specified by:
        next in interface java.util.ListIterator<LayoutManager>
        Throws:
        java.util.NoSuchElementException
      • remove

        public void remove()
                    throws java.util.NoSuchElementException
        Specified by:
        remove in interface java.util.Iterator<LayoutManager>
        Specified by:
        remove in interface java.util.ListIterator<LayoutManager>
        Throws:
        java.util.NoSuchElementException
      • add

        public void add​(LayoutManager lm)
                 throws java.lang.UnsupportedOperationException
        Specified by:
        add in interface java.util.ListIterator<LayoutManager>
        Throws:
        java.lang.UnsupportedOperationException
      • set

        public void set​(LayoutManager lm)
                 throws java.lang.UnsupportedOperationException
        Specified by:
        set in interface java.util.ListIterator<LayoutManager>
        Throws:
        java.lang.UnsupportedOperationException
      • nextIndex

        public int nextIndex()
        Specified by:
        nextIndex in interface java.util.ListIterator<LayoutManager>
      • previousIndex

        public int previousIndex()
        Specified by:
        previousIndex in interface java.util.ListIterator<LayoutManager>