Autopsy  3.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
KnownStatusSearchPanel.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2011 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  * KnownStatusSearchPanel.java
22  *
23  * Created on Oct 19, 2011, 11:45:44 AM
24  */
25 package org.sleuthkit.autopsy.filesearch;
26 
27 import javax.swing.JCheckBox;
28 
33 class KnownStatusSearchPanel extends javax.swing.JPanel {
34 
36  KnownStatusSearchPanel() {
37  initComponents();
38  }
39 
40  JCheckBox getKnownCheckBox() {
41  return knownCheckBox;
42  }
43 
44  JCheckBox getKnownBadOptionCheckBox() {
45  return knownBadOptionCheckBox;
46  }
47 
48  JCheckBox getKnownOptionCheckBox() {
49  return knownOptionCheckBox;
50  }
51 
52  JCheckBox getUnknownOptionCheckBox() {
53  return unknownOptionCheckBox;
54  }
55 
61  @SuppressWarnings("unchecked")
62  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
63  private void initComponents() {
64 
65  knownCheckBox = new javax.swing.JCheckBox();
66  unknownOptionCheckBox = new javax.swing.JCheckBox();
67  knownOptionCheckBox = new javax.swing.JCheckBox();
68  knownBadOptionCheckBox = new javax.swing.JCheckBox();
69 
70  knownCheckBox.setText(org.openide.util.NbBundle.getMessage(KnownStatusSearchPanel.class, "KnownStatusSearchPanel.knownCheckBox.text")); // NOI18N
71 
72  unknownOptionCheckBox.setSelected(true);
73  unknownOptionCheckBox.setText(org.openide.util.NbBundle.getMessage(KnownStatusSearchPanel.class, "KnownStatusSearchPanel.unknownOptionCheckBox.text")); // NOI18N
74 
75  knownOptionCheckBox.setSelected(true);
76  knownOptionCheckBox.setText(org.openide.util.NbBundle.getMessage(KnownStatusSearchPanel.class, "KnownStatusSearchPanel.knownOptionCheckBox.text")); // NOI18N
77  knownOptionCheckBox.addActionListener(new java.awt.event.ActionListener() {
78  public void actionPerformed(java.awt.event.ActionEvent evt) {
79  knownOptionCheckBoxActionPerformed(evt);
80  }
81  });
82 
83  knownBadOptionCheckBox.setSelected(true);
84  knownBadOptionCheckBox.setText(org.openide.util.NbBundle.getMessage(KnownStatusSearchPanel.class, "KnownStatusSearchPanel.knownBadOptionCheckBox.text")); // NOI18N
85 
86  javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
87  this.setLayout(layout);
88  layout.setHorizontalGroup(
89  layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
90  .addComponent(knownCheckBox)
91  .addGroup(layout.createSequentialGroup()
92  .addGap(21, 21, 21)
93  .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
94  .addComponent(knownBadOptionCheckBox)
95  .addComponent(unknownOptionCheckBox)
96  .addComponent(knownOptionCheckBox)))
97  );
98  layout.setVerticalGroup(
99  layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
100  .addGroup(layout.createSequentialGroup()
101  .addComponent(knownCheckBox)
102  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
103  .addComponent(unknownOptionCheckBox)
104  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
105  .addComponent(knownOptionCheckBox)
106  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
107  .addComponent(knownBadOptionCheckBox))
108  );
109  }// </editor-fold>//GEN-END:initComponents
110 
111  private void knownOptionCheckBoxActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_knownOptionCheckBoxActionPerformed
112  // TODO add your handling code here:
113  }//GEN-LAST:event_knownOptionCheckBoxActionPerformed
114 
115  // Variables declaration - do not modify//GEN-BEGIN:variables
116  private javax.swing.JCheckBox knownBadOptionCheckBox;
117  private javax.swing.JCheckBox knownCheckBox;
118  private javax.swing.JCheckBox knownOptionCheckBox;
119  private javax.swing.JCheckBox unknownOptionCheckBox;
120  // End of variables declaration//GEN-END:variables
121 }

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.