Autopsy  4.9.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
NewCaseVisualPanel2.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2011-2018 Basis Technology Corp.
5  * Contact: carrier <at> sleuthkit <dot> org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 package org.sleuthkit.autopsy.casemodule;
20 
21 import org.openide.util.NbBundle;
22 
26 @SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
27 final class NewCaseVisualPanel2 extends javax.swing.JPanel {
28 
29  private static final long serialVersionUID = 1L;
30 
31  private final OptionalCasePropertiesPanel propertiesPanel;
32 
36  NewCaseVisualPanel2() {
37  initComponents();
38  propertiesPanel = new OptionalCasePropertiesPanel();
39  this.add(propertiesPanel);
40  propertiesPanel.setVisible(true);
41 
42  }
43 
50  @Override
51  public String getName() {
52  return NbBundle.getMessage(this.getClass(), "NewCaseVisualPanel2.getName.text");
53  }
54 
60  @SuppressWarnings("unchecked")
61  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
62  private void initComponents() {
63 
64  setLayout(new java.awt.BorderLayout());
65  }// </editor-fold>//GEN-END:initComponents
66 
67  // Variables declaration - do not modify//GEN-BEGIN:variables
68  // End of variables declaration//GEN-END:variables
69  String getCaseNumber() {
70  return propertiesPanel.getCaseNumber();
71  }
72 
73  String getExaminerName() {
74  return propertiesPanel.getExaminerName();
75  }
76 
77  String getExaminerPhone() {
78  return propertiesPanel.getExaminerPhone();
79  }
80 
81  String getExaminerEmail() {
82  return propertiesPanel.getExaminerEmail();
83  }
84 
85  String getCaseNotes() {
86  return propertiesPanel.getCaseNotes();
87  }
88 
89  String getOrganization() {
90  return propertiesPanel.getOrganization();
91  }
92 
93  void setCaseNumber(String caseNumber) {
94  propertiesPanel.setCaseNumberField(caseNumber);
95  }
96 
97  void setExaminerName(String examinerName) {
98  propertiesPanel.setExaminerNameField(examinerName);
99  }
100 
101  void setExaminerPhone(String examinerPhone) {
102  propertiesPanel.setExaminerPhoneField(examinerPhone);
103  }
104 
105  void setExaminerEmail(String examinerEmail) {
106  propertiesPanel.setExaminerEmailField(examinerEmail);
107  }
108 
109  void setCaseNotes(String caseNotes) {
110  propertiesPanel.setCaseNotesField(caseNotes);
111  }
112 
113  void setOrganization(String organizationName) {
114  propertiesPanel.setCurrentlySelectedOrganization(organizationName);
115  }
116 
117  void refreshCaseDetailsFields() {
118  propertiesPanel.setUpCaseDetailsFields();
119  }
120 
121 }

Copyright © 2012-2018 Basis Technology. Generated on: Tue Dec 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.