mystyle-java-fx-tools/src/main/resources/fxml/video.fxml

66 lines
3.8 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<?import com.leewyatt.rxcontrols.controls.RXMediaProgressBar?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.Slider?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.media.MediaView?>
<AnchorPane fx:id="video_root" prefHeight="649.0" prefWidth="1200.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.zhangmeng.tools.controller.VideoController">
<HBox alignment="CENTER" layoutY="479.0" prefHeight="49.0" prefWidth="1200.0" spacing="20.0" style="-fx-background-color: #6666" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
<children>
<ImageView fx:id="iv_set" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/set.png" />
</image>
</ImageView>
<ImageView fx:id="iv_cycle" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/repeat.png" />
</image>
</ImageView>
<ImageView fx:id="iv_last" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true" HBox.hgrow="ALWAYS">
<image>
<Image url="@../static/icon_white/last.png" />
</image>
</ImageView>
<ImageView fx:id="iv_play" fitHeight="74.0" fitWidth="33.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/play.png" />
</image>
</ImageView>
<ImageView fx:id="iv_next" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/next.png" />
</image>
</ImageView>
<ImageView fx:id="iv_list" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/list.png" />
</image>
</ImageView>
<ImageView fx:id="iv_vol" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/vol.png" />
</image>
</ImageView>
<Slider fx:id="sl_vol" prefHeight="14.0" prefWidth="148.0" />
</children>
</HBox>
<RXMediaProgressBar fx:id="progressBar" layoutX="92.0" layoutY="542.0" prefHeight="11.0" prefWidth="961.0" AnchorPane.bottomAnchor="71.0" AnchorPane.leftAnchor="185.0" AnchorPane.rightAnchor="101.0" />
<ScrollPane fx:id="scrollPane" prefHeight="551.0" prefWidth="300.0" AnchorPane.bottomAnchor="98.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
<content>
<ListView fx:id="listView" prefHeight="${scrollPane.height}" prefWidth="295.0" />
</content>
</ScrollPane>
<Label fx:id="label_name" layoutX="21.0" layoutY="564.0" text="芊芊墨客-音乐相随" AnchorPane.bottomAnchor="68.0" AnchorPane.leftAnchor="21.0" />
<Label fx:id="label_time" layoutX="1121.0" layoutY="564.0" text="00:00" AnchorPane.bottomAnchor="68.0" AnchorPane.rightAnchor="44.0" />
<MediaView id="mv" fx:id="mv" fitHeight="679" fitWidth="1200" layoutX="353.0" layoutY="268.0" AnchorPane.bottomAnchor="100.0" AnchorPane.leftAnchor="300.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
</AnchorPane>