Class TestNetworkDemo

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class TestNetworkDemo
extends OTSSimulationApplication<org.opentrafficsim.demo.conflict.TestNetworkDemo.TestNetworkModel>

Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version 11 dec. 2016
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
See Also:
Serialized Form
  • Constructor Details

    • TestNetworkDemo

      public TestNetworkDemo​(String title, OTSAnimationPanel panel, org.opentrafficsim.demo.conflict.TestNetworkDemo.TestNetworkModel model) throws OTSDrawingException
      Create a network test demo.
      Parameters:
      title - String; the title of the Frame
      panel - OTSAnimationPanel; the tabbed panel to display
      model - TestNetworkModel; the model
      Throws:
      OTSDrawingException - on animation error
  • Method Details

    • main

      public static void main​(String[] args)
      Main program.
      Parameters:
      args - String[]; the command line arguments (not used)
    • demo

      public static void demo​(boolean exitOnClose)
      Start the demo.
      Parameters:
      exitOnClose - boolean; when running stand-alone: true; when running as part of a demo: false