Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
static String | getHeaderClassName () |
static String | getIndentedClassName () |
static String | getKeyColumnClassName () |
static String | getMessageClassName () |
static String | getMonospacedClassName () |
static String | getSpacedSectionClassName () |
static String | getSubHeaderClassName () |
static String | getTextClassName () |
static void | setStyles (JTextPane textPane) |
static void | setupHtmlJTextPane (JTextPane textPane) |
Static Private Member Functions | |
static int | pxToPt (int px) |
Static Private Attributes | |
static final String | CLASS_PREFIX = ContentViewerHtmlStyles.class.getSimpleName() |
static final Font | DEFAULT_FONT = ContentViewerDefaults.getFont() |
static final String | HEADER_CLASSNAME = CLASS_PREFIX + "header" |
static final Font | HEADER_FONT = ContentViewerDefaults.getHeaderFont() |
static final String | INDENTED_CLASSNAME = CLASS_PREFIX + "indent" |
static final String | KEY_COLUMN_TD_CLASSNAME = CLASS_PREFIX + "keyKolumn" |
static final String | MESSAGE_CLASSNAME = CLASS_PREFIX + "message" |
static final Font | MESSAGE_FONT = ContentViewerDefaults.getMessageFont() |
static final String | MONOSPACED_CLASSNAME = CLASS_PREFIX + "monospaced" |
static final Font | MONOSPACED_FONT = ContentViewerDefaults.getMonospacedFont() |
static final String | SPACED_SECTION_CLASSNAME = CLASS_PREFIX + "spacedSection" |
static final StyleSheet | STYLE_SHEET = new StyleSheet() |
static final String | STYLE_SHEET_RULE |
static final String | SUB_HEADER_CLASSNAME = CLASS_PREFIX + "subHeader" |
static final Font | SUB_HEADER_FONT = ContentViewerDefaults.getSubHeaderFont() |
static final String | TEXT_CLASSNAME = CLASS_PREFIX + "text" |
The style sheet an class names to be used with content viewers using html rendering.
Definition at line 31 of file ContentViewerHtmlStyles.java.
|
static |
Returns the class name to use for header text.
Definition at line 95 of file ContentViewerHtmlStyles.java.
References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.HEADER_CLASSNAME.
Referenced by org.sleuthkit.autopsy.contentviewers.Metadata.addHeader(), org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendSection(), org.sleuthkit.autopsy.contentviewers.annotations.AnnotationUtils.appendSection(), and org.sleuthkit.autopsy.contentviewers.annotations.AnnotationUtils.appendSubsection().
|
static |
Returns the class name to use for an indented (left padding) section.
Definition at line 140 of file ContentViewerHtmlStyles.java.
References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.INDENTED_CLASSNAME.
Referenced by org.sleuthkit.autopsy.contentviewers.annotations.AnnotationUtils.appendEntries(), org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendResult(), org.sleuthkit.autopsy.contentviewers.Metadata.MetaDataWorker.doInBackground(), org.sleuthkit.autopsy.contentviewers.annotations.AnnotationUtils.renderArtifact(), and org.sleuthkit.autopsy.contentviewers.Metadata.startTable().
|
static |
Returns the class name to use for a key column with right spacing (right padding).
Definition at line 162 of file ContentViewerHtmlStyles.java.
References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.KEY_COLUMN_TD_CLASSNAME.
Referenced by org.sleuthkit.autopsy.contentviewers.Metadata.addMonospacedRow(), org.sleuthkit.autopsy.contentviewers.Metadata.addRow(), org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendResult(), and org.sleuthkit.autopsy.contentviewers.annotations.AnnotationUtils.appendRow().
|
static |
Returns the class name to use for message text.
Definition at line 113 of file ContentViewerHtmlStyles.java.
References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.MESSAGE_CLASSNAME.
Referenced by org.sleuthkit.autopsy.contentviewers.annotations.AnnotationsContentViewer.AnnotationWorker.doInBackground().
|
static |
Returns the class name to use for monospaced text.
Definition at line 131 of file ContentViewerHtmlStyles.java.
References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.MONOSPACED_CLASSNAME.
Referenced by org.sleuthkit.autopsy.contentviewers.Metadata.addMonospacedRow().
|
static |
Returns the class name to use for a section with spacing (top padding) section.
Definition at line 151 of file ContentViewerHtmlStyles.java.
References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.SPACED_SECTION_CLASSNAME.
Referenced by org.sleuthkit.autopsy.contentviewers.Metadata.addHeader(), org.sleuthkit.autopsy.contentviewers.annotations.AnnotationUtils.appendEntries(), org.sleuthkit.autopsy.contentviewers.annotations.AnnotationUtils.appendVerticalEntryTables(), and org.sleuthkit.autopsy.contentviewers.annotations.AnnotationUtils.renderArtifact().
|
static |
Returns the class name to use for sub header text.
Definition at line 104 of file ContentViewerHtmlStyles.java.
References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.SUB_HEADER_CLASSNAME.
|
static |
Returns the class name to use for regular text.
Definition at line 122 of file ContentViewerHtmlStyles.java.
References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.TEXT_CLASSNAME.
Referenced by org.sleuthkit.autopsy.contentviewers.Metadata.addRow(), org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendPanelHeader(), org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendResult(), org.sleuthkit.autopsy.contentviewers.annotations.AnnotationUtils.appendRow(), and org.sleuthkit.autopsy.contentviewers.Metadata.MetaDataWorker.doInBackground().
|
staticprivate |
Converts pixel size to point size. The html rendering seems more consistent with point size versus pixel size.
px | The pixel size. |
Definition at line 86 of file ContentViewerHtmlStyles.java.
References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getPtToPx().
|
static |
If the textPane has an HTMLEditorKit, specifies the ContentViewerHTMLStyles styles to use refreshing the styles.
textPane | The text pane. |
Definition at line 172 of file ContentViewerHtmlStyles.java.
Referenced by org.sleuthkit.autopsy.contentviewers.annotations.AnnotationsContentViewer.AnnotationWorker.done().
|
static |
Sets up a JTextPane for html rendering using the css class names specified in this class.
textPane | The JTextPane to set up for content viewer html rendering. |
Definition at line 186 of file ContentViewerHtmlStyles.java.
References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getPanelBackground(), and org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getPanelInsets().
Referenced by org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.AnalysisResultsContentPanel(), org.sleuthkit.autopsy.contentviewers.annotations.AnnotationsContentViewer.AnnotationsContentViewer(), org.sleuthkit.autopsy.contentviewers.Metadata.Metadata(), and org.sleuthkit.autopsy.contentviewers.Metadata.setText().
|
staticprivate |
Definition at line 34 of file ContentViewerHtmlStyles.java.
|
staticprivate |
Definition at line 46 of file ContentViewerHtmlStyles.java.
|
staticprivate |
Definition at line 36 of file ContentViewerHtmlStyles.java.
Referenced by org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getHeaderClassName().
|
staticprivate |
Definition at line 48 of file ContentViewerHtmlStyles.java.
|
staticprivate |
Definition at line 42 of file ContentViewerHtmlStyles.java.
Referenced by org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getIndentedClassName().
|
staticprivate |
Definition at line 44 of file ContentViewerHtmlStyles.java.
Referenced by org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getKeyColumnClassName().
|
staticprivate |
Definition at line 39 of file ContentViewerHtmlStyles.java.
Referenced by org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getMessageClassName().
|
staticprivate |
Definition at line 47 of file ContentViewerHtmlStyles.java.
|
staticprivate |
Definition at line 41 of file ContentViewerHtmlStyles.java.
Referenced by org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getMonospacedClassName().
|
staticprivate |
Definition at line 50 of file ContentViewerHtmlStyles.java.
|
staticprivate |
Definition at line 43 of file ContentViewerHtmlStyles.java.
Referenced by org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getSpacedSectionClassName().
|
staticprivate |
Definition at line 71 of file ContentViewerHtmlStyles.java.
|
staticprivate |
Definition at line 54 of file ContentViewerHtmlStyles.java.
|
staticprivate |
Definition at line 37 of file ContentViewerHtmlStyles.java.
Referenced by org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getSubHeaderClassName().
|
staticprivate |
Definition at line 49 of file ContentViewerHtmlStyles.java.
|
staticprivate |
Definition at line 40 of file ContentViewerHtmlStyles.java.
Referenced by org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getTextClassName().
Copyright © 2012-2022 Basis Technology. Generated on: Sat Apr 1 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.