Autopsy
4.12.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) |
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 () |
CommunicationsFilter | getFilter () |
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 Set< IngestManager.IngestJobEvent > | INGEST_JOB_EVENTS_OF_INTEREST = EnumSet.of(IngestManager.IngestJobEvent.COMPLETED) |
static final Set< IngestManager.IngestModuleEvent > | INGEST_MODULE_EVENTS_OF_INTEREST = EnumSet.of(DATA_ADDED) |
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 81 of file FiltersPanel.java.
org.sleuthkit.autopsy.communications.FiltersPanel.FiltersPanel | ( | ) |
Definition at line 129 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 252 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 825 of file FiltersPanel.java.
|
private |
Definition at line 981 of file FiltersPanel.java.
|
private |
Definition at line 989 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 319 of file FiltersPanel.java.
References org.sleuthkit.autopsy.communications.Utils.getIconFilePath().
|
private |
Definition at line 998 of file FiltersPanel.java.
|
private |
Get an AccountTypeFilter that matches the state of the UI widgets
Definition at line 866 of file FiltersPanel.java.
|
private |
Get an DateRangeFilter that matches the state of the UI widgets
Definition at line 880 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 852 of file FiltersPanel.java.
|
private |
Definition at line 911 of file FiltersPanel.java.
|
private |
Get an instance of CommunicationsFilters base on the current panel state.
Definition at line 836 of file FiltersPanel.java.
|
private |
Get a MostRecentFilter that based on the current state of the ui controls.
Definition at line 893 of file FiltersPanel.java.
|
private |
Definition at line 907 of file FiltersPanel.java.
|
private |
initalize the DateTimePickers by grabbing the earliest and latest time from the autopsy db.
Definition at line 951 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 469 of file FiltersPanel.java.
|
private |
Definition at line 1003 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 405 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 921 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 931 of file FiltersPanel.java.
|
private |
Helper method that sets all the check boxes in the given map to the given selection state.
map | A map from anything to JCheckBoxes. |
selected | The selection state to set all the check boxes to. |
Definition at line 943 of file FiltersPanel.java.
|
private |
Definition at line 972 of file FiltersPanel.java.
|
private |
Sets the state of the device filter check boxes
deviceFilter | Selected devices |
Definition at line 392 of file FiltersPanel.java.
|
private |
Set up the endDatePicker and endCheckBox based on the passed in DateControlState.
state | new control state |
Definition at line 430 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 374 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 442 of file FiltersPanel.java.
|
private |
Set up the startDatePicker and startCheckBox based on the passed in DateControlState.
state | new control state |
Definition at line 418 of file FiltersPanel.java.
|
private |
Definition at line 993 of file FiltersPanel.java.
|
private |
Definition at line 977 of file FiltersPanel.java.
|
private |
Definition at line 985 of file FiltersPanel.java.
|
private |
Populate the Account Types filter widgets
selected | the initial value for the account type checkbox |
Definition at line 280 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 336 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 243 of file FiltersPanel.java.
|
private |
Definition at line 236 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 199 of file FiltersPanel.java.
|
private |
Definition at line 213 of file FiltersPanel.java.
|
private |
Definition at line 1050 of file FiltersPanel.java.
|
private |
Map from Account.Type to the checkbox for that account type's filter.
Definition at line 91 of file FiltersPanel.java.
|
private |
Definition at line 1051 of file FiltersPanel.java.
|
private |
Definition at line 1052 of file FiltersPanel.java.
|
private |
Definition at line 1053 of file FiltersPanel.java.
|
private |
Definition at line 1054 of file FiltersPanel.java.
|
private |
Definition at line 1055 of file FiltersPanel.java.
|
private |
Definition at line 1056 of file FiltersPanel.java.
|
private |
Definition at line 1057 of file FiltersPanel.java.
|
private |
Definition at line 1058 of file FiltersPanel.java.
|
private |
Definition at line 1059 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 124 of file FiltersPanel.java.
|
private |
Definition at line 1060 of file FiltersPanel.java.
|
private |
Definition at line 1061 of file FiltersPanel.java.
|
private |
Definition at line 1062 of file FiltersPanel.java.
|
private |
Map from datasource device id to the checkbox for that datasource.
Definition at line 97 of file FiltersPanel.java.
|
private |
Definition at line 1063 of file FiltersPanel.java.
|
private |
Definition at line 1064 of file FiltersPanel.java.
|
private |
Definition at line 1065 of file FiltersPanel.java.
|
private |
Definition at line 1066 of file FiltersPanel.java.
|
private |
Definition at line 1067 of file FiltersPanel.java.
|
staticprivate |
Definition at line 85 of file FiltersPanel.java.
|
staticprivate |
Definition at line 86 of file FiltersPanel.java.
|
private |
Definition at line 103 of file FiltersPanel.java.
|
private |
Listens to ingest events to enable refresh button
Definition at line 102 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.
|
staticprivate |
Definition at line 84 of file FiltersPanel.java.
|
private |
Definition at line 1073 of file FiltersPanel.java.
|
private |
Definition at line 1074 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 109 of file FiltersPanel.java.
|
private |
Definition at line 1075 of file FiltersPanel.java.
|
private |
Definition at line 126 of file FiltersPanel.java.
|
private |
Definition at line 1076 of file FiltersPanel.java.
|
private |
Definition at line 1077 of file FiltersPanel.java.
|
staticprivate |
Definition at line 83 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 |
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 116 of file FiltersPanel.java.
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.