public class LoadXML
extends org.opentrafficsim.simulationengine.AbstractWrappableAnimation
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Class and Description |
---|---|
(package private) class |
LoadXML.XMLModel
The network.
|
Constructor and Description |
---|
LoadXML() |
Modifier and Type | Method and Description |
---|---|
String |
description() |
static void |
main(String[] args)
Load a network from an XML file; program entry point.
|
protected org.opentrafficsim.core.dsol.OTSModelInterface |
makeModel(org.opentrafficsim.core.gtu.animation.GTUColorer colorer) |
String |
shortName() |
addAnimationToggles, addTab, addTabs, addToggleAnimationButtonIcon, addToggleAnimationButtonText, addToggleGISButtonText, buildAnimator, buildSimpleAnimator, buildSimpleAnimator, getColorer, getPanel, getProperties, getTabCount, getUserModifiedProperties, hideAnimationClass, hideGISLayer, makeAnimationRectangle, rebuildSimulator, setNextReplication, showAnimationClass, showGISLayer, stopTimersThreads, toggleAnimationClass, toggleGISLayer
public static void main(String[] args) throws IOException, nl.tudelft.simulation.dsol.SimRuntimeException, NamingException, org.opentrafficsim.simulationengine.OTSSimulationException, org.opentrafficsim.base.modelproperties.PropertyException
args
- String[]; the command line arguments (currently not used)IOException
- when the file could not be readorg.opentrafficsim.base.modelproperties.PropertyException
- should never happenorg.opentrafficsim.simulationengine.OTSSimulationException
- when an error occurs during simulationNamingException
- when a name collision is detectednl.tudelft.simulation.dsol.SimRuntimeException
- should never happenpublic final String shortName()
public final String description()
protected final org.opentrafficsim.core.dsol.OTSModelInterface makeModel(org.opentrafficsim.core.gtu.animation.GTUColorer colorer) throws org.opentrafficsim.simulationengine.OTSSimulationException
makeModel
in class org.opentrafficsim.simulationengine.AbstractWrappableAnimation
org.opentrafficsim.simulationengine.OTSSimulationException
Copyright © 2014–2017 Delft University of Technology. All rights reserved.