Class SpeedPanel.TimeFloat

    • Constructor Detail

      • TimeFloat

        public TimeFloat​(SimulatorInterface<Float> simulator)
        Construct a clock panel with a float time.
        Parameters:
        simulator - SimulatorInterface; the simulator
    • Method Detail

      • formatSpeed

        protected String formatSpeed​(Float simulationTime)
        Returns the simulation speed as a String.
        Specified by:
        formatSpeed in class SpeedPanel<Float>
        Parameters:
        simulationTime - A; simulation time
        Returns:
        simulation speed