ParametersPanel

floodsim.view.panel.ParametersPanel
class ParametersPanel(navigationController: NavigationController) extends UIComponent[JPanel]

Panel for configuring simulation parameters before starting a run. Provides sliders for:

  • Grid size (cells per side)
  • Weather expansion (%)
  • Cell flooded threshold (%)
  • Map flooded threshold (%) Actions:
  • "Simulation": builds floodsim.model.state.SimulationParams from current values and navigates to the simulation view.
  • "Back": returns to the welcome view.

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