Package uk.ac.man.cs.mig.util.graph.controller

Examples of uk.ac.man.cs.mig.util.graph.controller.GraphGenerator


  public void setGraphGenerator(GraphGenerator generator) {
    if(generator == null) {
      throw new NullPointerException("GraphGenerator must not be null");
    }

    GraphGenerator oldGraphGenerator = this.graphGenerator;
    this.graphGenerator = generator;
    Iterator it = oldGraphGenerator.getGraphGeneratorListeners();
    while(it.hasNext()) {
      GraphGeneratorListener lsnr = (GraphGeneratorListener) it.next();
      graphGenerator.addGraphGeneratorListener(lsnr);
      it.remove();
    }
View Full Code Here

TOP

Related Classes of uk.ac.man.cs.mig.util.graph.controller.GraphGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.