Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer Class Reference

Inherits org.sleuthkit.autopsy.discovery.ui.AbstractArtifactDetailsPanel, and org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Classes

class  MultiLineTableCellRenderer
 
class  ResultsTableArtifact
 

Public Member Functions

 DefaultTableArtifactContentViewer ()
 
Component getComponent ()
 
boolean isSupported (BlackboardArtifact artifact)
 
void setArtifact (BlackboardArtifact artifact)
 

Private Member Functions

void customizeComponents ()
 
void initComponents ()
 
void initResultsTable ()
 
void resetComponents ()
 
void updateColumnSizes ()
 
void updateRowHeights ()
 
void updateView (ResultsTableArtifact resultsTableArtifact)
 

Private Attributes

javax.swing.JMenuItem copyMenuItem
 
ETable resultsTable
 
javax.swing.JScrollPane resultsTableScrollPane
 
javax.swing.JPopupMenu rightClickMenu
 
javax.swing.JMenuItem selectAllMenuItem
 

Static Private Attributes

static final int CELL_BOTTOM_MARGIN = 5
 
static final int CELL_RIGHT_MARGIN = 1
 
static final String[] COLUMN_HEADERS
 
static final int[] COLUMN_WIDTHS = {100, 800, 100}
 
static final Logger logger = Logger.getLogger(DefaultTableArtifactContentViewer.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

This class displays a Blackboard artifact as a table of its attributes.

Definition at line 64 of file DefaultTableArtifactContentViewer.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.DefaultTableArtifactContentViewer ( )

Definition at line 86 of file DefaultTableArtifactContentViewer.java.

Member Function Documentation

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.customizeComponents ( )
private

Definition at line 237 of file DefaultTableArtifactContentViewer.java.

Component org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.getComponent ( )

Returns the panel.

Returns
display panel.

Implements org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Definition at line 275 of file DefaultTableArtifactContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.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 197 of file DefaultTableArtifactContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.initResultsTable ( )
private

Definition at line 95 of file DefaultTableArtifactContentViewer.java.

boolean org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.isSupported ( BlackboardArtifact  artifact)

Checks whether the given artifact is supported by the viewer.

Parameters
artifactArtifact to check.
Returns
True if the artifact can be displayed by the viewer, false otherwise.

Implements org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Definition at line 298 of file DefaultTableArtifactContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.resetComponents ( )
private

Resets the components to an empty view state.

Definition at line 269 of file DefaultTableArtifactContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.setArtifact ( BlackboardArtifact  artifact)

Called to display the contents of the given artifact.

Parameters
artifactthe artifact to display.

Implements org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Definition at line 280 of file DefaultTableArtifactContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.updateColumnSizes ( )
private

Update the column widths so that the Value column has most of the space.

Definition at line 176 of file DefaultTableArtifactContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.updateRowHeights ( )
private

Sets the row heights to the heights of the content in their Value column.

Definition at line 143 of file DefaultTableArtifactContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.updateView ( ResultsTableArtifact  resultsTableArtifact)
private

Updates the table view with the given artifact data.

It should be called on EDT.

Parameters
resultsTableArtifactArtifact data to display in the view.

Definition at line 474 of file DefaultTableArtifactContentViewer.java.

References org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.ResultsTableArtifact.getRows().

Member Data Documentation

final int org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.CELL_BOTTOM_MARGIN = 5
staticprivate

Definition at line 83 of file DefaultTableArtifactContentViewer.java.

final int org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.CELL_RIGHT_MARGIN = 1
staticprivate

Definition at line 84 of file DefaultTableArtifactContentViewer.java.

final String [] org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.COLUMN_HEADERS
staticprivate
Initial value:
= {
Bundle.DefaultTableArtifactContentViewer_attrsTableHeader_type(),
Bundle.DefaultTableArtifactContentViewer_attrsTableHeader_value(),
Bundle.DefaultTableArtifactContentViewer_attrsTableHeader_sources()}

Definition at line 78 of file DefaultTableArtifactContentViewer.java.

final int [] org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.COLUMN_WIDTHS = {100, 800, 100}
staticprivate

Definition at line 82 of file DefaultTableArtifactContentViewer.java.

javax.swing.JMenuItem org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.copyMenuItem
private

Definition at line 230 of file DefaultTableArtifactContentViewer.java.

final Logger org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.logger = Logger.getLogger(DefaultTableArtifactContentViewer.class.getName())
staticprivate

Definition at line 74 of file DefaultTableArtifactContentViewer.java.

ETable org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.resultsTable
private

Definition at line 235 of file DefaultTableArtifactContentViewer.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.resultsTableScrollPane
private

Definition at line 231 of file DefaultTableArtifactContentViewer.java.

javax.swing.JPopupMenu org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.rightClickMenu
private

Definition at line 232 of file DefaultTableArtifactContentViewer.java.

javax.swing.JMenuItem org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.selectAllMenuItem
private

Definition at line 233 of file DefaultTableArtifactContentViewer.java.

final long org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.serialVersionUID = 1L
staticprivate

Definition at line 76 of file DefaultTableArtifactContentViewer.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Thu Sep 29 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.