|
|
|
@ -2,52 +2,68 @@
|
|
|
|
|
|
|
|
|
|
<?import javafx.geometry.*?>
|
|
|
|
|
<?import javafx.scene.control.*?>
|
|
|
|
|
<?import javafx.scene.image.*?>
|
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
|
|
|
|
|
|
<AnchorPane prefHeight="300.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/10.0.2-internal" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.jmacro.wjdr.JMainController">
|
|
|
|
|
<children>
|
|
|
|
|
<HBox alignment="CENTER_LEFT" prefHeight="40.0" prefWidth="400.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<children>
|
|
|
|
|
<Label alignment="CENTER" contentDisplay="CENTER" prefHeight="40.0" prefWidth="60.0" text="任务" />
|
|
|
|
|
<Button mnemonicParsing="false" focusTraversable="false" fx:id="start" onMouseClicked="#onStart" prefHeight="30.0" prefWidth="60.0" text="开始">
|
|
|
|
|
<HBox.margin>
|
|
|
|
|
<Insets />
|
|
|
|
|
</HBox.margin>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button mnemonicParsing="false" focusTraversable="false" fx:id="stop" onMouseClicked="#onStop" disable="true" prefHeight="30.0" prefWidth="60.0" text="停止">
|
|
|
|
|
<HBox.margin>
|
|
|
|
|
<AnchorPane prefHeight="300.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/10.0.2-internal" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.jmacro.wjdr.JMainController">
|
|
|
|
|
<children>
|
|
|
|
|
<Separator layoutY="-1.0" opacity="0.5" prefWidth="200.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
|
|
|
<AnchorPane prefHeight="300.0" prefWidth="200.0">
|
|
|
|
|
<children>
|
|
|
|
|
<Label contentDisplay="CENTER" layoutX="17.0" layoutY="4.0" prefHeight="35.0" prefWidth="200.0" text="服务控制" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="10.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</Label>
|
|
|
|
|
<HBox alignment="CENTER_LEFT" layoutX="10.0" layoutY="46.0" prefHeight="35.0" prefWidth="200.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="35.0">
|
|
|
|
|
<children>
|
|
|
|
|
<Button fx:id="start" focusTraversable="false" mnemonicParsing="false" onMouseClicked="#onStart" prefHeight="30.0" prefWidth="60.0" text="开始" />
|
|
|
|
|
<Button fx:id="stop" disable="true" focusTraversable="false" mnemonicParsing="false" onMouseClicked="#onStop" prefHeight="30.0" prefWidth="60.0" text="停止">
|
|
|
|
|
<HBox.margin>
|
|
|
|
|
<Insets left="10.0" />
|
|
|
|
|
</HBox.margin>
|
|
|
|
|
</Button>
|
|
|
|
|
</children>
|
|
|
|
|
</HBox>
|
|
|
|
|
<Separator opacity="0.5" prefHeight="1.0" prefWidth="200.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="40.0" />
|
|
|
|
|
<HBox alignment="CENTER_LEFT" prefHeight="40.0" prefWidth="400.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="41.0">
|
|
|
|
|
<children>
|
|
|
|
|
<Label alignment="CENTER" contentDisplay="CENTER" prefHeight="40.0" prefWidth="60.0" text="工具" />
|
|
|
|
|
<Button mnemonicParsing="false" focusTraversable="false" fx:id="capture" onMouseClicked="#onCapture" prefHeight="30.0" prefWidth="60.0" text="采图">
|
|
|
|
|
<HBox.margin>
|
|
|
|
|
<Insets />
|
|
|
|
|
</HBox.margin>
|
|
|
|
|
</Button>
|
|
|
|
|
</children>
|
|
|
|
|
</HBox>
|
|
|
|
|
<Separator opacity="0.5" prefHeight="1.0" prefWidth="200.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="81.0" />
|
|
|
|
|
<GridPane layoutX="71.0" layoutY="139.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="82.0">
|
|
|
|
|
<columnConstraints>
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
</columnConstraints>
|
|
|
|
|
<rowConstraints>
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
</rowConstraints>
|
|
|
|
|
</GridPane>
|
|
|
|
|
</children>
|
|
|
|
|
</HBox.margin>
|
|
|
|
|
</Button>
|
|
|
|
|
</children>
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="6.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</HBox>
|
|
|
|
|
<Label contentDisplay="CENTER" layoutY="86.0" prefHeight="35.0" prefWidth="60.0" text="编排工具" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="80.0">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="10.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</Label>
|
|
|
|
|
<HBox alignment="CENTER_LEFT" layoutX="10.0" layoutY="126.0" prefHeight="35.0" prefWidth="200.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="115.0">
|
|
|
|
|
<children>
|
|
|
|
|
<Button fx:id="capture" focusTraversable="false" mnemonicParsing="false" onMouseClicked="#onCapture" prefHeight="30.0" prefWidth="60.0" text="采图" />
|
|
|
|
|
</children>
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="6.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</HBox>
|
|
|
|
|
<ImageView fx:id="preview" layoutX="5.0" layoutY="195.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="6.0" AnchorPane.leftAnchor="6.0" AnchorPane.rightAnchor="6.0" AnchorPane.topAnchor="200.0">
|
|
|
|
|
<viewport>
|
|
|
|
|
<Rectangle2D height="100.0" width="188.0" />
|
|
|
|
|
</viewport></ImageView>
|
|
|
|
|
<Label layoutX="40.0" layoutY="165.0" prefHeight="35.0" prefWidth="200.0" text="区域预览" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="160.0">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="6.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</Label>
|
|
|
|
|
<Separator layoutY="164.0" opacity="0.5" prefWidth="200.0" AnchorPane.topAnchor="160.0" />
|
|
|
|
|
<Separator layoutY="85.0" opacity="0.5" prefWidth="200.0" AnchorPane.topAnchor="80.0" />
|
|
|
|
|
</children>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|
<Separator opacity="0.5" orientation="VERTICAL" prefHeight="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="201.0" AnchorPane.topAnchor="0.0" />
|
|
|
|
|
<AnchorPane layoutX="262.0" layoutY="14.0" prefHeight="300.0" prefWidth="400.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="201.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<children>
|
|
|
|
|
<Label layoutY="4.0" prefHeight="40.0" prefWidth="60.0" text="定制功能" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="10.0" right="10.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</Label>
|
|
|
|
|
<Separator layoutX="-3.0" layoutY="39.0" opacity="0.5" prefWidth="200.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="41.0" />
|
|
|
|
|
</children>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|
</children>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|