Package gui.tool

Class VideoTool

All Implemented Interfaces:
PageEventHandler, Tool

public class VideoTool extends AudioTool
  • Constructor Details

    • VideoTool

      public VideoTool(String type)
  • Method Details

    • setSelectedAudio

      public void setSelectedAudio(javafx.scene.input.MouseEvent e)
      Description copied from class: AudioTool
      Defines how GUIAudio on the page can either be selected or de-selected

      If any visual component of a GUIAudio is clicked on the page, it is classified as selected. If anything that is not an instance of GUIAudio is clicked on the page, then no GUIAudio is considered selected

      Overrides:
      setSelectedAudio in class AudioTool
      Parameters:
      e - Any form of MouseEvent detecting on the associated page
    • configureAddAudio

      protected void configureAddAudio(ToolBarController tbc)
      Overrides:
      configureAddAudio in class AudioTool
    • getName

      public String getName()
      Description copied from interface: Tool
      Return the name of this tool.
      Specified by:
      getName in interface Tool
      Overrides:
      getName in class AudioTool
    • getGraphic

      public javafx.scene.control.Label getGraphic()
      Description copied from interface: Tool
      Return the "graphic" to show in the toolbar for this tool.
      Specified by:
      getGraphic in interface Tool
      Overrides:
      getGraphic in class AudioTool