Autopsy  4.21.0
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.HtmlPanel Class Reference

Inherits JPanel.

Public Member Functions

 HtmlPanel ()
void reset ()
void setHtmlText (String htmlText)

Private Member Functions

String cleanseHTML (String htmlInString)
void disableHyperLinks ()
void initComponents ()
void refresh ()
void showImagesToggleButtonActionPerformed (java.awt.event.ActionEvent evt)

Private Attributes

javax.swing.JPanel htmlJPanel
String htmlText
final JFXPanel jfxPanel = new JFXPanel()
javax.swing.JToggleButton showImagesToggleButton
WebView webView

Static Private Attributes

static final Logger logger = Logger.getLogger(HtmlPanel.class.getName())
static final long serialVersionUID = 1L
static final String TEXT_TYPE = "text/plain"

Detailed Description

A file content viewer for HTML files.

Definition at line 45 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.contentviewers.HtmlPanel.HtmlPanel ( )

Creates new form HtmlViewerPanel

Definition at line 57 of file

Member Function Documentation

String org.sleuthkit.autopsy.contentviewers.HtmlPanel.cleanseHTML ( String  htmlInString)

Cleans out input HTML string so it will not access resources over the internet

htmlInStringThe HTML string to cleanse
The cleansed HTML String

Definition at line 108 of file

void org.sleuthkit.autopsy.contentviewers.HtmlPanel.disableHyperLinks ( )

Disable the click events on hyper links so that new pages can not be opened.

Definition at line 244 of file

void org.sleuthkit.autopsy.contentviewers.HtmlPanel.initComponents ( )

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 204 of file

void org.sleuthkit.autopsy.contentviewers.HtmlPanel.refresh ( )

Refresh the panel to reflect the current show/hide images setting.

Definition at line 174 of file

void org.sleuthkit.autopsy.contentviewers.HtmlPanel.reset ( )

Clear the HTML in the text pane and disable the show/hide button.

Definition at line 94 of file

void org.sleuthkit.autopsy.contentviewers.HtmlPanel.setHtmlText ( String  htmlText)

Set the text pane's HTML text and refresh the view to display it.

htmlTextThe HTML text to be applied to the text pane.

Definition at line 86 of file

void org.sleuthkit.autopsy.contentviewers.HtmlPanel.showImagesToggleButtonActionPerformed ( java.awt.event.ActionEvent  evt)

Definition at line 236 of file

Member Data Documentation

javax.swing.JPanel org.sleuthkit.autopsy.contentviewers.HtmlPanel.htmlJPanel

Definition at line 260 of file

String org.sleuthkit.autopsy.contentviewers.HtmlPanel.htmlText

Definition at line 52 of file

final JFXPanel org.sleuthkit.autopsy.contentviewers.HtmlPanel.jfxPanel = new JFXPanel()

Definition at line 50 of file

final Logger org.sleuthkit.autopsy.contentviewers.HtmlPanel.logger = Logger.getLogger(HtmlPanel.class.getName())

Definition at line 47 of file

final long org.sleuthkit.autopsy.contentviewers.HtmlPanel.serialVersionUID = 1L

Definition at line 48 of file

javax.swing.JToggleButton org.sleuthkit.autopsy.contentviewers.HtmlPanel.showImagesToggleButton

Definition at line 261 of file

final String org.sleuthkit.autopsy.contentviewers.HtmlPanel.TEXT_TYPE = "text/plain"

Definition at line 49 of file

WebView org.sleuthkit.autopsy.contentviewers.HtmlPanel.webView

Definition at line 51 of file

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.