summaryrefslogtreecommitdiff
path: root/sources/prefs/editors/VSBetterEditor.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/VSBetterEditor.java
parent62fe28f0b0b0c9ebde18a6dc33907889ff3aa21b (diff)
JAutoDoc :)
Diffstat (limited to 'sources/prefs/editors/VSBetterEditor.java')
-rw-r--r--sources/prefs/editors/VSBetterEditor.java55
1 files changed, 55 insertions, 0 deletions
diff --git a/sources/prefs/editors/VSBetterEditor.java b/sources/prefs/editors/VSBetterEditor.java
index 289749d..211e8ed 100644
--- a/sources/prefs/editors/VSBetterEditor.java
+++ b/sources/prefs/editors/VSBetterEditor.java
@@ -1,3 +1,7 @@
+/*
+ * VS is (c) 2008 by Paul C. Buetow
+ * vs@dev.buetow.org
+ */
package prefs.editors;
import java.awt.*;
@@ -7,26 +11,58 @@ import javax.swing.*;
import prefs.*;
import utils.*;
+// TODO: Auto-generated Javadoc
+/**
+ * The Class VSBetterEditor.
+ */
public abstract class VSBetterEditor extends VSEditor {
+
+ /** The content pane. */
private Container contentPane;
+
+ /** The info area. */
private VSInfoArea infoArea;
+
+ /** The title. */
private String title;
+ /**
+ * Instantiates a new vS better editor.
+ *
+ * @param prefs the prefs
+ * @param prefsToEdit the prefs to edit
+ * @param title the title
+ */
public VSBetterEditor(VSPrefs prefs, VSPrefs prefsToEdit, String title) {
super(prefs, prefsToEdit);
this.title = title;
this.contentPane = createContentPane();
}
+ /**
+ * Gets the title.
+ *
+ * @return the title
+ */
public String getTitle() {
return title;
}
+ /**
+ * Gets the content pane.
+ *
+ * @return the content pane
+ */
public Container getContentPane() {
contentPane.setBackground(Color.WHITE);
return contentPane;
}
+ /**
+ * Creates the content pane.
+ *
+ * @return the j panel
+ */
private JPanel createContentPane() {
JPanel panel = new JPanel();
panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
@@ -43,10 +79,24 @@ public abstract class VSBetterEditor extends VSEditor {
return panel;
}
+ /* (non-Javadoc)
+ * @see prefs.editors.VSEditor#addToButtonPanelFront(javax.swing.JPanel)
+ */
protected void addToButtonPanelFront(JPanel buttonPanel) { }
+
+ /* (non-Javadoc)
+ * @see prefs.editors.VSEditor#addToButtonPanelLast(javax.swing.JPanel)
+ */
protected void addToButtonPanelLast(JPanel buttonPanel) { }
+
+ /* (non-Javadoc)
+ * @see prefs.editors.VSEditor#addToEditTableLast()
+ */
protected void addToEditTableLast() { }
+ /* (non-Javadoc)
+ * @see prefs.editors.VSEditor#actionPerformed(java.awt.event.ActionEvent)
+ */
public void actionPerformed(ActionEvent e) {
//String actionCommand = e.getActionCommand();
@@ -54,6 +104,11 @@ public abstract class VSBetterEditor extends VSEditor {
super.actionPerformed(e);
}
+ /**
+ * Gets the info area.
+ *
+ * @return the info area
+ */
protected VSInfoArea getInfoArea() {
return infoArea;
}