Autopsy
4.5.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits JPanel.
Public Member Functions | |
FiltersPanel () | |
void | addNotify () |
void | removeNotify () |
Private Member Functions | |
void | applyFilters () |
void | checkAllAccountTypesButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | checkAllDevicesButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | endCheckBoxStateChanged (javax.swing.event.ChangeEvent evt) |
AccountTypeFilter | getAccountTypeFilter () |
DateRangeFilter | getDateRangeFilter () |
DeviceFilter | getDeviceFilter () |
void | initComponents () |
void | setAllAccountTypesSelected (boolean selected) |
void | setAllDevicesSelected (boolean selected) |
void | setAllSelected (Map<?, JCheckBox > map, boolean selected) |
void | startCheckBoxStateChanged (javax.swing.event.ChangeEvent evt) |
void | unCheckAllAccountTypesButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | unCheckAllDevicesButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | updateAccountTypeFilter () |
void | updateDeviceFilter () |
void | updateFilters () |
void | updateTimeZone () |
void | validateFilters () |
Private Attributes | |
final Map< Account.Type, JCheckBox > | accountTypeMap = new HashMap<>() |
final javax.swing.JPanel | accountTypePane = new javax.swing.JPanel() |
final javax.swing.JLabel | accountTypeRequiredLabel = new javax.swing.JLabel() |
final javax.swing.JLabel | accountTypesLabel = new javax.swing.JLabel() |
final javax.swing.JButton | applyFiltersButton = new javax.swing.JButton() |
final javax.swing.JButton | checkAllAccountTypesButton = new javax.swing.JButton() |
final javax.swing.JButton | checkAllDevicesButton = new javax.swing.JButton() |
final javax.swing.JLabel | dateRangeLabel = new javax.swing.JLabel() |
final javax.swing.JLabel | deviceRequiredLabel = new javax.swing.JLabel() |
final javax.swing.JLabel | devicesLabel = new javax.swing.JLabel() |
final Map< String, JCheckBox > | devicesMap = new HashMap<>() |
final javax.swing.JPanel | devicesPane = new javax.swing.JPanel() |
ExplorerManager | em |
final javax.swing.JCheckBox | endCheckBox = new javax.swing.JCheckBox() |
final com.github.lgooddatepicker.components.DatePicker | endDatePicker = new com.github.lgooddatepicker.components.DatePicker() |
final javax.swing.JLabel | filtersTitleLabel = new javax.swing.JLabel() |
final PropertyChangeListener | ingestListener |
final javax.swing.JPanel | jPanel2 = new javax.swing.JPanel() |
final javax.swing.JPanel | jPanel3 = new javax.swing.JPanel() |
final javax.swing.JPanel | jPanel4 = new javax.swing.JPanel() |
final javax.swing.JScrollPane | jScrollPane2 = new javax.swing.JScrollPane() |
final javax.swing.JScrollPane | jScrollPane3 = new javax.swing.JScrollPane() |
boolean | needsRefresh |
final javax.swing.JLabel | needsRefreshLabel = new javax.swing.JLabel() |
final javax.swing.JButton | refreshButton = new javax.swing.JButton() |
final javax.swing.JCheckBox | startCheckBox = new javax.swing.JCheckBox() |
final com.github.lgooddatepicker.components.DatePicker | startDatePicker = new com.github.lgooddatepicker.components.DatePicker() |
final javax.swing.JButton | unCheckAllAccountTypesButton = new javax.swing.JButton() |
final javax.swing.JButton | unCheckAllDevicesButton = new javax.swing.JButton() |
final ItemListener | validationListener |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(FiltersPanel.class.getName()) |
static final long | serialVersionUID = 1L |
Panel that holds the Filter control widgets and translates user filtering changes into queries against the CommunicationsManager.
Definition at line 62 of file FiltersPanel.java.
org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel | ( | ) |
Definition at line 89 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.accountTypeRequiredLabel, org.sleuthkit.autopsy.core.UserPreferences.addChangeListener(), org.sleuthkit.autopsy.communications.FiltersPanel.applyFilters(), org.sleuthkit.autopsy.communications.FiltersPanel.applyFiltersButton, org.sleuthkit.autopsy.communications.FiltersPanel.deviceRequiredLabel, org.sleuthkit.autopsy.core.UserPreferences.DISPLAY_TIMES_IN_LOCAL_TIME, org.sleuthkit.autopsy.communications.FiltersPanel.endCheckBox, org.sleuthkit.autopsy.communications.FiltersPanel.endDatePicker, org.sleuthkit.autopsy.ingest.ModuleDataEvent.getBlackboardArtifactType(), org.sleuthkit.autopsy.communications.FiltersPanel.ingestListener, org.sleuthkit.autopsy.communications.FiltersPanel.initComponents(), org.sleuthkit.autopsy.communications.FiltersPanel.needsRefresh, org.sleuthkit.autopsy.communications.FiltersPanel.refreshButton, org.sleuthkit.autopsy.communications.FiltersPanel.setAllDevicesSelected(), org.sleuthkit.autopsy.communications.FiltersPanel.startCheckBox, org.sleuthkit.autopsy.communications.FiltersPanel.startDatePicker, org.sleuthkit.autopsy.communications.FiltersPanel.updateFilters(), org.sleuthkit.autopsy.communications.FiltersPanel.updateTimeZone(), org.sleuthkit.autopsy.communications.FiltersPanel.validateFilters(), and org.sleuthkit.autopsy.communications.FiltersPanel.validationListener.
void org.sleuthkit.autopsy.communications.FiltersPanel.addNotify | ( | ) |
Definition at line 174 of file FiltersPanel.java.
References org.sleuthkit.autopsy.casemodule.Case.addEventTypeSubscriber(), org.sleuthkit.autopsy.ingest.IngestManager.addIngestModuleEventListener(), org.sleuthkit.autopsy.communications.FiltersPanel.devicesMap, org.sleuthkit.autopsy.communications.FiltersPanel.devicesPane, org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), and org.sleuthkit.autopsy.communications.FiltersPanel.ingestListener.
|
private |
Query for accounts using the selected filters, and send the results to the AccountsBrowser via the ExplorerManager.
Definition at line 492 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.getAccountTypeFilter(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.communications.FiltersPanel.getDateRangeFilter(), org.sleuthkit.autopsy.communications.FiltersPanel.getDeviceFilter(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), org.sleuthkit.autopsy.communications.FiltersPanel.needsRefresh, and org.sleuthkit.autopsy.communications.FiltersPanel.validateFilters().
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel().
|
private |
Definition at line 581 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.setAllAccountTypesSelected().
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 589 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.setAllDevicesSelected().
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 597 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.endCheckBox, and org.sleuthkit.autopsy.communications.FiltersPanel.endDatePicker.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Get an AccountTypeFilter that matches the state of the UI widgets
Definition at line 530 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.accountTypeMap.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.applyFilters().
|
private |
Definition at line 539 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.endDatePicker, and org.sleuthkit.autopsy.communications.FiltersPanel.startDatePicker.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.applyFilters().
|
private |
Get a DeviceFilter that matches the state of the UI widgets.
Definition at line 516 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.devicesMap.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.applyFilters().
|
private |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
Definition at line 259 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.accountTypePane, org.sleuthkit.autopsy.communications.FiltersPanel.accountTypeRequiredLabel, org.sleuthkit.autopsy.communications.FiltersPanel.accountTypesLabel, org.sleuthkit.autopsy.communications.FiltersPanel.applyFiltersButton, org.sleuthkit.autopsy.communications.FiltersPanel.checkAllAccountTypesButton, org.sleuthkit.autopsy.communications.FiltersPanel.checkAllAccountTypesButtonActionPerformed(), org.sleuthkit.autopsy.communications.FiltersPanel.checkAllDevicesButton, org.sleuthkit.autopsy.communications.FiltersPanel.checkAllDevicesButtonActionPerformed(), org.sleuthkit.autopsy.communications.FiltersPanel.dateRangeLabel, org.sleuthkit.autopsy.communications.FiltersPanel.deviceRequiredLabel, org.sleuthkit.autopsy.communications.FiltersPanel.devicesLabel, org.sleuthkit.autopsy.communications.FiltersPanel.devicesPane, org.sleuthkit.autopsy.communications.FiltersPanel.endCheckBox, org.sleuthkit.autopsy.communications.FiltersPanel.endCheckBoxStateChanged(), org.sleuthkit.autopsy.communications.FiltersPanel.endDatePicker, org.sleuthkit.autopsy.communications.FiltersPanel.filtersTitleLabel, org.sleuthkit.autopsy.communications.FiltersPanel.jPanel2, org.sleuthkit.autopsy.communications.FiltersPanel.jPanel3, org.sleuthkit.autopsy.communications.FiltersPanel.jPanel4, org.sleuthkit.autopsy.communications.FiltersPanel.jScrollPane2, org.sleuthkit.autopsy.communications.FiltersPanel.jScrollPane3, org.sleuthkit.autopsy.communications.FiltersPanel.needsRefreshLabel, org.sleuthkit.autopsy.communications.FiltersPanel.refreshButton, org.sleuthkit.autopsy.communications.FiltersPanel.startCheckBox, org.sleuthkit.autopsy.communications.FiltersPanel.startCheckBoxStateChanged(), org.sleuthkit.autopsy.communications.FiltersPanel.startDatePicker, org.sleuthkit.autopsy.communications.FiltersPanel.unCheckAllAccountTypesButton, org.sleuthkit.autopsy.communications.FiltersPanel.unCheckAllAccountTypesButtonActionPerformed(), org.sleuthkit.autopsy.communications.FiltersPanel.unCheckAllDevicesButton, and org.sleuthkit.autopsy.communications.FiltersPanel.unCheckAllDevicesButtonActionPerformed().
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel().
void org.sleuthkit.autopsy.communications.FiltersPanel.removeNotify | ( | ) |
|
private |
Set the selection state of all the account type check boxes
selected | The selection state to set the check boxes to. |
Definition at line 552 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.accountTypeMap, and org.sleuthkit.autopsy.communications.FiltersPanel.setAllSelected().
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.checkAllAccountTypesButtonActionPerformed(), and org.sleuthkit.autopsy.communications.FiltersPanel.unCheckAllAccountTypesButtonActionPerformed().
|
private |
Set the selection state of all the device check boxes
selected | The selection state to set the check boxes to. |
Definition at line 562 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.devicesMap, and org.sleuthkit.autopsy.communications.FiltersPanel.setAllSelected().
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.checkAllDevicesButtonActionPerformed(), org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel(), and org.sleuthkit.autopsy.communications.FiltersPanel.unCheckAllDevicesButtonActionPerformed().
|
private |
Helper method that sets all the checkboxes in the given map to the given selection state.
map | A map from anything to JCheckBoxes. |
selected | The selection state to set all the checkboxes to. |
Definition at line 574 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.setAllAccountTypesSelected(), and org.sleuthkit.autopsy.communications.FiltersPanel.setAllDevicesSelected().
|
private |
Definition at line 593 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.startCheckBox, and org.sleuthkit.autopsy.communications.FiltersPanel.startDatePicker.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 577 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.setAllAccountTypesSelected().
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 585 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.setAllDevicesSelected().
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Populate the Account Types filter widgets
Definition at line 197 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.accountTypeMap, org.sleuthkit.autopsy.communications.FiltersPanel.accountTypePane, and org.sleuthkit.autopsy.communications.FiltersPanel.validationListener.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.updateFilters().
|
private |
Populate the devices filter widgets
Definition at line 230 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.devicesMap, org.sleuthkit.autopsy.communications.FiltersPanel.devicesPane, org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), and org.sleuthkit.autopsy.communications.FiltersPanel.validationListener.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.updateFilters().
|
private |
Definition at line 168 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.updateAccountTypeFilter(), and org.sleuthkit.autopsy.communications.FiltersPanel.updateDeviceFilter().
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel().
|
private |
Definition at line 164 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.dateRangeLabel.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel().
|
private |
Validate that filters are in a consistent state and will result in some results. Checks that at least one device and at least one account type is selected. Disables the apply and refresh button and shows warnings if the filters are not valid.
Definition at line 142 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.FiltersPanel.accountTypeMap, org.sleuthkit.autopsy.communications.FiltersPanel.accountTypeRequiredLabel, org.sleuthkit.autopsy.communications.FiltersPanel.applyFiltersButton, org.sleuthkit.autopsy.communications.FiltersPanel.deviceRequiredLabel, org.sleuthkit.autopsy.communications.FiltersPanel.devicesMap, org.sleuthkit.autopsy.communications.FiltersPanel.needsRefresh, org.sleuthkit.autopsy.communications.FiltersPanel.needsRefreshLabel, and org.sleuthkit.autopsy.communications.FiltersPanel.refreshButton.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.applyFilters(), and org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel().
|
private |
Definition at line 70 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.getAccountTypeFilter(), org.sleuthkit.autopsy.communications.FiltersPanel.setAllAccountTypesSelected(), org.sleuthkit.autopsy.communications.FiltersPanel.updateAccountTypeFilter(), and org.sleuthkit.autopsy.communications.FiltersPanel.validateFilters().
|
private |
Definition at line 603 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents(), and org.sleuthkit.autopsy.communications.FiltersPanel.updateAccountTypeFilter().
|
private |
|
private |
Definition at line 605 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
|
private |
Definition at line 607 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 608 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 609 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents(), and org.sleuthkit.autopsy.communications.FiltersPanel.updateTimeZone().
|
private |
|
private |
Definition at line 611 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 72 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.addNotify(), org.sleuthkit.autopsy.communications.FiltersPanel.getDeviceFilter(), org.sleuthkit.autopsy.communications.FiltersPanel.setAllDevicesSelected(), org.sleuthkit.autopsy.communications.FiltersPanel.updateDeviceFilter(), and org.sleuthkit.autopsy.communications.FiltersPanel.validateFilters().
|
private |
|
private |
Definition at line 67 of file FiltersPanel.java.
|
private |
|
private |
Definition at line 614 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.endCheckBoxStateChanged(), org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel(), org.sleuthkit.autopsy.communications.FiltersPanel.getDateRangeFilter(), and org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 615 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Listens to ingest events to enable refresh button
Definition at line 77 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.addNotify(), org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel(), and org.sleuthkit.autopsy.communications.FiltersPanel.removeNotify().
|
private |
Definition at line 616 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 617 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 618 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 619 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 620 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
staticprivate |
Definition at line 64 of file FiltersPanel.java.
|
private |
|
private |
Definition at line 621 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents(), and org.sleuthkit.autopsy.communications.FiltersPanel.validateFilters().
|
private |
|
staticprivate |
Definition at line 65 of file FiltersPanel.java.
|
private |
|
private |
Definition at line 624 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel(), org.sleuthkit.autopsy.communications.FiltersPanel.getDateRangeFilter(), org.sleuthkit.autopsy.communications.FiltersPanel.initComponents(), and org.sleuthkit.autopsy.communications.FiltersPanel.startCheckBoxStateChanged().
|
private |
Definition at line 625 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Definition at line 626 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.initComponents().
|
private |
Listen to check box state changes and validates that at least one box is selected for device and account type ( other wise there will be no results)
Definition at line 85 of file FiltersPanel.java.
Referenced by org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel(), org.sleuthkit.autopsy.communications.FiltersPanel.updateAccountTypeFilter(), and org.sleuthkit.autopsy.communications.FiltersPanel.updateDeviceFilter().
Copyright © 2012-2016 Basis Technology. Generated on: Tue Feb 20 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.