Class LayoutableChildren.LayoutIterator

java.lang.Object
org.appliedenergistics.yoga.node.LayoutableChildren.LayoutIterator
All Implemented Interfaces:
Iterator<YogaNode>
Enclosing class:
LayoutableChildren

public static class LayoutableChildren.LayoutIterator extends Object implements Iterator<YogaNode>
Iterator implementation for LayoutableChildren that handles Display.CONTENTS nodes. Includes C++-style current() method for accessing the current element without advancing.
  • Constructor Details

    • LayoutIterator

      public LayoutIterator(YogaNode node, int childIndex)
      Creates a new iterator starting at the specified node and child index.
      Parameters:
      node - The node to iterate children from
      childIndex - The starting child index
  • Method Details