Autopsy  4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane Class Reference

Inherits BorderPane.

Classes

class  EndOfMediaListener
 
class  ExtractMedia
 
class  ReadyListener
 

Public Member Functions

 MediaPane ()
 
void reset ()
 
void setFit (final Dimension dims)
 
void setInfoLabelText (final String text)
 

Private Member Functions

MediaPlayer createMediaPlayer (String mediaUri)
 
void resetProgress ()
 
void setInfoLabelToolTipText (final String text)
 
void setProgressActionListeners ()
 
void updateProgress ()
 
void updateSlider (Duration currentTime)
 
void updateTime (Duration currentTime)
 

Private Attributes

final VBox controlPanel
 
Duration duration
 
final String durationFormat = "%02d:%02d:%02d/%02d:%02d:%02d "
 
final Label infoLabel
 
MediaPlayer mediaPlayer
 
final HBox mediaTools
 
final MediaView mediaView
 
final HBox mediaViewPane
 
final Button pauseButton
 
final Label progressLabel
 
final Slider progressSlider
 
final Button stopButton
 
int totalHours
 
int totalMinutes
 
int totalSeconds
 

Static Private Attributes

static final String PAUSE_TEXT = "||"
 
static final String PLAY_TEXT = "►"
 
static final String STOP_TEXT = "X"
 

Detailed Description

Definition at line 207 of file FXVideoPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.MediaPane ( )

Definition at line 254 of file FXVideoPanel.java.

Member Function Documentation

MediaPlayer org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.createMediaPlayer ( String  mediaUri)
private

Construct a MediaPlayer from the given Media URI.

Also adds the necessary listeners to MediaPlayer events.

Parameters
mediaUrithe location of the media.
Returns
a MediaPlayer

Definition at line 409 of file FXVideoPanel.java.

Referenced by org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.ExtractMedia.onDone().

void org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.reset ( )

Reset this MediaPane.

Definition at line 297 of file FXVideoPanel.java.

void org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.resetProgress ( )
private

Reset the progress label and slider to zero.

Definition at line 392 of file FXVideoPanel.java.

void org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.setFit ( final Dimension  dims)

Set the size of the MediaPane and it's components.

Parameters
dimsthe current dimensions of the DataContentViewer

Definition at line 326 of file FXVideoPanel.java.

void org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.setInfoLabelText ( final String  text)

Set the Information Label of this MediaPane.

Parameters
text

Definition at line 314 of file FXVideoPanel.java.

Referenced by org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.ExtractMedia.onDone().

void org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.setInfoLabelToolTipText ( final String  text)
private

Definition at line 485 of file FXVideoPanel.java.

void org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.setProgressActionListeners ( )
private

Set the action listeners for the pause button and progress slider.

Definition at line 338 of file FXVideoPanel.java.

void org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.updateProgress ( )
private

Update the progress slider and label with the current time of the media.

Definition at line 436 of file FXVideoPanel.java.

void org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.updateSlider ( Duration  currentTime)
private

Update the slider with the current time.

Parameters
currentTime

Definition at line 450 of file FXVideoPanel.java.

void org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.updateTime ( Duration  currentTime)
private

Update the progress label with the current time.

Parameters
currentTime

Definition at line 465 of file FXVideoPanel.java.

Member Data Documentation

final VBox org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.controlPanel
private

Definition at line 228 of file FXVideoPanel.java.

Duration org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.duration
private

The Duration of the media. *

Definition at line 216 of file FXVideoPanel.java.

final String org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.durationFormat = "%02d:%02d:%02d/%02d:%02d:%02d "
private

Definition at line 246 of file FXVideoPanel.java.

final Label org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.infoLabel
private

Definition at line 238 of file FXVideoPanel.java.

MediaPlayer org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.mediaPlayer
private
final HBox org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.mediaTools
private

The container for the media controls. *

Definition at line 221 of file FXVideoPanel.java.

final MediaView org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.mediaView
private

Definition at line 211 of file FXVideoPanel.java.

final HBox org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.mediaViewPane
private

The container for the media video output. *

Definition at line 226 of file FXVideoPanel.java.

final String org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.PAUSE_TEXT = "||"
staticprivate

Definition at line 250 of file FXVideoPanel.java.

final Button org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.pauseButton
private

Definition at line 232 of file FXVideoPanel.java.

final String org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.PLAY_TEXT = "►"
staticprivate

Definition at line 248 of file FXVideoPanel.java.

final Label org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.progressLabel
private

Definition at line 236 of file FXVideoPanel.java.

final Slider org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.progressSlider
private

Definition at line 230 of file FXVideoPanel.java.

final String org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.STOP_TEXT = "X"
staticprivate

Definition at line 252 of file FXVideoPanel.java.

final Button org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.stopButton
private

Definition at line 234 of file FXVideoPanel.java.

int org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.totalHours
private

Definition at line 240 of file FXVideoPanel.java.

int org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.totalMinutes
private

Definition at line 242 of file FXVideoPanel.java.

int org.sleuthkit.autopsy.contentviewers.FXVideoPanel.MediaPane.totalSeconds
private

Definition at line 244 of file FXVideoPanel.java.


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

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