Class DevsControlPanel.TimeDoubleUnit

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
nl.tudelft.simulation.dsol.swing.gui.control.AbstractControlPanel<T,S>
nl.tudelft.simulation.dsol.swing.gui.control.DevsControlPanel<org.djunits.value.vdouble.scalar.Duration,DevsSimulatorInterface<org.djunits.value.vdouble.scalar.Duration>>
nl.tudelft.simulation.dsol.swing.gui.control.DevsControlPanel.TimeDoubleUnit
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.TimeDoubleUnit extends DevsControlPanel<org.djunits.value.vdouble.scalar.Duration,DevsSimulatorInterface<org.djunits.value.vdouble.scalar.Duration>>
DEVS ControlPanel for a djunits 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

    • TimeDoubleUnit

      public TimeDoubleUnit(DsolModel<org.djunits.value.vdouble.scalar.Duration,? extends DevsSimulatorInterface<org.djunits.value.vdouble.scalar.Duration>> model, DevsSimulatorInterface<org.djunits.value.vdouble.scalar.Duration> simulator) throws RemoteException
      Construct a DEVS control panel for a djunits double time unit, with a different set of control buttons. The control panel assumes a DevsSimulator, but not animation.
      Parameters:
      model - DsolModel<Duration>; the model for the control panel, to allow a reset of the model
      simulator - DevsSimulatorInterface<Duration>; 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