Package controller

Class VideoController

java.lang.Object
controller.VideoController
All Implemented Interfaces:
Controller, javafx.fxml.Initializable

public class VideoController extends Object implements Controller
  • Constructor Details

    • VideoController

      public VideoController()
  • Method Details

    • initialize

      public void initialize(URL location, ResourceBundle resources)
      Specified by:
      initialize in interface javafx.fxml.Initializable
    • injectStatusLabel

      public void injectStatusLabel(javafx.scene.control.Label statusLabel)
      Specified by:
      injectStatusLabel in interface Controller
    • close

      public void close()
      Specified by:
      close in interface Controller
    • connectToSource

      public void connectToSource()
      The connection to an image source is created according to the selected option of the choice box.
    • startVideo

      public void startVideo()
      If an image source is connected, image transmission starts.
    • stopVideo

      public void stopVideo()
    • setIvSize

      public void setIvSize()
      Change ImageView size. If preserveRatio is not explicitly set to true, height and width can be changed independently of each other.