|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgps.gui.SimGuiControl
public class SimGuiControl
Control object of M/V/C, all the global commands are directed to this object
| Constructor Summary | |
|---|---|
SimGuiControl(SimGui sg)
constructs new control object with gui reference |
|
| Method Summary | |
|---|---|
void |
about()
simulator information |
ControlPanel |
getControlPanel()
get control panel |
GraphPanel |
getGraphPanel()
get graph panel |
SimGui |
getSimGui()
get gui |
double |
getVersion()
gets simulator version |
void |
loadInit()
loads initial value to gui |
void |
openConf()
opens configuration file |
void |
openGraph()
opens graph file through gui |
boolean |
openGraph(java.lang.String filepath)
opens graph file |
void |
openResume()
opens resume file, not implemented yet |
void |
options()
setting options |
void |
quit()
quit simulator |
void |
resetProgress()
reset progress bar |
void |
resume()
resume simulation |
void |
run()
run simulation |
void |
saveConf()
saves configuration file |
void |
setControlPanel(javax.swing.JPanel i)
set control panel |
void |
setGraphPanel(javax.swing.JPanel g)
set graph panel |
void |
stop()
pause simulation |
void |
terminate()
terminate simulation |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimGuiControl(SimGui sg)
sg - reference to SimGui| Method Detail |
|---|
public void setGraphPanel(javax.swing.JPanel g)
g - reference to graph panelpublic void setControlPanel(javax.swing.JPanel i)
i - reference to control panelpublic GraphPanel getGraphPanel()
public ControlPanel getControlPanel()
public SimGui getSimGui()
public void openConf()
public void saveConf()
public void loadInit()
public void openGraph()
public boolean openGraph(java.lang.String filepath)
filepath - path to the graph filepublic void openResume()
public void run()
public void stop()
public void resume()
public void terminate()
public void quit()
public void options()
public void about()
public void resetProgress()
public double getVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||