Package controller
Class VideoController
java.lang.Object
controller.VideoController
- All Implemented Interfaces:
Controller
,javafx.fxml.Initializable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
The connection to an image source is created according to the selected option of the choice box.void
initialize
(URL location, ResourceBundle resources) void
injectStatusLabel
(javafx.scene.control.Label statusLabel) void
Change ImageView size.void
If an image source is connected, image transmission starts.void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface controller.Controller
registerController, unregisterController
-
Constructor Details
-
VideoController
public VideoController()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacejavafx.fxml.Initializable
-
injectStatusLabel
public void injectStatusLabel(javafx.scene.control.Label statusLabel) - Specified by:
injectStatusLabel
in interfaceController
-
close
public void close()- Specified by:
close
in 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.
-