1 Star 0 Fork 45

pony1223/TestUI

forked from ldh123/TestUI 
Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
GetResultValue.fxml 6.75 KB
Copy Edit Raw Blame History
ldh123 authored 2019-12-13 15:55 +08:00 . opt
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.Region?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.layout.StackPane?>
<?import com.jfoenix.controls.JFXButton?>
<?import ldh.common.testui.component.MaskTextField?>
<?import javafx.scene.control.TableColumn?>
<?import com.jfoenix.controls.JFXTextField?>
<?import com.jfoenix.controls.JFXTextArea?>
<?import javafx.scene.control.cell.PropertyValueFactory?>
<?import com.jfoenix.controls.JFXCheckBox?>
<?import com.jfoenix.controls.JFXComboBox?>
<VBox stylesheets="@/css/classPane.css" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ldh.common.testui.controller.GetResultValueController">
<children>
<HBox styleClass="title-container">
<children>
<Label text="提取值" styleClass="title"> </Label>
</children>
</HBox>
<StackPane fx:id="stackPane" VBox.vgrow="ALWAYS">
<children>
<ScrollPane fx:id="listPane" fitToWidth="true" fitToHeight="true" >
<content>
<VBox alignment="CENTER_LEFT" spacing="10">
<!--<HBox spacing="10" alignment="CENTER_LEFT">-->
<!--<Label text="提取对象"/>-->
<!--<JFXTextArea fx:id="checkBeanTextArea" HBox.hgrow="ALWAYS" editable="false" prefRowCount="3"/>-->
<!--&lt;!&ndash;<Label text="对象类型"/>&ndash;&gt;-->
<!--&lt;!&ndash;<ChoiceBox fx:id="beanTypeBox" prefHeight="40" prefWidth="150"/>&ndash;&gt;-->
<!--&lt;!&ndash;<StackPane prefWidth="150" >&ndash;&gt;-->
<!--&lt;!&ndash;<ChoiceBox fx:id="textCompareTypeChoiceBox" prefHeight="40" visible="false"/>&ndash;&gt;-->
<!--&lt;!&ndash;<ChoiceBox fx:id="beanValueTypeChoiceBox" prefHeight="40" visible="false"/>&ndash;&gt;-->
<!--&lt;!&ndash;</StackPane>&ndash;&gt;-->
<!--&lt;!&ndash;<JFXButton text="保存" styleClass="btn, btn-primary" onAction="#saveAction"/>&ndash;&gt;-->
<!--<padding>-->
<!--<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />-->
<!--</padding>-->
<!--</HBox>-->
<VBox fx:id="tablePane" VBox.vgrow="ALWAYS">
<TableView fx:id="dataTableView" VBox.vgrow="ALWAYS">
<columns>
<TableColumn text="变量名称" prefWidth="200">
<cellValueFactory><PropertyValueFactory property="name" /></cellValueFactory>
</TableColumn>
<TableColumn text="变量类型" prefWidth="130">
<cellValueFactory><PropertyValueFactory property="type" /></cellValueFactory>
</TableColumn>
<TableColumn text="提取值" prefWidth="500">
<cellValueFactory><PropertyValueFactory property="value" /></cellValueFactory>
</TableColumn>
</columns>
</TableView>
<HBox spacing="5">
<children>
<JFXButton text="添加" onAction="#addBeanData" styleClass="btn, btn-primary"/>
<JFXButton text="修改" onAction="#editBeanData" styleClass="btn, btn-info"/>
<Region HBox.hgrow="ALWAYS"/>
<JFXButton text="删除" onAction="#removeData" styleClass="btn, btn-warning"/>
</children>
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</HBox>
</VBox>
</VBox>
</content>
</ScrollPane>
<ScrollPane fx:id="paramPane" fitToHeight="true" fitToWidth="true" prefWidth="0" minWidth="0" visible="false">
<content>
<GridPane fx:id="editPane" hgap="10" vgap="25" alignment="CENTER">
<children>
<Label text="变量名称" GridPane.rowIndex="0" GridPane.columnIndex="0"/>
<JFXTextField fx:id="nameTextField" GridPane.rowIndex="0" GridPane.columnIndex="1" GridPane.hgrow="ALWAYS"/>
<Label text="提取值" GridPane.rowIndex="1" GridPane.columnIndex="0"/>
<JFXTextField fx:id="valueTextField" GridPane.rowIndex="1" GridPane.columnIndex="1" GridPane.hgrow="ALWAYS"/>
<Label text="提取值类型" GridPane.rowIndex="2" GridPane.columnIndex="0"/>
<JFXComboBox fx:id="typeComboBox" GridPane.rowIndex="2" GridPane.columnIndex="1"/>
<!--<HBox GridPane.rowIndex="3" GridPane.columnIndex="0" GridPane.columnSpan="2" alignment="CENTER" spacing="20">-->
<!--<JFXButton text="保存" styleClass="btn, btn-primary" onAction="#saveAtn"/>-->
<!--<JFXButton text="关闭" styleClass="btn, btn-default" onAction="#closeAtn"/>-->
<!--</HBox>-->
</children>
<columnConstraints>
<ColumnConstraints minWidth="100.0" prefWidth="80.0" halignment="RIGHT"/>
<ColumnConstraints minWidth="200.0" prefWidth="200.0" />
</columnConstraints>
</GridPane>
</content>
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</ScrollPane>
</children>
</StackPane>
</children>
</VBox>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/packagejava/TestUI.git
git@gitee.com:packagejava/TestUI.git
packagejava
TestUI
TestUI
master

Search