Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.geometry.Insets?>
- <?import javafx.scene.control.Button?>
- <?import javafx.scene.control.Slider?>
- <?import javafx.scene.layout.BorderPane?>
- <?import javafx.scene.layout.HBox?>
- <?import javafx.scene.layout.StackPane?>
- <?import javafx.scene.layout.VBox?>
- <?import javafx.scene.media.MediaView?>
- <BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="700.0" stylesheets="@style.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="amedia.FXMLDocumentController">
- <bottom>
- <VBox alignment="CENTER" prefHeight="40.0" prefWidth="600.0" BorderPane.alignment="CENTER">
- <children>
- <HBox alignment="CENTER" prefHeight="40.0">
- <children>
- <Button fx:id="openFile" mnemonicParsing="false" onAction="#handleButtonAction" text="openfile">
- <HBox.margin>
- <Insets right="10.0" />
- </HBox.margin></Button>
- <Button fx:id="playButton" mnemonicParsing="false" onAction="#playVideo" text="play">
- <HBox.margin>
- <Insets right="10.0" />
- </HBox.margin></Button>
- <Button fx:id="pauseButton" mnemonicParsing="false" onAction="#pauseVideo" text="pause">
- <HBox.margin>
- <Insets right="10.0" />
- </HBox.margin></Button>
- <Button fx:id="stopButton" mnemonicParsing="false" onAction="#stopVideo" text="stop">
- <HBox.margin>
- <Insets right="10.0" />
- </HBox.margin></Button>
- <Button mnemonicParsing="false" onAction="#slowerVideo" text="<<<">
- <HBox.margin>
- <Insets right="10.0" />
- </HBox.margin></Button>
- <Button mnemonicParsing="false" onAction="#slowVideo" text="<<">
- <HBox.margin>
- <Insets right="10.0" />
- </HBox.margin></Button>
- <Button mnemonicParsing="false" onAction="#fastVideo" text=">>">
- <HBox.margin>
- <Insets right="10.0" />
- </HBox.margin></Button>
- <Button mnemonicParsing="false" onAction="#fasterVideo" text=">>>">
- <HBox.margin>
- <Insets right="10.0" />
- </HBox.margin></Button>
- <Button mnemonicParsing="false" onAction="#exitVideo" text="Exit">
- <HBox.margin>
- <Insets right="10.0" />
- </HBox.margin></Button>
- <Slider fx:id="slider" />
- </children>
- </HBox>
- </children>
- </VBox>
- </bottom>
- <center>
- <StackPane prefHeight="150.0" prefWidth="200.0" BorderPane.alignment="CENTER">
- <children>
- <MediaView fx:id="mediaView" fitHeight="200.0" fitWidth="200.0" />
- <Slider fx:id="seekSlider" StackPane.alignment="BOTTOM_CENTER" />
- </children>
- </StackPane>
- </center>
- </BorderPane>
Advertisement
Add Comment
Please, Sign In to add comment