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

29 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<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.Json2PoJoController">
<children>
<TextField fx:id="class_name" layoutX="168.0" layoutY="60.0" prefHeight="25.0" prefWidth="246.0" />
<Label layoutX="71.0" layoutY="64.0" text="生成的类名:" />
<Label layoutX="71.0" layoutY="130.0" text="生成的包名:" />
<Label layoutX="77.0" layoutY="202.0" text="json内容:" />
<TextArea fx:id="json_content" layoutX="167.0" layoutY="202.0" prefHeight="413.0" prefWidth="439.0" AnchorPane.bottomAnchor="34.0" AnchorPane.topAnchor="202.0" />
<TextField fx:id="package_name" layoutX="168.0" layoutY="126.0" prefHeight="25.0" prefWidth="246.0" />
<Label layoutX="451.0" layoutY="64.0" text="是否开启lombook注解:" />
<ComboBox fx:id="lombook_enable" layoutX="587.0" layoutY="60.0" prefHeight="25.0" prefWidth="127.0" />
<ComboBox fx:id="mybatis_plus_enable" layoutX="612.0" layoutY="126.0" prefHeight="25.0" prefWidth="127.0" />
<ComboBox fx:id="swagger_enable" layoutX="881.0" layoutY="60.0" prefHeight="25.0" prefWidth="127.0" />
<Label layoutX="739.0" layoutY="64.0" text="是否开启swagger注解:" />
<Label layoutX="451.0" layoutY="130.0" text="是否开启mbatis-plus注解:" />
<Label layoutX="635.0" layoutY="202.0" text="javabean:" />
<TextArea fx:id="result_show" layoutX="714.0" layoutY="202.0" prefHeight="413.0" prefWidth="447.0" AnchorPane.bottomAnchor="34.0" AnchorPane.leftAnchor="714.0" AnchorPane.rightAnchor="39.0" AnchorPane.topAnchor="202.0" />
<Button fx:id="convert" layoutX="635.0" layoutY="371.0" mnemonicParsing="false" text="转换" />
</children>
</AnchorPane>