summaryrefslogtreecommitdiff
path: root/sources/prefs/editors/VSSimulatorEditor.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-25 08:10:13 +0000
committerPaul Buetow <paul@buetow.org>2008-05-25 08:10:13 +0000
commitc015d586d22b69078b6da61858e5675793856b0b (patch)
treeefbc9881cf59363abef52a0beb5eedf9e81a224a /sources/prefs/editors/VSSimulatorEditor.java
parent62fe28f0b0b0c9ebde18a6dc33907889ff3aa21b (diff)
JAutoDoc :)
Diffstat (limited to 'sources/prefs/editors/VSSimulatorEditor.java')
-rw-r--r--sources/prefs/editors/VSSimulatorEditor.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/sources/prefs/editors/VSSimulatorEditor.java b/sources/prefs/editors/VSSimulatorEditor.java
index 36593ac..1264377 100644
--- a/sources/prefs/editors/VSSimulatorEditor.java
+++ b/sources/prefs/editors/VSSimulatorEditor.java
@@ -1,3 +1,7 @@
+/*
+ * VS is (c) 2008 by Paul C. Buetow
+ * vs@dev.buetow.org
+ */
package prefs.editors;
import java.awt.event.*;
@@ -6,12 +10,31 @@ import javax.swing.*;
import simulator.*;
import prefs.*;
+// TODO: Auto-generated Javadoc
+/**
+ * The Class VSSimulatorEditor.
+ */
public class VSSimulatorEditor extends VSBetterEditor {
+
+ /** The simulator frame. */
private VSSimulatorFrame simulatorFrame;
+
+ /** The simulation. */
private VSSimulator simulation;
+
+ /** The TAKEOVE r_ button. */
public static boolean TAKEOVER_BUTTON;
+
+ /** The dont start new simulation. */
private boolean dontStartNewSimulation;
+ /**
+ * Instantiates a new vS simulator editor.
+ *
+ * @param prefs the prefs
+ * @param simulatorFrame the simulator frame
+ * @param simulation the simulation
+ */
public VSSimulatorEditor(VSPrefs prefs, VSSimulatorFrame simulatorFrame, VSSimulator simulation) {
super(prefs, prefs, prefs.getString("lang.name")
+ " - " + prefs.getString("lang.prefs"));
@@ -20,12 +43,21 @@ public class VSSimulatorEditor extends VSBetterEditor {
this.simulation = simulation;
}
+ /**
+ * Instantiates a new vS simulator editor.
+ *
+ * @param prefs the prefs
+ * @param simulatorFrame the simulator frame
+ */
public VSSimulatorEditor(VSPrefs prefs, VSSimulatorFrame simulatorFrame) {
super(prefs, prefs, prefs.getString("lang.name")
+ " - " + prefs.getString("lang.prefs"));
this.simulatorFrame = simulatorFrame;
}
+ /* (non-Javadoc)
+ * @see prefs.editors.VSBetterEditor#addToButtonPanelFront(javax.swing.JPanel)
+ */
protected void addToButtonPanelFront(JPanel buttonPanel) {
if (TAKEOVER_BUTTON) {
TAKEOVER_BUTTON = false;
@@ -37,6 +69,9 @@ public class VSSimulatorEditor extends VSBetterEditor {
}
}
+ /* (non-Javadoc)
+ * @see prefs.editors.VSBetterEditor#actionPerformed(java.awt.event.ActionEvent)
+ */
public void actionPerformed(ActionEvent e) {
String actionCommand = e.getActionCommand();