19 package org.sleuthkit.autopsy.modules.photoreccarver;
27 final class PhotoRecCarverIngestJobSettingsPanel
extends IngestModuleIngestJobSettingsPanel {
34 public PhotoRecCarverIngestJobSettingsPanel(PhotoRecCarverIngestJobSettings settings) {
36 customizeComponents(settings);
44 private void customizeComponents(PhotoRecCarverIngestJobSettings settings) {
45 keepCorruptedFilesCheckbox.setSelected(settings.isKeepCorruptedFiles());
49 public IngestModuleIngestJobSettings getSettings() {
50 return new PhotoRecCarverIngestJobSettings(
51 keepCorruptedFilesCheckbox.isSelected());
59 @SuppressWarnings(
"unchecked")
61 private
void initComponents() {
63 keepCorruptedFilesCheckbox =
new javax.swing.JCheckBox();
64 detectionSettingsLabel =
new javax.swing.JLabel();
66 org.openide.awt.Mnemonics.setLocalizedText(keepCorruptedFilesCheckbox,
org.openide.util.NbBundle.getMessage(PhotoRecCarverIngestJobSettingsPanel.class,
"PhotoRecCarverIngestJobSettingsPanel.keepCorruptedFilesCheckbox.text"));
68 detectionSettingsLabel.setFont(
new java.awt.Font(
"Tahoma", 1, 11));
69 org.openide.awt.Mnemonics.setLocalizedText(detectionSettingsLabel,
org.openide.util.NbBundle.getMessage(PhotoRecCarverIngestJobSettingsPanel.class,
"PhotoRecCarverIngestJobSettingsPanel.detectionSettingsLabel.text"));
71 javax.swing.GroupLayout layout =
new javax.swing.GroupLayout(
this);
72 this.setLayout(layout);
73 layout.setHorizontalGroup(
74 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
75 .addGroup(layout.createSequentialGroup()
77 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
78 .addGroup(layout.createSequentialGroup()
80 .addComponent(keepCorruptedFilesCheckbox))
81 .addComponent(detectionSettingsLabel))
82 .addContainerGap(159, Short.MAX_VALUE))
84 layout.setVerticalGroup(
85 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
86 .addGroup(layout.createSequentialGroup()
88 .addComponent(detectionSettingsLabel)
89 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
90 .addComponent(keepCorruptedFilesCheckbox)
91 .addContainerGap(145, Short.MAX_VALUE))
96 private javax.swing.JLabel detectionSettingsLabel;
97 private javax.swing.JCheckBox keepCorruptedFilesCheckbox;