public interface ExperimentStarterGUI
ExperimentStarter| Modifier and Type | Method and Description |
|---|---|
void |
clockAdvanced(java.lang.String currentTime,
double timePercent,
long startTime)
Called by ExperimentStarter when the currently active experiment's
SimClock is advanced
|
java.lang.String |
loadDialog(java.lang.String currentFilename)
should open a new FileDialog to load a File and return the new filename
if no new filename is given currentFilename should be returned
|
void |
loadModel()
Called by ExperimentStarter when a new Model shall be loaded
|
void |
resetGUI(java.lang.String filename,
boolean runsBatch,
AccessPointTableModel modelAccessPoints,
AccessPointTableModel expAccessPoints,
java.lang.String modelName)
should reset the gui to start settings
|
java.lang.String |
saveDialog(java.lang.String currentFilename)
should open a new FileDialog to save a File currentFilename should be
preselected if no new filename is given null should be returned
|
void |
setPaused()
should set all buttons etc. for a paused experiment
|
void |
setRunning()
should set all buttons etc. for a running experiment
|
void |
setStopped(java.lang.String currentTime,
long startTime,
java.lang.String experimentValues,
java.lang.String outputPath,
java.lang.String[] appendixes)
should set all buttons etc. for a stopped experiment
|
void resetGUI(java.lang.String filename,
boolean runsBatch,
AccessPointTableModel modelAccessPoints,
AccessPointTableModel expAccessPoints,
java.lang.String modelName)
filename - String: the name of the configuration file in userunsBatch - boolean: true if a batch run is to be made,
false for single experiment runsmodelAccessPoints - AccessPointTableModel: the access points for the model settingsexpAccessPoints - AccessPointTableModel: the access points for the experiment settingsmodelName - Sting: the name of the model in usevoid clockAdvanced(java.lang.String currentTime,
double timePercent,
long startTime)
currentTime - String: the current simulation timetimePercent - double: percentage of the simulation donestartTime - long: the start time of the simulationvoid loadModel()
java.lang.String loadDialog(java.lang.String currentFilename)
currentFilename - String: the filename of the configuration in usejava.lang.String saveDialog(java.lang.String currentFilename)
currentFilename - String: the filename of the configuration in usevoid setRunning()
void setStopped(java.lang.String currentTime,
long startTime,
java.lang.String experimentValues,
java.lang.String outputPath,
java.lang.String[] appendixes)
currentTime - String: the current simulation timestartTime - long: the starting time of the experiment runexperimentValues - String: the current values of the experiment parametersoutputPath - String: the path the experiment output is written toappendixes - String[]: the file endings of the four output files (.html,
.txt, .xml)void setPaused()