Class CrossingTrafficLightsSwing

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

public class CrossingTrafficLightsSwing
extends OTSSimulationApplication<CrossingTrafficLightsModel>
implements UNITS
Demonstration of a crossing with traffic lights.

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

$LastChangedDate: 2016-10-28 16:34:11 +0200 (Fri, 28 Oct 2016) $, @version $Revision: 2429 $, by $Author: pknoppers $, initial version 12 nov. 2014

Author:
Peter Knoppers
See Also:
Serialized Form
  • Constructor Details

  • 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