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

Inherits JPanel.

Public Member Functions

 AnalysisResultsContentPanel ()
 

Private Member Functions

Optional< Element > appendPanelHeader (Element parent, Optional< String > itemName, Optional< Score > score)
 
Element appendResult (Element parent, int index, AnalysisResultsViewModel.ResultDisplayAttributes attrs)
 
Element appendSection (Element parent, String headerText, Optional< String > anchorId)
 
String getAnchor (AnalysisResult analysisResult)
 
void initComponents ()
 

Private Attributes

javax.swing.JTextPane textPanel
 

Static Private Attributes

static final String EMPTY_HTML = "<html><head></head><body></body></html>"
 
static final String RESULT_ANCHOR_PREFIX = "AnalysisResult_"
 
static final long serialVersionUID = 1L
 

Detailed Description

Displays a list of analysis results in a panel.

Definition at line 40 of file AnalysisResultsContentPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.AnalysisResultsContentPanel ( )

Member Function Documentation

Optional<Element> org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendPanelHeader ( Element  parent,
Optional< String >  itemName,
Optional< Score >  score 
)
private

Appends the header to the panel.

Parameters
parentThe parent html element.
itemNameThe item whose name will be added if present.
scoreThe aggregate score whose significance will be added if present.
Returns
The html element.

Definition at line 128 of file AnalysisResultsContentPanel.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getTextClassName().

Element org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendResult ( Element  parent,
int  index,
AnalysisResultsViewModel.ResultDisplayAttributes  attrs 
)
private
Element org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendSection ( Element  parent,
String  headerText,
Optional< String >  anchorId 
)
private

Appends a new section with a section header to the parent element.

Parameters
parentThe element to append this section to.
headerTextThe text for the section.
anchorIdThe anchor id for this section.
Returns
The div for the new section.

Definition at line 220 of file AnalysisResultsContentPanel.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getHeaderClassName().

Referenced by org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendResult().

String org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.getAnchor ( AnalysisResult  analysisResult)
private

Returns the anchor id to use with the analysis result (based on the id).

Parameters
analysisResultThe analysis result.
Returns
The anchor id.

Definition at line 160 of file AnalysisResultsContentPanel.java.

Referenced by org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendResult().

void org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.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 252 of file AnalysisResultsContentPanel.java.

References org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.textPanel.

Referenced by org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.AnalysisResultsContentPanel().

Member Data Documentation

final String org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.EMPTY_HTML = "<html><head></head><body></body></html>"
staticprivate

Definition at line 44 of file AnalysisResultsContentPanel.java.

final String org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.RESULT_ANCHOR_PREFIX = "AnalysisResult_"
staticprivate

Definition at line 48 of file AnalysisResultsContentPanel.java.

final long org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.serialVersionUID = 1L
staticprivate

Definition at line 42 of file AnalysisResultsContentPanel.java.

javax.swing.JTextPane org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.textPanel
private

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

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