Autopsy  4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
AddImageWizardIngestConfigVisual.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 import java.awt.BorderLayout;
23 import javax.swing.JPanel;
24 
29 @SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
30 class AddImageWizardIngestConfigVisual extends JPanel {
31 
32  private final JPanel ingestPanel;
33 
38  public AddImageWizardIngestConfigVisual(JPanel ingestPanel) {
39  this.ingestPanel = ingestPanel;
40  initComponents();
41  customizeComponents();
42  }
43 
44  private void customizeComponents() {
45  configPanel.setLayout(new BorderLayout());
46  configPanel.add(ingestPanel, BorderLayout.CENTER);
47  }
48 
54  @Override
55  public String getName() {
56  return NbBundle.getMessage(this.getClass(), "AddImageWizardIngestConfigVisual.getName.text");
57  }
58 
64  @SuppressWarnings("unchecked")
65  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
66  private void initComponents() {
67 
68  configPanel = new javax.swing.JPanel();
69 
70  setPreferredSize(new java.awt.Dimension(569, 300));
71 
72  configPanel.setPreferredSize(new java.awt.Dimension(569, 400));
73 
74  javax.swing.GroupLayout configPanelLayout = new javax.swing.GroupLayout(configPanel);
75  configPanel.setLayout(configPanelLayout);
76  configPanelLayout.setHorizontalGroup(
77  configPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
78  .addGap(0, 609, Short.MAX_VALUE)
79  );
80  configPanelLayout.setVerticalGroup(
81  configPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
82  .addGap(0, 349, Short.MAX_VALUE)
83  );
84 
85  javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
86  this.setLayout(layout);
87  layout.setHorizontalGroup(
88  layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
89  .addGroup(layout.createSequentialGroup()
90  .addComponent(configPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 609, javax.swing.GroupLayout.PREFERRED_SIZE)
91  .addGap(0, 0, Short.MAX_VALUE))
92  );
93  layout.setVerticalGroup(
94  layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
95  .addComponent(configPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)
96  );
97  }// </editor-fold>//GEN-END:initComponents
98  // Variables declaration - do not modify//GEN-BEGIN:variables
99  private javax.swing.JPanel configPanel;
100  // End of variables declaration//GEN-END:variables
101 }

Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.