parent
e7a2d1f343
commit
2cd4b2c2d4
@ -1,80 +1,85 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
||||
<?import com.jfoenix.controls.*?> |
||||
<?import javafx.geometry.Insets?> |
||||
<?import javafx.scene.layout.*?> |
||||
<?import javafx.scene.text.*?> |
||||
<fx:root maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="498.0" prefWidth="474.0" spacing="15.0" type="VBox" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"> |
||||
<padding> |
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> |
||||
</padding> |
||||
<children> |
||||
<JFXListView fx:id="nameList" prefHeight="149.0" /> |
||||
<JFXTextArea fx:id="inputName" focusColor="#0086ff" labelFloat="true" prefHeight="104.0" promptText="请输入要添加的名字,如需批量添加请一行一个名字。"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="13.0" /> |
||||
</font> |
||||
</JFXTextArea> |
||||
<HBox alignment="CENTER" prefHeight="39.0" prefWidth="454.0"> |
||||
<children> |
||||
<JFXButton onAction="#addNameFromScreen" prefHeight="35.0" prefWidth="176.0" text="从屏幕上截取名字"> |
||||
<HBox.margin> |
||||
<Insets /> |
||||
</HBox.margin> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
<JFXButton onAction="#copyTo" prefHeight="35.0" prefWidth="176.0" text="粘贴剪贴板内容"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
</children> |
||||
</HBox> |
||||
<HBox alignment="CENTER" spacing="5.0"> |
||||
<children> |
||||
<JFXButton fx:id="deleteName" onAction="#deleteName" prefHeight="36.0" prefWidth="120.0" ripplerFill="RED" text="删除所选" textFill="RED"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
<JFXButton fx:id="deleteAll" onAction="#deleteAllName" prefHeight="36.0" prefWidth="120.0" ripplerFill="RED" text="删除所有" textFill="RED"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
<JFXButton onAction="#makeMass" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" text="打乱顺序"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
</children> |
||||
<padding> |
||||
<Insets left="3.0" top="3.0" /> |
||||
</padding> |
||||
</HBox> |
||||
<HBox alignment="CENTER" spacing="5.0"> |
||||
<children> |
||||
<JFXButton onAction="#exoprtNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" text="备份"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
<JFXButton onAction="#importNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" text="恢复"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
<JFXButton fx:id="addName" onAction="#addName" prefHeight="36.0" prefWidth="120.0" ripplerFill="#4997fc" text="添加"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
</children> |
||||
<padding> |
||||
<Insets left="3.0" top="3.0" /> |
||||
</padding> |
||||
</HBox> |
||||
</children> |
||||
</fx:root> |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
||||
<?import com.jfoenix.controls.JFXButton?> |
||||
<?import com.jfoenix.controls.JFXListView?> |
||||
<?import com.jfoenix.controls.JFXTextArea?> |
||||
<?import javafx.geometry.Insets?> |
||||
<?import javafx.scene.layout.HBox?> |
||||
<?import javafx.scene.layout.VBox?> |
||||
<?import javafx.scene.text.Font?> |
||||
|
||||
<fx:root maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="497.0" prefWidth="474.0" spacing="20.0" type="VBox" xmlns="http://javafx.com/javafx/8.0.231" xmlns:fx="http://javafx.com/fxml/1"> |
||||
<padding> |
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> |
||||
</padding> |
||||
<children> |
||||
<JFXListView fx:id="nameList" prefHeight="149.0" /> |
||||
<JFXTextArea fx:id="inputName" focusColor="#0086ff" labelFloat="true" prefHeight="104.0" promptText="请输入要添加的名字,如需批量添加请一行一个名字。"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="13.0" /> |
||||
</font> |
||||
</JFXTextArea> |
||||
<VBox prefHeight="165.0" prefWidth="454.0" spacing="15.0"> |
||||
<children> |
||||
<HBox alignment="CENTER" spacing="10.0"> |
||||
<children> |
||||
<JFXButton fx:id="addName" buttonType="RAISED" onAction="#addName" prefHeight="36.0" prefWidth="120.0" ripplerFill="#4997fc" style="-fx-background-color: rgb(255, 255, 255);" text="添加"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
<JFXButton fx:id="deleteName" buttonType="RAISED" onAction="#deleteName" prefHeight="36.0" prefWidth="120.0" ripplerFill="RED" style="-fx-background-color: rgb(255, 224, 224);" text="删除所选" textFill="RED"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
<JFXButton fx:id="deleteAll" buttonType="RAISED" onAction="#deleteAllName" prefHeight="36.0" prefWidth="120.0" ripplerFill="RED" style="-fx-background-color: rgb(255, 224, 224);" text="删除所有" textFill="RED"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
</children> |
||||
</HBox> |
||||
<HBox alignment="CENTER" prefHeight="39.0" prefWidth="454.0" spacing="25.0"> |
||||
<children> |
||||
<JFXButton buttonType="RAISED" onAction="#addNameFromScreen" prefHeight="35.0" prefWidth="176.0" style="-fx-background-color: rgb(255, 255, 255);" text="从屏幕上截取名字"> |
||||
<HBox.margin> |
||||
<Insets /> |
||||
</HBox.margin> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
<JFXButton buttonType="RAISED" onAction="#copyTo" prefHeight="35.0" prefWidth="176.0" style="-fx-background-color: rgb(255, 255, 255);" text="粘贴剪贴板内容"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
</children> |
||||
</HBox> |
||||
<HBox alignment="CENTER" spacing="10.0"> |
||||
<children> |
||||
<JFXButton buttonType="RAISED" onAction="#exoprtNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" style="-fx-background-color: rgb(255, 255, 255);" text="备份"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
<JFXButton buttonType="RAISED" onAction="#importNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" style="-fx-background-color: rgb(255, 255, 255);" text="恢复"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
<JFXButton buttonType="RAISED" onAction="#makeMass" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" style="-fx-background-color: rgb(255, 255, 255);" text="打乱顺序"> |
||||
<font> |
||||
<Font name="Microsoft YaHei" size="17.0" /> |
||||
</font> |
||||
</JFXButton> |
||||
</children> |
||||
<padding> |
||||
<Insets right="3.0" /> |
||||
</padding> |
||||
</HBox> |
||||
</children> |
||||
</VBox> |
||||
</children> |
||||
</fx:root> |
||||
|
Loading…
Reference in new issue