SimulationTimer

floodsim.view.component.SimulationTimer
class SimulationTimer extends UIComponent[JPanel]

Displays the simulation elapsed time in mm:ss format.

Attributes

Graph
Supertypes
trait UIComponent[JPanel]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def component: JPanel

Returns the underlying Swing component.

Returns the underlying Swing component.

Attributes

def updateTime(timer: Timer): Unit

Updates the displayed elapsed time.

Updates the displayed elapsed time.

Value parameters

timer

the Timer instance providing the elapsed time

Attributes