Autopsy  4.4
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 197 of file FXVideoPanel.java.

Constructor & Destructor Documentation

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

Definition at line 244 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 399 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 287 of file FXVideoPanel.java.

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

Reset the progress label and slider to zero.

Definition at line 382 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 316 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 304 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 475 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 328 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 426 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 440 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 455 of file FXVideoPanel.java.

Member Data Documentation

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

Definition at line 218 of file FXVideoPanel.java.

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

The Duration of the media. *

Definition at line 206 of file FXVideoPanel.java.

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

Definition at line 236 of file FXVideoPanel.java.

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

Definition at line 228 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 211 of file FXVideoPanel.java.

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

Definition at line 201 of file FXVideoPanel.java.

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

The container for the media video output. *

Definition at line 216 of file FXVideoPanel.java.

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

Definition at line 240 of file FXVideoPanel.java.

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

Definition at line 222 of file FXVideoPanel.java.

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

Definition at line 238 of file FXVideoPanel.java.

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

Definition at line 226 of file FXVideoPanel.java.

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

Definition at line 220 of file FXVideoPanel.java.

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

Definition at line 242 of file FXVideoPanel.java.

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

Definition at line 224 of file FXVideoPanel.java.

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

Definition at line 230 of file FXVideoPanel.java.

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

Definition at line 232 of file FXVideoPanel.java.

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

Definition at line 234 of file FXVideoPanel.java.


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

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