Autopsy  4.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.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 MediaViewImagePanel.java.

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 .)

Returns

Definition at line 254 of file MediaViewImagePanel.java.

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

returns supported extensions (each starting with .)

Returns

Definition at line 245 of file MediaViewImagePanel.java.

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

Definition at line 235 of file MediaViewImagePanel.java.

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

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 MediaViewImagePanel.java.

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

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

Definition at line 141 of file MediaViewImagePanel.java.

Member Data Documentation

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

Definition at line 72 of file MediaViewImagePanel.java.

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

Definition at line 64 of file MediaViewImagePanel.java.

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

Definition at line 71 of file MediaViewImagePanel.java.

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

Definition at line 68 of file MediaViewImagePanel.java.

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

Definition at line 70 of file MediaViewImagePanel.java.

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

Definition at line 66 of file MediaViewImagePanel.java.

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

Definition at line 74 of file MediaViewImagePanel.java.

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

Definition at line 73 of file MediaViewImagePanel.java.

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

Definition at line 93 of file MediaViewImagePanel.java.

final List<String> org.sleuthkit.autopsy.corecomponents.MediaViewImagePanel.supportedExtensions
staticprivate
Initial value:
= ImageUtils.getSupportedImageExtensions().stream()
.map("."::concat)
.collect(Collectors.toList())

extensions we should be able to display

Definition at line 89 of file MediaViewImagePanel.java.

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

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 MediaViewImagePanel.java.


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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.