Package controller
Class VideoController
java.lang.Object
controller.VideoController
- All Implemented Interfaces:
Controller,javafx.fxml.Initializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidThe connection to an image source is created according to the selected option of the choice box.voidinitialize(URL location, ResourceBundle resources) voidinjectStatusLabel(javafx.scene.control.Label statusLabel) voidsetAiController(AiControllerOnnx aiController) voidChange ImageView size.voidsetMainController(MainController mainController) voidIf an image source is connected, image transmission starts.voidvoidupdate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface controller.Controller
registerController, unregisterController
-
Constructor Details
-
VideoController
public VideoController()
-
-
Method Details
-
setAiController
-
setMainController
-
initialize
- Specified by:
initializein interfacejavafx.fxml.Initializable
-
injectStatusLabel
public void injectStatusLabel(javafx.scene.control.Label statusLabel) - Specified by:
injectStatusLabelin interfaceController
-
close
public void close()- Specified by:
closein interfaceController
-
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. -
update
public void update()
-