Class ExportVideoDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class ExportVideoDialog extends JDialog
A dialog for exporting videos from a TrackerPanel.
Author:
Douglas Brown
See Also:
  • Field Details

  • Method Details

    • getVideoDialog

      public static ExportVideoDialog getVideoDialog(TrackerPanel panel)
      Returns the singleton ExportVideoDialog for a specified TrackerPanel.
      Parameters:
      panel - the TrackerPanel
      Returns:
      the ExportVideoDialog
    • setFormat

      protected void setFormat(String format)
    • getFormat

      public Object getFormat()
      Gets the currently selected video format (description).
      Returns:
      the format
    • exportFullSizeVideo

      protected String exportFullSizeVideo(String filePath, String trkPath)
    • refreshFormatDropdown

      public void refreshFormatDropdown(String preferredExtension)
      Refreshes the format dropdown.
      Parameters:
      preferredExtension - the preferred video file extension
    • setFontLevel

      public void setFontLevel(int level)
      Sets the font level.
      Parameters:
      level - the desired font level
    • setTrackerPanel

      public void setTrackerPanel(TrackerPanel panel)
    • setProgress

      protected void setProgress(ProgressMonitor monitor, ClipControl playControl, VideoPlayer player, VideoRecorder recorder, boolean videoIsVisible, VideoClip clip, Dimension size, double magnification, boolean done, boolean showOpenDialog)
    • clear

      public void clear()
    • dispose

      public void dispose()
      Overrides:
      dispose in class Window