public class SimulationHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected SimulationUI |
simulationUI |
Constructor and Description |
---|
SimulationHandler(SimulationUI simulationUI) |
Modifier and Type | Method and Description |
---|---|
void |
afterInit() |
protected SimulationParameter |
getParameters() |
void |
importSimulation()
Open user dialog to selected a parameter file.
|
protected void |
importSimulation(File f)
Load simulation parameter file.
|
void |
prepareSimulation()
Open user dialog to selected a ZIP file.
|
void |
saveSimulation()
Save current parameter in user selected parameter output file.
|
protected void |
saveSimulation(File f)
Save current simulation to given file.
|
protected SimulationUI simulationUI
public SimulationHandler(SimulationUI simulationUI)
protected SimulationParameter getParameters()
public void afterInit()
public void importSimulation()
SimulationUI.refresh()
.public void saveSimulation()
protected void importSimulation(File f)
f
- TODO public just for sensitivityprotected void saveSimulation(File f)
f
- file to save simulation to
TODO public just for sensitivitypublic void prepareSimulation()
Copyright © 1999–2020 CodeLutin. All rights reserved.