diff options
| author | Paul Buetow <paul@buetow.org> | 2008-06-11 09:48:10 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-06-11 09:48:10 +0000 |
| commit | 0e2e70d5a393024f3ae4a3a3560b4df51075000a (patch) | |
| tree | 27c659d282bec3508304d5fa80a34a1662185950 /sources/prefs/editors/VSSimulatorEditor.java | |
| parent | 412a1ac0e6311fe39452ae41b6eada4ef17cce34 (diff) | |
More javadoc.
Several bugfixes.
New feauture: Boolean: sim.periodic
A lot of more which i forgot!
Diffstat (limited to 'sources/prefs/editors/VSSimulatorEditor.java')
| -rw-r--r-- | sources/prefs/editors/VSSimulatorEditor.java | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/sources/prefs/editors/VSSimulatorEditor.java b/sources/prefs/editors/VSSimulatorEditor.java index a8d3705..d900692 100644 --- a/sources/prefs/editors/VSSimulatorEditor.java +++ b/sources/prefs/editors/VSSimulatorEditor.java @@ -29,15 +29,19 @@ import javax.swing.*; import simulator.*; import prefs.*; -// TODO: Auto-generated Javadoc /** - * The class VSSimulatorEditor. + * The class VSSimulatorEditor, is for editing a VSSimulator object. + * + * @author Paul C. Buetow */ public class VSSimulatorEditor extends VSAbstractBetterEditor { + /** The serial version uid */ private static final long serialVersionUID = 1L; + /** The constant OPENED_NEW_WINDOW */ public static final boolean OPENED_NEW_WINDOW = true; + /** The constant OPENED_NEW_TAB */ public static final boolean OPENED_NEW_TAB = false; /** The simulator frame. */ @@ -56,7 +60,7 @@ public class VSSimulatorEditor extends VSAbstractBetterEditor { private boolean openedNewWindow; /** - * Instantiates a new lang.process.removesimulator editor. + * Instantiates a new VSSimulatorEditor object. * * @param prefs the prefs * @param simulatorFrame the simulator frame @@ -72,7 +76,7 @@ public class VSSimulatorEditor extends VSAbstractBetterEditor { } /** - * Instantiates a new lang.process.removesimulator editor. + * Instantiates a new VSSimulatorEditor object. * * @param prefs the prefs * @param simulatorFrame the simulator frame @@ -86,7 +90,8 @@ public class VSSimulatorEditor extends VSAbstractBetterEditor { } /* (non-Javadoc) - * @see prefs.editors.VSAbstractBetterEditor#addToButtonPanelFront(javax.swing.JPanel) + * @see prefs.editors.VSAbstractBetterEditor#addToButtonPanelFront( + * javax.swing.JPanel) */ protected void addToButtonPanelFront(JPanel buttonPanel) { if (TAKEOVER_BUTTON) { @@ -100,7 +105,8 @@ public class VSSimulatorEditor extends VSAbstractBetterEditor { } /* (non-Javadoc) - * @see prefs.editors.VSAbstractBetterEditor#actionPerformed(java.awt.event.ActionEvent) + * @see prefs.editors.VSAbstractBetterEditor#actionPerformed( + * java.awt.event.ActionEvent) */ public void actionPerformed(ActionEvent e) { String actionCommand = e.getActionCommand(); @@ -125,7 +131,8 @@ public class VSSimulatorEditor extends VSAbstractBetterEditor { simulator.fireExpertModeChanged(); } if (!dontStartNewSimulator) - simulatorFrame.addSimulator(new VSSimulator(prefsToEdit, simulatorFrame)); + simulatorFrame.addSimulator(new VSSimulator(prefsToEdit, + simulatorFrame)); else if (simulator != null) simulator.updateFromPrefs(); |
