Autopsy  4.0
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 
38  KnownStatusSearchPanel() {
39  initComponents();
40  }
41 
42  JCheckBox getKnownCheckBox() {
43  return knownCheckBox;
44  }
45 
46  JCheckBox getKnownBadOptionCheckBox() {
47  return knownBadOptionCheckBox;
48  }
49 
50  JCheckBox getKnownOptionCheckBox() {
51  return knownOptionCheckBox;
52  }
53 
54  JCheckBox getUnknownOptionCheckBox() {
55  return unknownOptionCheckBox;
56  }
57 
63  @SuppressWarnings("unchecked")
64  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
65  private void initComponents() {
66 
67  knownCheckBox = new javax.swing.JCheckBox();
68  unknownOptionCheckBox = new javax.swing.JCheckBox();
69  knownOptionCheckBox = new javax.swing.JCheckBox();
70  knownBadOptionCheckBox = new javax.swing.JCheckBox();
71 
72  knownCheckBox.setText(org.openide.util.NbBundle.getMessage(KnownStatusSearchPanel.class, "KnownStatusSearchPanel.knownCheckBox.text")); // NOI18N
73 
74  unknownOptionCheckBox.setSelected(true);
75  unknownOptionCheckBox.setText(org.openide.util.NbBundle.getMessage(KnownStatusSearchPanel.class, "KnownStatusSearchPanel.unknownOptionCheckBox.text")); // NOI18N
76 
77  knownOptionCheckBox.setSelected(true);
78  knownOptionCheckBox.setText(org.openide.util.NbBundle.getMessage(KnownStatusSearchPanel.class, "KnownStatusSearchPanel.knownOptionCheckBox.text")); // NOI18N
79  knownOptionCheckBox.addActionListener(new java.awt.event.ActionListener() {
80  public void actionPerformed(java.awt.event.ActionEvent evt) {
81  knownOptionCheckBoxActionPerformed(evt);
82  }
83  });
84 
85  knownBadOptionCheckBox.setSelected(true);
86  knownBadOptionCheckBox.setText(org.openide.util.NbBundle.getMessage(KnownStatusSearchPanel.class, "KnownStatusSearchPanel.knownBadOptionCheckBox.text")); // NOI18N
87 
88  javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
89  this.setLayout(layout);
90  layout.setHorizontalGroup(
91  layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
92  .addGroup(layout.createSequentialGroup()
93  .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
94  .addComponent(knownCheckBox)
95  .addGroup(layout.createSequentialGroup()
96  .addGap(21, 21, 21)
97  .addComponent(unknownOptionCheckBox)
98  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
99  .addComponent(knownOptionCheckBox)
100  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
101  .addComponent(knownBadOptionCheckBox)))
102  .addContainerGap(28, Short.MAX_VALUE))
103  );
104  layout.setVerticalGroup(
105  layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
106  .addGroup(layout.createSequentialGroup()
107  .addComponent(knownCheckBox)
108  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
109  .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
110  .addComponent(unknownOptionCheckBox)
111  .addComponent(knownOptionCheckBox)
112  .addComponent(knownBadOptionCheckBox)))
113  );
114  }// </editor-fold>//GEN-END:initComponents
115 
116  private void knownOptionCheckBoxActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_knownOptionCheckBoxActionPerformed
117  // TODO add your handling code here:
118  }//GEN-LAST:event_knownOptionCheckBoxActionPerformed
119 
120  // Variables declaration - do not modify//GEN-BEGIN:variables
121  private javax.swing.JCheckBox knownBadOptionCheckBox;
122  private javax.swing.JCheckBox knownCheckBox;
123  private javax.swing.JCheckBox knownOptionCheckBox;
124  private javax.swing.JCheckBox unknownOptionCheckBox;
125  // End of variables declaration//GEN-END:variables
126 }

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.