2023年2月21日16:19:16

master
zhangmeng 2023-02-21 16:19:23 +08:00
parent b1fcb0b76e
commit fa7b666333
2 changed files with 6 additions and 4 deletions

View File

@ -59,6 +59,8 @@ public class VipParserController {
comboBox.setItems(list); comboBox.setItems(list);
comboBox.getSelectionModel().select(4); comboBox.getSelectionModel().select(4);
} }
@FXML @FXML

View File

@ -6,11 +6,11 @@
<?import javafx.scene.control.TextField?> <?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.AnchorPane?>
<AnchorPane fx:controller="com.zhangmeng.tools.controller.VipParserController" minWidth="-Infinity" prefHeight="649.0" prefWidth="1200.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1"> <AnchorPane 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.VipParserController">
<children> <children>
<Label layoutX="165.0" layoutY="273.0" text="将要解析的视频地址" AnchorPane.leftAnchor="165.0" /> <Label layoutX="165.0" layoutY="273.0" text="将要解析的视频地址" AnchorPane.leftAnchor="165.0" />
<TextField layoutX="315.0" layoutY="269.0" prefHeight="25.0" prefWidth="457.0" fx:id="input_text" /> <TextField fx:id="input_text" layoutX="315.0" layoutY="269.0" prefHeight="25.0" prefWidth="457.0" AnchorPane.leftAnchor="315.0" />
<ComboBox layoutX="781.0" layoutY="269.0" prefHeight="25.0" prefWidth="246.0" fx:id="comboBox" /> <ComboBox fx:id="comboBox" layoutX="781.0" layoutY="269.0" prefHeight="25.0" prefWidth="246.0" AnchorPane.leftAnchor="781.0" AnchorPane.topAnchor="269.0" />
<Button layoutX="1043.0" layoutY="269.0" mnemonicParsing="false" text="解析" AnchorPane.rightAnchor="117.0" onAction="#player"/> <Button layoutX="1043.0" layoutY="269.0" mnemonicParsing="false" onAction="#player" text="解析" AnchorPane.leftAnchor="1043.0" AnchorPane.topAnchor="269.0" />
</children> </children>
</AnchorPane> </AnchorPane>