Autopsy  4.6.0
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-2017 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 
20  /*
21  * NewCaseVisualPanel2.java
22  *
23  * Created on Mar 7, 2012, 11:01:48 AM
24  */
25 package org.sleuthkit.autopsy.casemodule;
26 
27 import org.openide.util.NbBundle;
28 
33 final class NewCaseVisualPanel2 extends javax.swing.JPanel {
34 
35  private static final long serialVersionUID = 1L;
36 
37  private final OptionalCasePropertiesPanel propertiesPanel;
38 
42  NewCaseVisualPanel2() {
43  initComponents();
44  propertiesPanel = new OptionalCasePropertiesPanel();
45  this.add(propertiesPanel);
46  propertiesPanel.setVisible(true);
47 
48  }
49 
56  @Override
57  public String getName() {
58  return NbBundle.getMessage(this.getClass(), "NewCaseVisualPanel2.getName.text");
59  }
60 
66  @SuppressWarnings("unchecked")
67  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
68  private void initComponents() {
69 
70  setLayout(new java.awt.BorderLayout());
71  }// </editor-fold>//GEN-END:initComponents
72 
73  // Variables declaration - do not modify//GEN-BEGIN:variables
74  // End of variables declaration//GEN-END:variables
75  String getCaseNumber() {
76  return propertiesPanel.getCaseNumber();
77  }
78 
79  String getExaminerName() {
80  return propertiesPanel.getExaminerName();
81  }
82 
83  String getExaminerPhone() {
84  return propertiesPanel.getExaminerPhone();
85  }
86 
87  String getExaminerEmail() {
88  return propertiesPanel.getExaminerEmail();
89  }
90 
91  String getCaseNotes() {
92  return propertiesPanel.getCaseNotes();
93  }
94 
95  String getOrganization() {
96  return propertiesPanel.getOrganization();
97  }
98 
99  void setCaseNumber(String caseNumber) {
100  propertiesPanel.setCaseNumberField(caseNumber);
101  }
102 
103  void setExaminerName(String examinerName) {
104  propertiesPanel.setExaminerNameField(examinerName);
105  }
106 
107  void setExaminerPhone(String examinerPhone) {
108  propertiesPanel.setExaminerPhoneField(examinerPhone);
109  }
110 
111  void setExaminerEmail(String examinerEmail) {
112  propertiesPanel.setExaminerEmailField(examinerEmail);
113  }
114 
115  void setCaseNotes(String caseNotes) {
116  propertiesPanel.setCaseNotesField(caseNotes);
117  }
118 
119  void setOrganization(String organizationName) {
120  propertiesPanel.setCurrentlySelectedOrganization(organizationName);
121  }
122 
123  void refreshCaseDetailsFields() {
124  propertiesPanel.setUpCaseDetailsFields();
125  }
126 
127 }

Copyright © 2012-2016 Basis Technology. Generated on: Mon May 7 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.