org.argouml.ui
Class ChildGenSearch

java.lang.Object
  extended by org.argouml.ui.ChildGenSearch
All Implemented Interfaces:
org.argouml.util.ChildGenerator

public class ChildGenSearch
extends java.lang.Object
implements org.argouml.util.ChildGenerator

ChildGenerator that returns the "children" of any given part of the project. It traverses a Project to Diagrams and Models, then uses getModelElementContents to traverse the Models.


Constructor Summary
ChildGenSearch()
           
 
Method Summary
 java.util.Iterator childIterator(java.lang.Object o)
          Reply a Collection of the children of the given Object Get an Iterator which iterates through the children of the given object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildGenSearch

public ChildGenSearch()
Method Detail

childIterator

public java.util.Iterator childIterator(java.lang.Object o)
Reply a Collection of the children of the given Object Get an Iterator which iterates through the children of the given object

Specified by:
childIterator in interface org.argouml.util.ChildGenerator
Parameters:
o - the parent of the children to be iterated through
Returns:
an iterator for the children of the given parent


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook