Autopsy  4.10.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel Class Reference

Inherits JPanel, and org.sleuthkit.autopsy.corecomponents.OptionsPanel.

Public Member Functions

 ViewPreferencesPanel (boolean immediateUpdates)
 
void load ()
 
void store ()
 

Private Member Functions

void commentsOccurencesColumnsCheckboxActionPerformed (java.awt.event.ActionEvent evt)
 
void dataSourcesHideKnownCheckboxActionPerformed (java.awt.event.ActionEvent evt)
 
void dataSourcesHideSlackCheckboxActionPerformed (java.awt.event.ActionEvent evt)
 
void fileNameTranslationColumnCheckboxActionPerformed (java.awt.event.ActionEvent evt)
 
void groupByDataSourceCheckboxActionPerformed (java.awt.event.ActionEvent evt)
 
void hideOtherUsersTagsCheckboxActionPerformed (java.awt.event.ActionEvent evt)
 
void hideRejectedResultsCheckboxActionPerformed (java.awt.event.ActionEvent evt)
 
void initComponents ()
 
void keepCurrentViewerRadioButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void storeGroupItemsInTreeByDataSource ()
 
void timeZoneListValueChanged (javax.swing.event.ListSelectionEvent evt)
 
void useAnotherTimeRadioButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void useBestViewerRadioButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void useLocalTimeRadioButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void viewsHideKnownCheckboxActionPerformed (java.awt.event.ActionEvent evt)
 
void viewsHideSlackCheckboxActionPerformed (java.awt.event.ActionEvent evt)
 

Private Attributes

javax.swing.JLabel centralRepoLabel
 
javax.swing.JCheckBox commentsOccurencesColumnsCheckbox
 
javax.swing.JLabel commentsOccurencesColumnWrapAroundText
 
javax.swing.JPanel currentCaseSettingsPanel
 
javax.swing.JPanel currentSessionSettingsPanel
 
javax.swing.JCheckBox dataSourcesHideKnownCheckbox
 
javax.swing.JCheckBox dataSourcesHideSlackCheckbox
 
javax.swing.JLabel displayTimeLabel
 
javax.swing.JCheckBox fileNameTranslationColumnCheckbox
 
javax.swing.JPanel globalSettingsPanel
 
javax.swing.JCheckBox groupByDataSourceCheckbox
 
javax.swing.JLabel hideKnownFilesLabel
 
javax.swing.JCheckBox hideOtherUsersTagsCheckbox
 
javax.swing.JLabel hideOtherUsersTagsLabel
 
javax.swing.JCheckBox hideRejectedResultsCheckbox
 
javax.swing.JLabel hideSlackFilesLabel
 
final boolean immediateUpdates
 
javax.swing.JScrollPane jScrollPane1
 
javax.swing.JRadioButton keepCurrentViewerRadioButton
 
javax.swing.JLabel selectFileLabel
 
javax.swing.JList< String > timeZoneList
 
javax.swing.JLabel translateTextLabel
 
javax.swing.JRadioButton useAnotherTimeRadioButton
 
javax.swing.JRadioButton useBestViewerRadioButton
 
javax.swing.JRadioButton useLocalTimeRadioButton
 
javax.swing.JPanel viewPreferencesPanel
 
javax.swing.JScrollPane viewPreferencesScrollPane
 
javax.swing.JCheckBox viewsHideKnownCheckbox
 
javax.swing.JCheckBox viewsHideSlackCheckbox
 

Detailed Description

Panel for configuring view preferences.

Definition at line 38 of file ViewPreferencesPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.ViewPreferencesPanel ( boolean  immediateUpdates)

Member Function Documentation

void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.commentsOccurencesColumnsCheckboxActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideKnownCheckboxActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideSlackCheckboxActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.fileNameTranslationColumnCheckboxActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.groupByDataSourceCheckboxActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideOtherUsersTagsCheckboxActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideRejectedResultsCheckboxActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.initComponents ( )
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 144 of file ViewPreferencesPanel.java.

References org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.centralRepoLabel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.commentsOccurencesColumnsCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.commentsOccurencesColumnsCheckboxActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.commentsOccurencesColumnWrapAroundText, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.currentCaseSettingsPanel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.currentSessionSettingsPanel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideKnownCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideKnownCheckboxActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideSlackCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideSlackCheckboxActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.displayTimeLabel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.fileNameTranslationColumnCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.fileNameTranslationColumnCheckboxActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.globalSettingsPanel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.groupByDataSourceCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.groupByDataSourceCheckboxActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideKnownFilesLabel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideOtherUsersTagsCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideOtherUsersTagsCheckboxActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideOtherUsersTagsLabel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideRejectedResultsCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideRejectedResultsCheckboxActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideSlackFilesLabel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.jScrollPane1, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.keepCurrentViewerRadioButton, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.keepCurrentViewerRadioButtonActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.selectFileLabel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.timeZoneList, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.timeZoneListValueChanged(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.translateTextLabel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useAnotherTimeRadioButton, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useAnotherTimeRadioButtonActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useBestViewerRadioButton, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useBestViewerRadioButtonActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useLocalTimeRadioButton, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useLocalTimeRadioButtonActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewPreferencesPanel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewPreferencesScrollPane, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideKnownCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideKnownCheckboxActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideSlackCheckbox, and org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideSlackCheckboxActionPerformed().

Referenced by org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.ViewPreferencesPanel().

void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.keepCurrentViewerRadioButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.load ( )

Load the saved state of all options, and refresh this OptionsPanel accordingly.

Implements org.sleuthkit.autopsy.corecomponents.OptionsPanel.

Definition at line 60 of file ViewPreferencesPanel.java.

References org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.commentsOccurencesColumnsCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.commentsOccurencesColumnWrapAroundText, org.sleuthkit.autopsy.coreutils.TimeZoneUtils.createTimeZoneString(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.currentCaseSettingsPanel, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideKnownCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideSlackCheckbox, org.sleuthkit.autopsy.core.UserPreferences.displayTimesInLocalTime(), org.sleuthkit.autopsy.core.UserPreferences.displayTranslatedFileNames(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.fileNameTranslationColumnCheckbox, org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getDefault(), org.sleuthkit.autopsy.casemodule.CasePreferences.getGroupItemsInTreeByDataSource(), org.sleuthkit.autopsy.texttranslation.TextTranslationService.getInstance(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getShowRejectedResults(), org.sleuthkit.autopsy.core.UserPreferences.getTimeZoneForDisplays(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.groupByDataSourceCheckbox, org.sleuthkit.autopsy.texttranslation.TextTranslationService.hasProvider(), org.sleuthkit.autopsy.core.UserPreferences.hideCentralRepoCommentsAndOccurrences(), org.sleuthkit.autopsy.core.UserPreferences.hideKnownFilesInDataSourcesTree(), org.sleuthkit.autopsy.core.UserPreferences.hideKnownFilesInViewsTree(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideOtherUsersTagsCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideRejectedResultsCheckbox, org.sleuthkit.autopsy.core.UserPreferences.hideSlackFilesInDataSourcesTree(), org.sleuthkit.autopsy.core.UserPreferences.hideSlackFilesInViewsTree(), org.sleuthkit.autopsy.casemodule.Case.isCaseOpen(), org.sleuthkit.autopsy.centralrepository.datamodel.EamDb.isEnabled(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.keepCurrentViewerRadioButton, org.sleuthkit.autopsy.core.UserPreferences.keepPreferredContentViewer(), org.sleuthkit.autopsy.core.UserPreferences.showOnlyCurrentUserTags(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.timeZoneList, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useAnotherTimeRadioButton, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useBestViewerRadioButton, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useLocalTimeRadioButton, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideKnownCheckbox, and org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideSlackCheckbox.

Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.openViewPreferencesButtonActionPerformed(), and org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanelController.update().

void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.store ( )

Store the current state of all options in this OptionsPanel.

Implements org.sleuthkit.autopsy.corecomponents.OptionsPanel.

Definition at line 104 of file ViewPreferencesPanel.java.

References org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.commentsOccurencesColumnsCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideKnownCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideSlackCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.fileNameTranslationColumnCheckbox, org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getDefault(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideOtherUsersTagsCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideRejectedResultsCheckbox, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.keepCurrentViewerRadioButton, org.sleuthkit.autopsy.core.UserPreferences.setDisplayTimesInLocalTime(), org.sleuthkit.autopsy.core.UserPreferences.setDisplayTranslatedFileNames(), org.sleuthkit.autopsy.core.UserPreferences.setHideCentralRepoCommentsAndOccurrences(), org.sleuthkit.autopsy.core.UserPreferences.setHideKnownFilesInDataSourcesTree(), org.sleuthkit.autopsy.core.UserPreferences.setHideKnownFilesInViewsTree(), org.sleuthkit.autopsy.core.UserPreferences.setHideSlackFilesInDataSourcesTree(), org.sleuthkit.autopsy.core.UserPreferences.setHideSlackFilesInViewsTree(), org.sleuthkit.autopsy.core.UserPreferences.setKeepPreferredContentViewer(), org.sleuthkit.autopsy.core.UserPreferences.setShowOnlyCurrentUserTags(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.setShowRejectedResults(), org.sleuthkit.autopsy.core.UserPreferences.setTimeZoneForDisplays(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.storeGroupItemsInTreeByDataSource(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.timeZoneList, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useAnotherTimeRadioButton, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useLocalTimeRadioButton, org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideKnownCheckbox, and org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideSlackCheckbox.

Referenced by org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanelController.applyChanges().

void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.storeGroupItemsInTreeByDataSource ( )
private

Store the 'groupByDataSourceCheckbox' value.

Note: The value will not be stored if the value hasn't previously been stored and the checkbox isn't selected. This is so GroupDataSourcesDialog can prompt the user for this in the event the value hasn't been initialized.

Definition at line 131 of file ViewPreferencesPanel.java.

References org.sleuthkit.autopsy.casemodule.CasePreferences.getGroupItemsInTreeByDataSource(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.groupByDataSourceCheckbox, org.sleuthkit.autopsy.casemodule.Case.isCaseOpen(), and org.sleuthkit.autopsy.casemodule.CasePreferences.setGroupItemsInTreeByDataSource().

Referenced by org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.groupByDataSourceCheckboxActionPerformed(), and org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.store().

void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.timeZoneListValueChanged ( javax.swing.event.ListSelectionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useAnotherTimeRadioButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useBestViewerRadioButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useLocalTimeRadioButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideKnownCheckboxActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideSlackCheckboxActionPerformed ( java.awt.event.ActionEvent  evt)
private

Member Data Documentation

javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.centralRepoLabel
private
javax.swing.JCheckBox org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.commentsOccurencesColumnsCheckbox
private
javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.commentsOccurencesColumnWrapAroundText
private
javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.currentCaseSettingsPanel
private
javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.currentSessionSettingsPanel
private
javax.swing.JCheckBox org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideKnownCheckbox
private
javax.swing.JCheckBox org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.dataSourcesHideSlackCheckbox
private
javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.displayTimeLabel
private
javax.swing.JCheckBox org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.fileNameTranslationColumnCheckbox
private
javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.globalSettingsPanel
private
javax.swing.JCheckBox org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.groupByDataSourceCheckbox
private
javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideKnownFilesLabel
private
javax.swing.JCheckBox org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideOtherUsersTagsCheckbox
private
javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideOtherUsersTagsLabel
private
javax.swing.JCheckBox org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideRejectedResultsCheckbox
private
javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideSlackFilesLabel
private
final boolean org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.immediateUpdates
private
javax.swing.JScrollPane org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.jScrollPane1
private
javax.swing.JRadioButton org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.keepCurrentViewerRadioButton
private
javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.selectFileLabel
private
javax.swing.JList<String> org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.timeZoneList
private
javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.translateTextLabel
private
javax.swing.JRadioButton org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useAnotherTimeRadioButton
private
javax.swing.JRadioButton org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useBestViewerRadioButton
private
javax.swing.JRadioButton org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.useLocalTimeRadioButton
private
javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewPreferencesPanel
private
javax.swing.JScrollPane org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewPreferencesScrollPane
private
javax.swing.JCheckBox org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideKnownCheckbox
private
javax.swing.JCheckBox org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.viewsHideSlackCheckbox
private

The documentation for this class was generated from the following file:

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.