Class DevsControlPanel.TimeDouble

All Implemented Interfaces:
ActionListener, WindowListener, ImageObserver, MenuContainer, Serializable, Remote, EventListener, Accessible, org.djutils.event.EventListener
Enclosing class:
DevsControlPanel<T extends Number & Comparable<T>,S extends DevsSimulatorInterface<T>>

public static class DevsControlPanel.TimeDouble extends DevsControlPanel<Double,DevsSimulatorInterface<Double>>
DEVS ControlPanel for a Double timeunit.

Copyright (c) 2020-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information DSOL Manual. The DSOL project is distributed under a three-clause BSD-style license, which can be found at DSOL License.

Author:
Alexander Verbraeck
See Also:
  • Constructor Details

    • TimeDouble

      public TimeDouble(DsolModel<Double,? extends DevsSimulatorInterface<Double>> model, DevsSimulatorInterface<Double> simulator) throws RemoteException
      Construct a DEVS control panel for a Double time unit, with a different set of control buttons. The control panel assumes a DevsSimulator, but not animation.
      Parameters:
      model - DsolModel<Double>; the model for the control panel, to allow a reset of the model
      simulator - DevsSimulatorInterface<Double>; the simulator. Specified separately, because the model can have been specified with a superclass of the simulator that the ControlPanel actually needs (e.g., model has been specified with a DevsAnimator, whereas the panel needs a RealTimeControlAnimator)
      Throws:
      RemoteException - when simulator cannot be accessed for listener attachment