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

Inherits JPanel.

Classes

enum  DisplayDropdownOptions
 

Public Member Functions

 TranslationContentPanel ()
 
void display (String text, ComponentOrientation direction, int font)
 

Private Member Functions

void additionalInitComponents ()
 
void initComponents ()
 
void removeAllActionListeners (JComboBox< String > dropDown)
 

Static Private Member Functions

static ImmutableBiMap< String, String > createLanguageBiMap ()
 

Private Attributes

javax.swing.JPanel controlPanel
 
final AutoWrappingJTextPane DISPLAY_PANE
 
javax.swing.JComboBox< String > displayTextComboBox
 
javax.swing.JSeparator jSeparator1
 
int lastSelectedIndex = 0
 
javax.swing.JComboBox< String > ocrDropdown
 
javax.swing.JLabel ocrLabel
 
javax.swing.JPanel ocrPanel
 
javax.swing.JLabel showLabel
 
javax.swing.JPanel showPanel
 
javax.swing.JScrollPane textScrollPane
 
javax.swing.JLabel warningLabel
 

Static Private Attributes

static final ImmutableBiMap< String, String > LANGUAGE_NAMES
 
static final long serialVersionUID = 1L
 

Detailed Description

A JPanel used by TranslatedContentViewer to display machine translation of text.

Definition at line 41 of file TranslationContentPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.TranslationContentPanel ( )

Creates new form TranslatedContentPanel

Definition at line 52 of file TranslationContentPanel.java.

Member Function Documentation

void org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.additionalInitComponents ( )
private
static ImmutableBiMap<String, String> org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.createLanguageBiMap ( )
staticprivate

Definition at line 149 of file TranslationContentPanel.java.

void org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.display ( String  text,
ComponentOrientation  direction,
int  font 
)
void org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.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 296 of file TranslationContentPanel.java.

void org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.removeAllActionListeners ( JComboBox< String >  dropDown)
private

Remove all action listeners from a JComboBox.

Parameters
dropDownSrc ComboBox to remove listeners from

Definition at line 96 of file TranslationContentPanel.java.

Member Data Documentation

javax.swing.JPanel org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.controlPanel
private

Definition at line 400 of file TranslationContentPanel.java.

final AutoWrappingJTextPane org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.DISPLAY_PANE
private

Definition at line 47 of file TranslationContentPanel.java.

javax.swing.JComboBox<String> org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.displayTextComboBox
private

Definition at line 401 of file TranslationContentPanel.java.

javax.swing.JSeparator org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.jSeparator1
private

Definition at line 402 of file TranslationContentPanel.java.

final ImmutableBiMap<String, String> org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.LANGUAGE_NAMES
staticprivate

Definition at line 43 of file TranslationContentPanel.java.

int org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.lastSelectedIndex = 0
private

Definition at line 45 of file TranslationContentPanel.java.

javax.swing.JComboBox<String> org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.ocrDropdown
private

Definition at line 403 of file TranslationContentPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.ocrLabel
private

Definition at line 404 of file TranslationContentPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.ocrPanel
private

Definition at line 405 of file TranslationContentPanel.java.

final long org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.serialVersionUID = 1L
staticprivate

Definition at line 44 of file TranslationContentPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.showLabel
private

Definition at line 406 of file TranslationContentPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.showPanel
private

Definition at line 407 of file TranslationContentPanel.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.textScrollPane
private

Definition at line 408 of file TranslationContentPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.texttranslation.ui.TranslationContentPanel.warningLabel
private

Definition at line 409 of file TranslationContentPanel.java.


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

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