Autopsy  3.1
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-2014 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 
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.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
46  configPanel.setLayout(new BorderLayout());
47  configPanel.add(ingestPanel, BorderLayout.CENTER);
48  }
49 
55  @Override
56  public String getName() {
57  return NbBundle.getMessage(this.getClass(), "AddImageWizardIngestConfigVisual.getName.text");
58  }
59 
65  @SuppressWarnings("unchecked")
66  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
67  private void initComponents() {
68 
69  subtitleLabel = new javax.swing.JLabel();
70  configPanel = new javax.swing.JPanel();
71 
72  setPreferredSize(new java.awt.Dimension(569, 300));
73 
74  subtitleLabel.setText(org.openide.util.NbBundle.getMessage(AddImageWizardIngestConfigVisual.class, "AddImageWizardIngestConfigVisual.subtitleLabel.text")); // NOI18N
75 
76  configPanel.setPreferredSize(new java.awt.Dimension(569, 400));
77 
78  javax.swing.GroupLayout configPanelLayout = new javax.swing.GroupLayout(configPanel);
79  configPanel.setLayout(configPanelLayout);
80  configPanelLayout.setHorizontalGroup(
81  configPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
82  .addGap(0, 569, Short.MAX_VALUE)
83  );
84  configPanelLayout.setVerticalGroup(
85  configPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
86  .addGap(0, 258, Short.MAX_VALUE)
87  );
88 
89  javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
90  this.setLayout(layout);
91  layout.setHorizontalGroup(
92  layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
93  .addGroup(layout.createSequentialGroup()
94  .addContainerGap()
95  .addComponent(subtitleLabel)
96  .addContainerGap(218, Short.MAX_VALUE))
97  .addComponent(configPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
98  );
99  layout.setVerticalGroup(
100  layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
101  .addGroup(layout.createSequentialGroup()
102  .addGap(6, 6, 6)
103  .addComponent(subtitleLabel)
104  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
105  .addComponent(configPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 258, Short.MAX_VALUE)
106  .addContainerGap())
107  );
108  }// </editor-fold>//GEN-END:initComponents
109  // Variables declaration - do not modify//GEN-BEGIN:variables
110  private javax.swing.JPanel configPanel;
111  private javax.swing.JLabel subtitleLabel;
112  // End of variables declaration//GEN-END:variables
113 }

Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.