Package gld.sim.stats

Examples of gld.sim.stats.StatisticsOverlay


      speedChoice.add((String)(e.nextElement()));
   
    setSpeed((int)(speedTexts.length / 2));
    setCycleCounterEnabled(true);
   
    statsOverlay = new StatisticsOverlay(view,m.getInfrastructure());
   
    //setTLC(0, 1); // Random
    setTLC(0, 4); // IAtracos
    setDrivingPolicy(0);
   
View Full Code Here


  public void load(XMLElement myElement,XMLLoader loader)
    throws XMLTreeException, IOException, XMLInvalidInputException
  super.load(myElement,loader);
    // TODO restore menu options/choices in GUI
    statsOverlay = new StatisticsOverlay(view,getSimModel().getInfrastructure());
    if (XMLUtils.getLastName(statsOverlay).equals(loader.getNextElementName()))
    {  System.out.println("Loading stats");
      loader.load(this, statsOverlay);
    }
  }
View Full Code Here

    }
  }

  /** Enables the statistics overlay */
  public void enableOverlay() {
    statsOverlay = new StatisticsOverlay(view, getSimModel().getInfrastructure());
      getSimModel().addObserver(statsOverlay);
      view.addOverlay(statsOverlay);
  }
View Full Code Here

TOP

Related Classes of gld.sim.stats.StatisticsOverlay

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.