19 package org.sleuthkit.autopsy.centralrepository.ingestmodule;
27 @SuppressWarnings(
"PMD.SingularField")
28 final class IngestSettingsPanel extends IngestModuleIngestJobSettingsPanel {
33 public IngestSettingsPanel(IngestSettings settings) {
35 customizeComponents(settings);
43 private void customizeComponents(IngestSettings settings) {
44 flagTaggedNotableItemsCheckbox.setSelected(settings.isFlagTaggedNotableItems());
48 public IngestModuleIngestJobSettings getSettings() {
49 return new IngestSettings(flagTaggedNotableItemsCheckbox.isSelected());
57 @SuppressWarnings(
"unchecked")
59 private
void initComponents() {
61 ingestSettingsLabel =
new javax.swing.JLabel();
62 flagTaggedNotableItemsCheckbox =
new javax.swing.JCheckBox();
64 ingestSettingsLabel.setFont(
new java.awt.Font(
"Tahoma", 1, 11));
65 org.openide.awt.Mnemonics.setLocalizedText(ingestSettingsLabel,
org.openide.util.NbBundle.getMessage(IngestSettingsPanel.class,
"IngestSettingsPanel.ingestSettingsLabel.text"));
67 org.openide.awt.Mnemonics.setLocalizedText(flagTaggedNotableItemsCheckbox,
org.openide.util.NbBundle.getMessage(IngestSettingsPanel.class,
"IngestSettingsPanel.flagTaggedNotableItemsCheckbox.text"));
69 javax.swing.GroupLayout layout =
new javax.swing.GroupLayout(
this);
70 this.setLayout(layout);
71 layout.setHorizontalGroup(
72 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
73 .addGroup(layout.createSequentialGroup()
75 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
76 .addGroup(layout.createSequentialGroup()
78 .addComponent(flagTaggedNotableItemsCheckbox))
79 .addComponent(ingestSettingsLabel))
80 .addContainerGap(65, Short.MAX_VALUE))
82 layout.setVerticalGroup(
83 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
84 .addGroup(layout.createSequentialGroup()
86 .addComponent(ingestSettingsLabel)
87 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
88 .addComponent(flagTaggedNotableItemsCheckbox)
89 .addContainerGap(245, Short.MAX_VALUE))
94 private javax.swing.JCheckBox flagTaggedNotableItemsCheckbox;
95 private javax.swing.JLabel ingestSettingsLabel;