Autopsy  4.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.corecomponents.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 198 of file FXVideoPanel.java.

Constructor & Destructor Documentation

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

Definition at line 245 of file FXVideoPanel.java.

Member Function Documentation

MediaPlayer org.sleuthkit.autopsy.corecomponents.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 400 of file FXVideoPanel.java.

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

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

Reset this MediaPane.

Definition at line 288 of file FXVideoPanel.java.

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

Reset the progress label and slider to zero.

Definition at line 383 of file FXVideoPanel.java.

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

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

Set the Information Label of this MediaPane.

Parameters
text

Definition at line 305 of file FXVideoPanel.java.

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

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

Definition at line 476 of file FXVideoPanel.java.

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

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

Definition at line 329 of file FXVideoPanel.java.

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

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

Definition at line 427 of file FXVideoPanel.java.

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

Update the slider with the current time.

Parameters
currentTime

Definition at line 441 of file FXVideoPanel.java.

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

Update the progress label with the current time.

Parameters
currentTime

Definition at line 456 of file FXVideoPanel.java.

Member Data Documentation

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

Definition at line 219 of file FXVideoPanel.java.

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

The Duration of the media. *

Definition at line 207 of file FXVideoPanel.java.

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

Definition at line 237 of file FXVideoPanel.java.

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

Definition at line 229 of file FXVideoPanel.java.

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

The container for the media controls. *

Definition at line 212 of file FXVideoPanel.java.

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

Definition at line 202 of file FXVideoPanel.java.

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

The container for the media video output. *

Definition at line 217 of file FXVideoPanel.java.

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

Definition at line 241 of file FXVideoPanel.java.

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

Definition at line 223 of file FXVideoPanel.java.

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

Definition at line 239 of file FXVideoPanel.java.

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

Definition at line 227 of file FXVideoPanel.java.

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

Definition at line 221 of file FXVideoPanel.java.

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

Definition at line 243 of file FXVideoPanel.java.

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

Definition at line 225 of file FXVideoPanel.java.

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

Definition at line 231 of file FXVideoPanel.java.

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

Definition at line 233 of file FXVideoPanel.java.

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

Definition at line 235 of file FXVideoPanel.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.