Autopsy
4.11.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits JPanel.
Classes | |
class | CheckBoxIconPanel |
class | DateControlState |
class | DatePickerWorker |
class | FilterPanelQueryCallback |
Public Member Functions | |
FiltersPanel () | |
void | addNotify () |
void | removeNotify () |
void | setFilters (CommunicationsFilter commFilter) |
Protected Member Functions | |
CommunicationsFilter | getFilter () |
Private Member Functions | |
void | applyFilters () |
void | checkAllAccountTypesButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | checkAllDevicesButtonActionPerformed (java.awt.event.ActionEvent evt) |
CheckBoxIconPanel | createAccoutTypeCheckBoxPanel (Account.Type type, boolean initalState) |
void | endCheckBoxStateChanged (javax.swing.event.ChangeEvent evt) |
AccountTypeFilter | getAccountTypeFilter () |
DateRangeFilter | getDateRangeFilter () |
DeviceFilter | getDeviceFilter () |
DateControlState | getEndControlState () |
MostRecentFilter | getMostRecentFilter () |
DateControlState | getStartControlState () |
void | initalizeDateTimeFilters () |
void | initComponents () |
void | limitComboBoxActionPerformed (java.awt.event.ActionEvent evt) |
void | setAccountTypeFilter (AccountTypeFilter typeFilter) |
void | setAllAccountTypesSelected (boolean selected) |
void | setAllDevicesSelected (boolean selected) |
void | setAllSelected (Map<?, JCheckBox > map, boolean selected) |
void | setDateTimeFiltersToDefault () |
void | setDeviceFilter (DeviceFilter deviceFilter) |
void | setEndDateControlState (DateControlState state) |
void | setMostRecentFilter (MostRecentFilter filter) |
void | setStartDateControlState (DateControlState state) |
void | startCheckBoxStateChanged (javax.swing.event.ChangeEvent evt) |
void | unCheckAllAccountTypesButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | unCheckAllDevicesButtonActionPerformed (java.awt.event.ActionEvent evt) |
boolean | updateAccountTypeFilter (boolean selected) |
boolean | updateDeviceFilter (boolean selected) |
boolean | updateFilters (boolean initialState) |
void | updateTimeZone () |
void | validateFilters () |
boolean | validateLimitValue () |
Private Attributes | |
final javax.swing.JPanel | accountTypeListPane = new javax.swing.JPanel() |
final Map< Account.Type, JCheckBox > | accountTypeMap = new HashMap<>() |
final javax.swing.JLabel | accountTypeRequiredLabel = new javax.swing.JLabel() |
final javax.swing.JLabel | accountTypesLabel = new javax.swing.JLabel() |
final javax.swing.JPanel | accountTypesPane = new javax.swing.JPanel() |
final javax.swing.JScrollPane | accountTypesScrollPane = new javax.swing.JScrollPane() |
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.JPanel | dateRangePane = new javax.swing.JPanel() |
boolean | deviceAccountTypeEnabled |
final javax.swing.JLabel | deviceRequiredLabel = new javax.swing.JLabel() |
final javax.swing.JLabel | devicesLabel = new javax.swing.JLabel() |
final javax.swing.JPanel | devicesListPane = new javax.swing.JPanel() |
final Map< String, JCheckBox > | devicesMap = new HashMap<>() |
final javax.swing.JPanel | devicesPane = new javax.swing.JPanel() |
final javax.swing.JScrollPane | devicesScrollPane = new javax.swing.JScrollPane() |
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 | ingestJobListener |
final PropertyChangeListener | ingestListener |
final javax.swing.JComboBox< String > | limitComboBox = new javax.swing.JComboBox<>() |
final javax.swing.JLabel | limitErrorMsgLabel = new javax.swing.JLabel() |
final javax.swing.JLabel | limitHeaderLabel = new javax.swing.JLabel() |
final javax.swing.JPanel | limitPane = new javax.swing.JPanel() |
final javax.swing.JPanel | limitTitlePanel = new javax.swing.JPanel() |
final javax.swing.JPanel | mainPanel = new javax.swing.JPanel() |
final javax.swing.JLabel | mostRecentLabel = new javax.swing.JLabel() |
boolean | needsRefresh |
final javax.swing.JLabel | needsRefreshLabel = new javax.swing.JLabel() |
Case | openCase = null |
final javax.swing.JButton | refreshButton = new javax.swing.JButton() |
final javax.swing.JScrollPane | scrollPane = new javax.swing.JScrollPane() |
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.JPanel | topPane = new javax.swing.JPanel() |
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 triggers queries against the CommunicationsManager on user filtering changes.
Definition at line 80 of file FiltersPanel.java.
org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel | ( | ) |
Definition at line 127 of file FiltersPanel.java.
References org.sleuthkit.autopsy.core.UserPreferences.addChangeListener(), org.sleuthkit.autopsy.core.UserPreferences.DISPLAY_TIMES_IN_LOCAL_TIME, org.sleuthkit.autopsy.ingest.ModuleDataEvent.getBlackboardArtifactType(), and org.sleuthkit.autopsy.core.UserPreferences.TIME_ZONE_FOR_DISPLAYS.
void org.sleuthkit.autopsy.communications.FiltersPanel.addNotify | ( | ) |
Definition at line 251 of file FiltersPanel.java.
References org.sleuthkit.autopsy.casemodule.Case.addEventTypeSubscriber(), org.sleuthkit.autopsy.ingest.IngestManager.addIngestJobEventListener(), org.sleuthkit.autopsy.ingest.IngestManager.addIngestModuleEventListener(), and org.sleuthkit.autopsy.ingest.IngestManager.getInstance().
|
private |
Post an event with the new filters.
Definition at line 827 of file FiltersPanel.java.
|
private |
Definition at line 997 of file FiltersPanel.java.
|
private |
Definition at line 1005 of file FiltersPanel.java.
|
private |
Helper function to create a new instance of the CheckBoxIconPanel base on the Account.Type and initalState (check box state).
type | Account.Type to display on the panel |
initalState | initial check box state |
Definition at line 318 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.Utils.getIconFilePath().
|
private |
Definition at line 1014 of file FiltersPanel.java.
|
private |
Get an AccountTypeFilter that matches the state of the UI widgets
Definition at line 868 of file FiltersPanel.java.
|
private |
Get an DateRangeFilter that matches the state of the UI widgets
Definition at line 882 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.Utils.getUserPreferredZoneId().
|
private |
Get a DeviceFilter that matches the state of the UI widgets.
Definition at line 854 of file FiltersPanel.java.
|
private |
Definition at line 912 of file FiltersPanel.java.
|
protected |
Get an instance of CommunicationsFilters base on the current panel state.
Definition at line 838 of file FiltersPanel.java.
|
private |
Get a MostRecentFilter that based on the current state of the ui controls.
Definition at line 894 of file FiltersPanel.java.
|
private |
Definition at line 908 of file FiltersPanel.java.
|
private |
initalize the DateTimePickers by grabbing the earliest and latest time from the autopsy db.
Definition at line 967 of file FiltersPanel.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows().
|
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 472 of file FiltersPanel.java.
|
private |
Definition at line 1019 of file FiltersPanel.java.
void org.sleuthkit.autopsy.communications.FiltersPanel.removeNotify | ( | ) |
|
private |
Set the state of the account type checkboxes to match the passed in filter
typeFilter | Account Types to be selected |
Definition at line 408 of file FiltersPanel.java.
|
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 937 of file FiltersPanel.java.
|
private |
Set the selection state of all the device check boxes
selected | The selection state to set the check boxes to. |
Definition at line 947 of file FiltersPanel.java.
|
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 959 of file FiltersPanel.java.
|
private |
Definition at line 988 of file FiltersPanel.java.
|
private |
Sets the state of the device filter check boxes
deviceFilter | Selected devices |
Definition at line 396 of file FiltersPanel.java.
|
private |
Set up the endDatePicker and endCheckBox based on the passed in DateControlState.
state | new control state |
Definition at line 433 of file FiltersPanel.java.
void org.sleuthkit.autopsy.communications.FiltersPanel.setFilters | ( | CommunicationsFilter | commFilter | ) |
Given a list of subFilters, set the states of the panel controls accordingly.
commFilter | Contains a list of subFilters |
Definition at line 378 of file FiltersPanel.java.
|
private |
Sets the state of the most recent UI controls based on the current values in MostRecentFilter.
filter | The MostRecentFilter state to be set |
Definition at line 445 of file FiltersPanel.java.
|
private |
Set up the startDatePicker and startCheckBox based on the passed in DateControlState.
state | new control state |
Definition at line 421 of file FiltersPanel.java.
|
private |
Definition at line 1009 of file FiltersPanel.java.
|
private |
Definition at line 993 of file FiltersPanel.java.
|
private |
Definition at line 1001 of file FiltersPanel.java.
|
private |
Populate the Account Types filter widgets
selected | the initial value for the account type checkbox |
Definition at line 279 of file FiltersPanel.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().
|
private |
Populate the devices filter widgets
selected | Sets the initial state of device check box |
Definition at line 340 of file FiltersPanel.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().
|
private |
Updates the filter widgets to reflect he data sources/types in the case.
Definition at line 242 of file FiltersPanel.java.
|
private |
Definition at line 235 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.Utils.getUserPreferredZoneId().
|
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 198 of file FiltersPanel.java.
|
private |
Definition at line 212 of file FiltersPanel.java.
|
private |
Definition at line 1065 of file FiltersPanel.java.
|
private |
Map from Account.Type to the checkbox for that account type's filter.
Definition at line 89 of file FiltersPanel.java.
|
private |
Definition at line 1066 of file FiltersPanel.java.
|
private |
Definition at line 1067 of file FiltersPanel.java.
|
private |
Definition at line 1068 of file FiltersPanel.java.
|
private |
Definition at line 1069 of file FiltersPanel.java.
|
private |
Definition at line 1070 of file FiltersPanel.java.
|
private |
Definition at line 1071 of file FiltersPanel.java.
|
private |
Definition at line 1072 of file FiltersPanel.java.
|
private |
Definition at line 1073 of file FiltersPanel.java.
|
private |
Definition at line 1074 of file FiltersPanel.java.
|
private |
Is the device account type filter enabled or not. It should be enabled when the Table/Brows mode is active and disabled when the visualization is active. Initially false since the browse/table mode is active initially.
Definition at line 122 of file FiltersPanel.java.
|
private |
Definition at line 1075 of file FiltersPanel.java.
|
private |
Definition at line 1076 of file FiltersPanel.java.
|
private |
Definition at line 1077 of file FiltersPanel.java.
|
private |
Map from datasource device id to the checkbox for that datasource.
Definition at line 95 of file FiltersPanel.java.
|
private |
Definition at line 1078 of file FiltersPanel.java.
|
private |
Definition at line 1079 of file FiltersPanel.java.
|
private |
Definition at line 1080 of file FiltersPanel.java.
|
private |
Definition at line 1081 of file FiltersPanel.java.
|
private |
Definition at line 1082 of file FiltersPanel.java.
|
private |
Definition at line 101 of file FiltersPanel.java.
|
private |
Listens to ingest events to enable refresh button
Definition at line 100 of file FiltersPanel.java.
|
private |
Definition at line 1083 of file FiltersPanel.java.
|
private |
Definition at line 1084 of file FiltersPanel.java.
|
private |
Definition at line 1085 of file FiltersPanel.java.
|
private |
Definition at line 1086 of file FiltersPanel.java.
|
private |
Definition at line 1087 of file FiltersPanel.java.
|
staticprivate |
Definition at line 83 of file FiltersPanel.java.
|
private |
Definition at line 1088 of file FiltersPanel.java.
|
private |
Definition at line 1089 of file FiltersPanel.java.
|
private |
Flag that indicates the UI is not up-to-date with respect to the case DB and it should be refreshed (by reapplying the filters).
Definition at line 107 of file FiltersPanel.java.
|
private |
Definition at line 1090 of file FiltersPanel.java.
|
private |
Definition at line 124 of file FiltersPanel.java.
|
private |
Definition at line 1091 of file FiltersPanel.java.
|
private |
Definition at line 1092 of file FiltersPanel.java.
|
staticprivate |
Definition at line 82 of file FiltersPanel.java.
|
private |
Definition at line 1093 of file FiltersPanel.java.
|
private |
Definition at line 1094 of file FiltersPanel.java.
|
private |
Definition at line 1095 of file FiltersPanel.java.
|
private |
Definition at line 1096 of file FiltersPanel.java.
|
private |
Definition at line 1097 of file FiltersPanel.java.
|
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 114 of file FiltersPanel.java.
Copyright © 2012-2018 Basis Technology. Generated on: Fri Jun 21 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.