public void markChildNodes(Vector<BoxNode> list)
    {
        final Box thisBox = this.getBox(); 
        for (Iterator<BoxNode> it = list.iterator(); it.hasNext();)
        {
            BoxNode node = it.next();
            if (node != this && node.getBox().getParent() == thisBox)
                node.nearestParent = this;
        }        
    }
public void markChildNodes(Vector<BoxNode> list)
    {
        final Box thisBox = this.getBox(); 
        for (Iterator<BoxNode> it = list.iterator(); it.hasNext();)
        {
            BoxNode node = it.next();
            if (node != this && node.getBox().getParent() == thisBox)
                node.nearestParent = this;
        }        
    }
public void markChildNodes ( Vector < BoxNode > list ) { final Box thisBox = this . getBox ( ) ; for ( Iterator < BoxNode > it = list . iterator ( ) ; it . hasNext ( ) ; ) { BoxNode node = it . next ( ) ; if ( node != this && node . getBox ( ) . getParent ( ) == thisBox ) node . nearestParent = this ; } }
Takes a list of nodes and selects the nodes whose parent box is identical to this node's box.
The {@code nearestParent} of the selected boxes is set to this box node.
@param list the list of nodes to test
Takes a list of nodes and selects the nodes whose parent box is identical to this node s box . The {