19 package org.sleuthkit.autopsy.casemodule;
21 import org.openide.util.NbBundle;
26 @SuppressWarnings(
"PMD.SingularField")
27 final class NewCaseVisualPanel2 extends javax.swing.JPanel {
29 private static final long serialVersionUID = 1L;
31 private final OptionalCasePropertiesPanel propertiesPanel;
36 NewCaseVisualPanel2() {
38 propertiesPanel =
new OptionalCasePropertiesPanel();
39 this.add(propertiesPanel);
40 propertiesPanel.setVisible(
true);
51 public String getName() {
52 return NbBundle.getMessage(this.getClass(),
"NewCaseVisualPanel2.getName.text");
60 @SuppressWarnings(
"unchecked")
62 private
void initComponents() {
64 setLayout(
new java.awt.BorderLayout());
69 String getCaseNumber() {
70 return propertiesPanel.getCaseNumber();
73 String getExaminerName() {
74 return propertiesPanel.getExaminerName();
77 String getExaminerPhone() {
78 return propertiesPanel.getExaminerPhone();
81 String getExaminerEmail() {
82 return propertiesPanel.getExaminerEmail();
85 String getCaseNotes() {
86 return propertiesPanel.getCaseNotes();
89 String getOrganization() {
90 return propertiesPanel.getOrganization();
93 void setCaseNumber(String caseNumber) {
94 propertiesPanel.setCaseNumberField(caseNumber);
97 void setExaminerName(String examinerName) {
98 propertiesPanel.setExaminerNameField(examinerName);
101 void setExaminerPhone(String examinerPhone) {
102 propertiesPanel.setExaminerPhoneField(examinerPhone);
105 void setExaminerEmail(String examinerEmail) {
106 propertiesPanel.setExaminerEmailField(examinerEmail);
109 void setCaseNotes(String caseNotes) {
110 propertiesPanel.setCaseNotesField(caseNotes);
113 void setOrganization(String organizationName) {
114 propertiesPanel.setCurrentlySelectedOrganization(organizationName);
117 void refreshCaseDetailsFields() {
118 propertiesPanel.setUpCaseDetailsFields();