public class LoadXML
extends org.opentrafficsim.simulationengine.AbstractWrappableAnimation
Copyright (c) 2013-2018 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 |
---|---|
protected void |
addAnimationToggles() |
String |
description() |
org.opentrafficsim.core.gtu.animation.GTUColorer |
getColorer() |
static void |
main(String[] args)
Load a network from an XML file; program entry point.
|
protected org.opentrafficsim.core.dsol.OTSModelInterface |
makeModel() |
String |
shortName() |
addTab, addTabs, addToggleAnimationButtonIcon, addToggleAnimationButtonText, addToggleGISButtonText, buildAnimator, buildSimpleAnimator, buildSimpleAnimator, getAppearance, getDemoPanel, getPanel, getProperties, getTabCount, getUserModifiedProperties, hideAnimationClass, hideGISLayer, makeAnimationRectangle, rebuildSimulator, setAppearance, setNextReplication, setupDemo, 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; optional name of file to loadIOException
- 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() throws org.opentrafficsim.simulationengine.OTSSimulationException
makeModel
in class org.opentrafficsim.simulationengine.AbstractWrappableAnimation
org.opentrafficsim.simulationengine.OTSSimulationException
protected final void addAnimationToggles()
addAnimationToggles
in class org.opentrafficsim.simulationengine.AbstractWrappableAnimation
public org.opentrafficsim.core.gtu.animation.GTUColorer getColorer()
getColorer
in class org.opentrafficsim.simulationengine.AbstractWrappableAnimation
Copyright © 2014–2018 Delft University of Technology. All rights reserved.