public class LoadXML extends 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.
exitOnClose, frameProperties, panel, properties, savedUserModifiedProperties
Constructor and Description |
---|
LoadXML() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAnimationToggles() |
String |
description() |
GTUColorer |
getColorer() |
static void |
main(String[] args)
Load a network from an XML file; program entry point.
|
protected 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, SimRuntimeException, NamingException, OTSSimulationException, PropertyException
args
- String[]; the command line arguments; optional name of file to loadIOException
- when the file could not be readPropertyException
- should never happenOTSSimulationException
- when an error occurs during simulationNamingException
- when a name collision is detectedSimRuntimeException
- should never happenpublic final String shortName()
public final String description()
protected final OTSModelInterface makeModel() throws OTSSimulationException
makeModel
in class AbstractWrappableAnimation
OTSSimulationException
protected final void addAnimationToggles()
addAnimationToggles
in class AbstractWrappableAnimation
public GTUColorer getColorer()
getColorer
in class AbstractWrappableAnimation
Copyright © 2014–2018 Delft University of Technology. All rights reserved.