|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulator.views.SimulationOptionsDlg
public class SimulationOptionsDlg
This window is used to get the SimulationOptions
for a simulation from the user.
Field Summary | |
---|---|
private javax.swing.JButton |
jButtonCancel
|
private javax.swing.JButton |
jButtonOK
|
private javax.swing.JCheckBox |
jCheckBox
|
private javax.swing.JCheckBox |
jCheckBox1
|
private javax.swing.JCheckBox |
jCheckBox2
|
private javax.swing.JCheckBox |
jCheckBox3
|
private javax.swing.JCheckBox |
jCheckBox4
|
private javax.swing.JCheckBox |
jCheckBox5
|
private javax.swing.JPanel |
jContentPane
|
private javax.swing.JDialog |
jDialog
|
private javax.swing.JLabel |
jLabel
|
private javax.swing.JLabel |
jLabel1
|
private javax.swing.JPanel |
jPanelOKCancel
|
private javax.swing.JTextField |
jTextField
|
private boolean |
okPressed
|
Constructor Summary | |
---|---|
SimulationOptionsDlg()
|
Method Summary | |
---|---|
boolean |
askUserForSimOptions(javax.swing.JFrame parent,
ScenarioConfig scenarioConfig,
SimulationOptions optionsIn,
SimulationOptions optionsOut)
Asks the user for some options that are required to execute a simulation. |
private javax.swing.JButton |
getJButtonCancel()
This method initializes jButtonCancel |
private javax.swing.JButton |
getJButtonOK()
This method initializes jButtonOK |
private javax.swing.JCheckBox |
getJCheckBox()
This method initializes jCheckBox |
private javax.swing.JCheckBox |
getJCheckBox1()
This method initializes jCheckBox1 |
private javax.swing.JCheckBox |
getJCheckBox2()
This method initializes jCheckBox2 |
private javax.swing.JCheckBox |
getJCheckBox3()
This method initializes jCheckBox3 |
private javax.swing.JCheckBox |
getJCheckBox4()
This method initializes jCheckBox4 |
private javax.swing.JCheckBox |
getJCheckBox5()
This method initializes jCheckBox5 |
private javax.swing.JPanel |
getJContentPane()
This method initializes jContentPane |
private javax.swing.JDialog |
getJDialog()
This method initializes jFrame |
private javax.swing.JPanel |
getJPanelOKCancel()
This method initializes jPanelOKCancel |
private javax.swing.JTextField |
getJTextField()
This method initializes jTextField |
boolean |
isOkPressed()
|
boolean |
performOperations(javax.swing.JFrame parent,
ScenarioConfig scenarioConfig,
PlanetLabMgr planetLabApi,
PlanetLabXmlRpcCaller planetSh,
NodeEdgeMap map,
Simulator sim,
SimulationOptions options)
Performs the operations needed before a simulation can be started. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private javax.swing.JDialog jDialog
private javax.swing.JPanel jContentPane
private javax.swing.JLabel jLabel
private javax.swing.JCheckBox jCheckBox
private javax.swing.JCheckBox jCheckBox1
private javax.swing.JCheckBox jCheckBox2
private javax.swing.JCheckBox jCheckBox3
private javax.swing.JCheckBox jCheckBox4
private javax.swing.JCheckBox jCheckBox5
private javax.swing.JLabel jLabel1
private javax.swing.JTextField jTextField
private javax.swing.JPanel jPanelOKCancel
private javax.swing.JButton jButtonOK
private javax.swing.JButton jButtonCancel
private boolean okPressed
Constructor Detail |
---|
public SimulationOptionsDlg()
Method Detail |
---|
private javax.swing.JDialog getJDialog()
private javax.swing.JPanel getJContentPane()
private javax.swing.JCheckBox getJCheckBox()
private javax.swing.JCheckBox getJCheckBox1()
private javax.swing.JCheckBox getJCheckBox2()
private javax.swing.JCheckBox getJCheckBox3()
private javax.swing.JCheckBox getJCheckBox4()
private javax.swing.JCheckBox getJCheckBox5()
private javax.swing.JTextField getJTextField()
private javax.swing.JPanel getJPanelOKCancel()
private javax.swing.JButton getJButtonOK()
private javax.swing.JButton getJButtonCancel()
public boolean isOkPressed()
public boolean askUserForSimOptions(javax.swing.JFrame parent, ScenarioConfig scenarioConfig, SimulationOptions optionsIn, SimulationOptions optionsOut)
parent
- scenarioConfig
- optionsIn
- optionsOut
-
public boolean performOperations(javax.swing.JFrame parent, ScenarioConfig scenarioConfig, PlanetLabMgr planetLabApi, PlanetLabXmlRpcCaller planetSh, NodeEdgeMap map, Simulator sim, SimulationOptions options)
parent
- scenarioConfig
- planetLabApi
- planetSh
- sim
- options
- - tells which operations should be performed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |