Autopsy  4.1
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.corecomponents.MediaViewImagePanel Class Reference

Inherits JPanel, and org.sleuthkit.autopsy.corecomponents.DataContentViewerMedia.MediaViewPanel.

Public Member Functions

 MediaViewImagePanel ()
List< String > getExtensions ()
List< String > getExtensionsList ()
List< String > getMimeTypes ()
boolean isInited ()
boolean isSupported (AbstractFile file)
void reset ()

Private Member Functions

void initComponents ()
void showErrorNode (String errorMessage, AbstractFile file)

Private Attributes

BorderPane borderpane
ImageView fxImageView
final boolean fxInited
JFXPanel fxPanel
final MaskerPane maskerPane = new MaskerPane()
final ProgressBar progressBar = new ProgressBar()
Task< Image > readImageTask

Static Private Attributes

static final Image EXTERNAL = new Image(MediaViewImagePanel.class.getResource("/org/sleuthkit/autopsy/images/external.png").toExternalForm())
static final Logger LOGGER = Logger.getLogger(MediaViewImagePanel.class.getName())
static final List< String > supportedExtensions
static final SortedSet< String > supportedMimes = ImageUtils.getSupportedImageMimeTypes()

Detailed Description

Image viewer part of the Media View layered pane. Uses JavaFX to display the image.

Definition at line 62 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.MediaViewImagePanel ( )

Member Function Documentation

List<String> org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.getExtensions ( )

returns supported extensions (each starting with .)


Definition at line 254 of file

List<String> org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.getExtensionsList ( )

returns supported extensions (each starting with .)


Definition at line 245 of file

List<String> org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.getMimeTypes ( )
supported mime types

Definition at line 235 of file

void org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.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 270 of file

boolean org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.isInited ( )
boolean org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.isSupported ( AbstractFile  file)
void org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.reset ( )

clear the displayed image

Definition at line 134 of file

Referenced by org.sleuthkit.autopsy.corecomponents.DataContentViewerMedia.resetComponent().

void org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.showErrorNode ( String  errorMessage,
AbstractFile  file 

Definition at line 141 of file

Member Data Documentation

BorderPane org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.borderpane

Definition at line 72 of file

final Image org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.EXTERNAL = new Image(MediaViewImagePanel.class.getResource("/org/sleuthkit/autopsy/images/external.png").toExternalForm())

Definition at line 64 of file

ImageView org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.fxImageView

Definition at line 71 of file

final boolean org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.fxInited

Definition at line 68 of file

JFXPanel org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.fxPanel

Definition at line 70 of file

final Logger org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.LOGGER = Logger.getLogger(MediaViewImagePanel.class.getName())

Definition at line 66 of file

final MaskerPane org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.maskerPane = new MaskerPane()

Definition at line 74 of file

final ProgressBar org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.progressBar = new ProgressBar()

Definition at line 73 of file

Task<Image> org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.readImageTask

Definition at line 93 of file

final List<String> org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.supportedExtensions
Initial value:
= ImageUtils.getSupportedImageExtensions().stream()

extensions we should be able to display

Definition at line 89 of file

final SortedSet<String> org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.supportedMimes = ImageUtils.getSupportedImageMimeTypes()

mime types we should be able to display. if the mimetype is unknown we will fall back on extension and jpg/png header

Definition at line 84 of file

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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jan 2 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.