Class NetworksSwing

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, UNITS

public class NetworksSwing
extends OTSSimulationApplication<NetworksModel>
implements UNITS
Simplest contour plots demonstration.

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: 2019-01-06 01:35:05 +0100 (Sun, 06 Jan 2019) $, @version $Revision: 4831 $, by $Author: averbraeck $, initial version 12 nov. 2014

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

  • Method Details

    • addTabs

      protected void addTabs()
      Overrides:
      addTabs in class OTSSimulationApplication<NetworksModel>
    • main

      public static void main​(java.lang.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
    • addStatisticsTabs

      protected final void addStatisticsTabs​(OTSSimulatorInterface simulator)
      Add the statistics tabs.
      Parameters:
      simulator - OTSSimulatorInterface; the simulator on which sampling can be scheduled