mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 08:56:15 +00:00
more ui stuff
This commit is contained in:
parent
9091ed7748
commit
0058d69066
@ -402,15 +402,11 @@ public final class CommonFilesPanel extends javax.swing.JPanel {
|
|||||||
}//GEN-LAST:event_documentsCheckboxActionPerformed
|
}//GEN-LAST:event_documentsCheckboxActionPerformed
|
||||||
|
|
||||||
private void intraCaseRadioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_intraCaseRadioActionPerformed
|
private void intraCaseRadioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_intraCaseRadioActionPerformed
|
||||||
((java.awt.CardLayout)this.layoutPanel.getLayout()).first(this.layoutPanel);
|
((java.awt.CardLayout)this.layoutPanel.getLayout()).last(this.layoutPanel);
|
||||||
// this.intraCasePanel.setVisible(true);
|
|
||||||
// this.interCasePanel.setVisible(false);
|
|
||||||
}//GEN-LAST:event_intraCaseRadioActionPerformed
|
}//GEN-LAST:event_intraCaseRadioActionPerformed
|
||||||
|
|
||||||
private void interCaseRadioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_interCaseRadioActionPerformed
|
private void interCaseRadioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_interCaseRadioActionPerformed
|
||||||
((java.awt.CardLayout)this.layoutPanel.getLayout()).last(this.layoutPanel);
|
((java.awt.CardLayout)this.layoutPanel.getLayout()).first(this.layoutPanel);
|
||||||
// this.intraCasePanel.setVisible(false);
|
|
||||||
// this.interCasePanel.setVisible(true);
|
|
||||||
}//GEN-LAST:event_interCaseRadioActionPerformed
|
}//GEN-LAST:event_interCaseRadioActionPerformed
|
||||||
|
|
||||||
private void toggleErrorTextAndSearchBox() {
|
private void toggleErrorTextAndSearchBox() {
|
||||||
|
@ -59,6 +59,9 @@
|
|||||||
<ResourceString bundle="org/sleuthkit/autopsy/commonfilesearch/Bundle.properties" key="InterCasePanel.anCentralRepoCaseRadio.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/commonfilesearch/Bundle.properties" key="InterCasePanel.anCentralRepoCaseRadio.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
<Events>
|
||||||
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="anCentralRepoCaseRadioActionPerformed"/>
|
||||||
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JRadioButton" name="specificCentralRepoCaseRadio">
|
<Component class="javax.swing.JRadioButton" name="specificCentralRepoCaseRadio">
|
||||||
<Properties>
|
<Properties>
|
||||||
@ -69,6 +72,9 @@
|
|||||||
<ResourceString bundle="org/sleuthkit/autopsy/commonfilesearch/Bundle.properties" key="InterCasePanel.specificCentralRepoCaseRadio.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/commonfilesearch/Bundle.properties" key="InterCasePanel.specificCentralRepoCaseRadio.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
<Events>
|
||||||
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="specificCentralRepoCaseRadioActionPerformed"/>
|
||||||
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JComboBox" name="caseComboBox">
|
<Component class="javax.swing.JComboBox" name="caseComboBox">
|
||||||
<Properties>
|
<Properties>
|
||||||
@ -80,6 +86,7 @@
|
|||||||
<StringItem index="3" value="Item 4"/>
|
<StringItem index="3" value="Item 4"/>
|
||||||
</StringArray>
|
</StringArray>
|
||||||
</Property>
|
</Property>
|
||||||
|
<Property name="enabled" type="boolean" value="false"/>
|
||||||
</Properties>
|
</Properties>
|
||||||
<AuxValues>
|
<AuxValues>
|
||||||
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/>
|
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/>
|
||||||
|
@ -49,11 +49,22 @@ public class InterCasePanel extends javax.swing.JPanel {
|
|||||||
buttonGroup.add(anCentralRepoCaseRadio);
|
buttonGroup.add(anCentralRepoCaseRadio);
|
||||||
anCentralRepoCaseRadio.setSelected(true);
|
anCentralRepoCaseRadio.setSelected(true);
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(anCentralRepoCaseRadio, org.openide.util.NbBundle.getMessage(InterCasePanel.class, "InterCasePanel.anCentralRepoCaseRadio.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(anCentralRepoCaseRadio, org.openide.util.NbBundle.getMessage(InterCasePanel.class, "InterCasePanel.anCentralRepoCaseRadio.text")); // NOI18N
|
||||||
|
anCentralRepoCaseRadio.addActionListener(new java.awt.event.ActionListener() {
|
||||||
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
|
anCentralRepoCaseRadioActionPerformed(evt);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
buttonGroup.add(specificCentralRepoCaseRadio);
|
buttonGroup.add(specificCentralRepoCaseRadio);
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(specificCentralRepoCaseRadio, org.openide.util.NbBundle.getMessage(InterCasePanel.class, "InterCasePanel.specificCentralRepoCaseRadio.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(specificCentralRepoCaseRadio, org.openide.util.NbBundle.getMessage(InterCasePanel.class, "InterCasePanel.specificCentralRepoCaseRadio.text")); // NOI18N
|
||||||
|
specificCentralRepoCaseRadio.addActionListener(new java.awt.event.ActionListener() {
|
||||||
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
|
specificCentralRepoCaseRadioActionPerformed(evt);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
caseComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
|
caseComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
|
||||||
|
caseComboBox.setEnabled(false);
|
||||||
|
|
||||||
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
|
||||||
this.setLayout(layout);
|
this.setLayout(layout);
|
||||||
@ -82,6 +93,14 @@ public class InterCasePanel extends javax.swing.JPanel {
|
|||||||
);
|
);
|
||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
|
|
||||||
|
private void specificCentralRepoCaseRadioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_specificCentralRepoCaseRadioActionPerformed
|
||||||
|
this.caseComboBox.setEnabled(true);
|
||||||
|
}//GEN-LAST:event_specificCentralRepoCaseRadioActionPerformed
|
||||||
|
|
||||||
|
private void anCentralRepoCaseRadioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_anCentralRepoCaseRadioActionPerformed
|
||||||
|
this.caseComboBox.setEnabled(false);
|
||||||
|
}//GEN-LAST:event_anCentralRepoCaseRadioActionPerformed
|
||||||
|
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JRadioButton anCentralRepoCaseRadio;
|
private javax.swing.JRadioButton anCentralRepoCaseRadio;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user