summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/LectureCreationPageLayout.java
diff options
context:
space:
mode:
authorSimon Rettberg2016-01-29 11:03:52 +0100
committerSimon Rettberg2016-01-29 11:03:52 +0100
commit7d81da615f089f06ba81c2cc2b67bc3ff4def957 (patch)
tree2d8cad390cbe7937b51a6f1b4693f8a5e6ed0d25 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/LectureCreationPageLayout.java
parent[client] Minor tweaks to image details window (diff)
downloadtutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.tar.gz
tutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.tar.xz
tutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.zip
[client] Sanitize coding style/conventions in GUI classes
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/LectureCreationPageLayout.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/LectureCreationPageLayout.java44
1 files changed, 22 insertions, 22 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/LectureCreationPageLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/LectureCreationPageLayout.java
index aa21a214..f3944cfd 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/LectureCreationPageLayout.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/LectureCreationPageLayout.java
@@ -24,12 +24,12 @@ import org.openslx.dozmod.util.DateLabelFormatter;
@SuppressWarnings("serial")
public abstract class LectureCreationPageLayout extends WizardPage {
- protected final JTextField lectureNameTextField;
- protected final JTextArea descriptionText;
- protected final QDatePickerImpl startDate;
- protected final QDatePickerImpl endDate;
- protected final JSpinner startTime;
- protected final JSpinner endTime;
+ protected final JTextField txtName;
+ protected final JTextArea txtDescription;
+ protected final QDatePickerImpl dtpStartDate;
+ protected final QDatePickerImpl dtpEndDate;
+ protected final JSpinner spnStartTime;
+ protected final JSpinner spnEndTime;
protected final QLabel lblCalcPeriod;
private static final Properties pickerStrings = new Properties();
@@ -52,37 +52,37 @@ public abstract class LectureCreationPageLayout extends WizardPage {
GridManager grid = new GridManager(this, 3);
// lecture name
- lectureNameTextField = new JTextField();
+ txtName = new JTextField();
grid.add(new QLabel("Veranstaltungsname"));
- grid.add(lectureNameTextField, 2).fill(true, false).expand(true, false);
+ grid.add(txtName, 2).fill(true, false).expand(true, false);
grid.nextRow();
- descriptionText = new JTextArea(3, 50);
- descriptionText.setLineWrap(true);
- descriptionText.setWrapStyleWord(true);
- JScrollPane descPane = new JScrollPane(descriptionText, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
+ txtDescription = new JTextArea(3, 50);
+ txtDescription.setLineWrap(true);
+ txtDescription.setWrapStyleWord(true);
+ JScrollPane descPane = new JScrollPane(txtDescription, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
- descriptionText.setMinimumSize(Gui.getScaledDimension(0, 60));
- descPane.setMinimumSize(descriptionText.getMinimumSize());
+ txtDescription.setMinimumSize(Gui.getScaledDimension(0, 60));
+ descPane.setMinimumSize(txtDescription.getMinimumSize());
grid.add(new QLabel("Beschreibung"));
grid.add(descPane, 2).fill(true, false).expand(true, false);
grid.nextRow();
// Start date/time
- startDate = new QDatePickerImpl(new JDatePanelImpl(new UtilDateModel(new Date()), pickerStrings),
+ dtpStartDate = new QDatePickerImpl(new JDatePanelImpl(new UtilDateModel(new Date()), pickerStrings),
new DateLabelFormatter());
- startTime = makeTimeSpinner(0, 0);
+ spnStartTime = makeTimeSpinner(0, 0);
grid.add(new QLabel("Startdatum"));
- grid.add(startDate).fill(true, false).expand(true, false);
- grid.add(startTime);
+ grid.add(dtpStartDate).fill(true, false).expand(true, false);
+ grid.add(spnStartTime);
grid.nextRow();
- endDate = new QDatePickerImpl(new JDatePanelImpl(new UtilDateModel(new Date()), pickerStrings),
+ dtpEndDate = new QDatePickerImpl(new JDatePanelImpl(new UtilDateModel(new Date()), pickerStrings),
new DateLabelFormatter());
- endTime = makeTimeSpinner(23, 59);
+ spnEndTime = makeTimeSpinner(23, 59);
grid.add(new QLabel("Enddatum"));
- grid.add(endDate).fill(true, false).expand(true, false);
- grid.add(endTime);
+ grid.add(dtpEndDate).fill(true, false).expand(true, false);
+ grid.add(spnEndTime);
grid.nextRow();
grid.add(new QLabel("Dauer der Veranstaltung: "));