Skip to content

Commit

Permalink
输入过滤……
Browse files Browse the repository at this point in the history
  • Loading branch information
BEE-Synth committed Jan 4, 2016
1 parent 39e11d9 commit 6959bc6
Show file tree
Hide file tree
Showing 18 changed files with 71 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<?import ui.common.checkFormat.field.EngOnlyField?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="222.0" prefWidth="245.0" styleClass="background-add" stylesheets="@../css/dialog.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ui.accountui.EditAccountDialogController">
<children>
<HBox layoutX="135.0" layoutY="263.0" spacing="20.0" AnchorPane.bottomAnchor="15.0" AnchorPane.rightAnchor="15.0">
Expand All @@ -12,7 +13,7 @@
<Button layoutX="384.0" layoutY="209.0" mnemonicParsing="false" onAction="#commit" text="确认" />
</children>
</HBox>
<TextField fx:id="id_Field" layoutX="84.0" layoutY="60.0" prefHeight="28.0" prefWidth="135.0" />
<EngOnlyField fx:id="id_Field" layoutX="84.0" layoutY="60.0" prefHeight="28.0" prefWidth="135.0" />
<Label layoutX="21.0" layoutY="64.0" text="账户名" />
<TextField fx:id="password_Field" layoutX="84.0" layoutY="114.0" onAction="#commit" prefHeight="28.0" prefWidth="135.0" />
<Label layoutX="27.0" layoutY="118.0" text="密码" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<?import java.lang.*?>
<?import javafx.scene.layout.*?>

<?import ui.common.checkFormat.field.EngOnlyField?>
<AnchorPane fx:id="outerPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="541.0" prefWidth="970.0" styleClass="background-add" stylesheets="@../css/style.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ui.accountui.ManageAccountController">
<children>
<HBox layoutX="32.0" layoutY="48.0" spacing="48.0" AnchorPane.leftAnchor="32.0" AnchorPane.topAnchor="48.0">
Expand All @@ -18,7 +19,7 @@
</HBox>
<HBox layoutX="312.0" layoutY="48.0" spacing="16.0">
<children>
<TextField fx:id="search_Field" layoutX="517.0" layoutY="62.0" />
<EngOnlyField fx:id="search_Field" layoutX="517.0" layoutY="62.0" />
<Button layoutX="701.0" layoutY="62.0" mnemonicParsing="false" onAction="#search" text="查找" />
</children>
</HBox>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
<?import javafx.scene.layout.*?>
<?import javafx.scene.layout.BorderPane?>

<?import ui.common.checkFormat.field.PasswordOnlyField?>
<AnchorPane maxHeight="-Infinity" maxWidth="244.0" minHeight="-Infinity" minWidth="-Infinity" prefHeight="322.0" prefWidth="209.0" styleClass="background-add" stylesheets="@../css/dialog.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ui.accountui.personAccountViewEditDialogController">
<children>
<GridPane layoutX="25.0" layoutY="31.0" prefHeight="223.0" prefWidth="150.0" AnchorPane.leftAnchor="25.0" AnchorPane.rightAnchor="25.0">
<children>
<Label styleClass="label-small" text="请输入原始密码" />
<Label styleClass="label-small" text="请输入新密码" GridPane.rowIndex="2" />
<Label styleClass="label-small" text="请再次输入新密码以确认" GridPane.rowIndex="4" />
<TextField fx:id="originalPassWord_Field" GridPane.rowIndex="1" />
<TextField fx:id="newPassWord_Field" GridPane.rowIndex="3" />
<TextField fx:id="againNewPassWord_Field" onAction="#ok" GridPane.rowIndex="5" />
<PasswordOnlyField fx:id="originalPassWord_Field" GridPane.rowIndex="1" />
<PasswordOnlyField fx:id="newPassWord_Field" GridPane.rowIndex="3" />
<PasswordOnlyField fx:id="againNewPassWord_Field" onAction="#ok" GridPane.rowIndex="5" />
</children>
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>

<?import ui.common.checkFormat.field.FloatOnlyField?>
<?import ui.common.checkFormat.field.IntOnlyField?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="541.0" prefWidth="970.0" styleClass="background-add" stylesheets="@../css/style.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ui.configurationui.ConfigurationController">
<children>
<TabPane fx:id="tabPane" prefHeight="545.0" prefWidth="968.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
Expand Down Expand Up @@ -94,9 +96,9 @@
<font>
<Font size="15.0" />
</font></Text>
<TextField fx:id="paper_Field" GridPane.columnIndex="1" />
<TextField fx:id="wood_Field" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<TextField fx:id="bag_Field" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<FloatOnlyField fx:id="paper_Field" GridPane.columnIndex="1" />
<FloatOnlyField fx:id="wood_Field" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<FloatOnlyField fx:id="bag_Field" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="" GridPane.columnIndex="2">
<font>
<Font size="14.0" />
Expand Down Expand Up @@ -125,8 +127,8 @@
<Label layoutX="75.0" layoutY="233.0" text="收费比例" GridPane.rowIndex="1" />
<GridPane layoutX="220.0" layoutY="196.0" prefHeight="74.0" prefWidth="493.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
<children>
<TextField fx:id="slow_Field" layoutX="239.0" layoutY="168.0" prefHeight="23.0" prefWidth="99.0" GridPane.rowIndex="1" />
<TextField fx:id="fast_Field" layoutX="462.0" layoutY="168.0" prefHeight="23.0" prefWidth="99.0" GridPane.columnIndex="4" GridPane.rowIndex="1" />
<IntOnlyField fx:id="slow_Field" layoutX="239.0" layoutY="168.0" prefHeight="23.0" prefWidth="99.0" GridPane.rowIndex="1" />
<IntOnlyField fx:id="fast_Field" layoutX="462.0" layoutY="168.0" prefHeight="23.0" prefWidth="99.0" GridPane.columnIndex="4" GridPane.rowIndex="1" />
<Text fill="WHITE" layoutX="377.0" layoutY="146.0" strokeType="OUTSIDE" strokeWidth="0.0" text="标准快递" GridPane.columnIndex="2">
<font>
<Font size="16.0" />
Expand All @@ -147,7 +149,7 @@
<font>
<Font size="16.0" />
</font></Text>
<TextField fx:id="normal_Field" layoutX="351.0" layoutY="168.0" prefHeight="23.0" prefWidth="99.0" GridPane.columnIndex="2" GridPane.rowIndex="1" />
<IntOnlyField fx:id="normal_Field" layoutX="351.0" layoutY="168.0" prefHeight="23.0" prefWidth="99.0" GridPane.columnIndex="2" GridPane.rowIndex="1" />
</children>
<columnConstraints>
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" minWidth="10.0" />
Expand Down Expand Up @@ -189,7 +191,7 @@
<font>
<Font size="15.0" />
</font></Label>
<TextField fx:id="factor_Field" layoutX="435.0" layoutY="174.0" prefHeight="23.0" prefWidth="57.0" GridPane.columnIndex="4" />
<FloatOnlyField fx:id="factor_Field" layoutX="435.0" layoutY="174.0" prefHeight="23.0" prefWidth="57.0" GridPane.columnIndex="4" />
</children>
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
<?import javafx.scene.layout.*?>
<?import javafx.scene.layout.BorderPane?>

<?import ui.common.checkFormat.field.NumberOnlyField?>
<?import ui.common.checkFormat.field.EngOnlyField?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="541.0" prefWidth="970.0" styleClass="background-add" stylesheets="@../css/style.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ui.deliverui.deliverController">
<children>
<HBox layoutX="53.0" layoutY="50.0" spacing="16.0" AnchorPane.leftAnchor="48.0" AnchorPane.topAnchor="48.0">
<children>
<TextField fx:id="id_Search_Field" layoutX="53.0" layoutY="50.0" prefHeight="28.0" prefWidth="183.0" promptText="请输入订单号" />
<NumberOnlyField fx:id="id_Search_Field" layoutX="53.0" layoutY="50.0" prefHeight="28.0" prefWidth="183.0" promptText="请输入订单号" />
<Button layoutX="186.0" layoutY="50.0" mnemonicParsing="false" onAction="#search" text="搜索" />
<Button layoutX="246.0" layoutY="50.0" mnemonicParsing="false" onAction="#refresh" text="刷新" />
</children>
Expand Down Expand Up @@ -54,7 +56,7 @@
<Label fx:id="dateErr_Label" GridPane.columnIndex="1" GridPane.rowIndex="1" />
</children>
</VBox>
<TextField fx:id="id_Field" GridPane.columnIndex="1" />
<EngOnlyField fx:id="id_Field" GridPane.columnIndex="1" />
</children>
</GridPane>
<HBox layoutX="587.0" layoutY="385.0" spacing="16.0" AnchorPane.bottomAnchor="36.0" AnchorPane.rightAnchor="48.0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<?import java.lang.*?>
<?import javafx.scene.layout.*?>

<?import ui.common.checkFormat.field.FloatOnlyField?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" prefWidth="250.0" styleClass="background-add" stylesheets="@../css/dialog.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ui.financeui.AccountEditDialogController">
<children>
<GridPane layoutX="25.0" layoutY="31.0" prefHeight="179.0" prefWidth="201.0">
Expand All @@ -21,7 +22,7 @@
<Label text="账户名" />
<Label text="余额" GridPane.rowIndex="2" />
<TextField fx:id="editName_Field" GridPane.rowIndex="1" />
<TextField fx:id="editBalance_Field" onAction="#ok" GridPane.rowIndex="3" />
<FloatOnlyField fx:id="editBalance_Field" onAction="#ok" GridPane.rowIndex="3" />
</children>
</GridPane>
<HBox layoutX="126.0" layoutY="245.0" spacing="20.0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<DatePicker fx:id="payment_DatePicker" layoutX="632.0" layoutY="81.0" prefHeight="23.0" prefWidth="154.0" />
</children>
</HBox>
<Label fx:id="dateErr_Label" layoutX="781.0" layoutY="134.0" text="Label" AnchorPane.rightAnchor="145.0" AnchorPane.topAnchor="134.0" />
<Label fx:id="dateErr_Label" layoutX="781.0" layoutY="134.0" AnchorPane.rightAnchor="145.0" AnchorPane.topAnchor="134.0" />
</children>
</VBox>
<HBox alignment="CENTER" layoutX="360.0" layoutY="134.0" spacing="8.0" AnchorPane.leftAnchor="360.0" AnchorPane.topAnchor="134.0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<?import javafx.scene.text.*?>
<?import javafx.scene.layout.BorderPane?>

<?import ui.common.checkFormat.field.NumberOnlyField?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="415.0" prefWidth="348.0" styleClass="background-big" stylesheets="@../css/dialog.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ui.hallui.DriverEditDialogController">
<children>
<GridPane layoutX="58.0" layoutY="37.0" prefHeight="319.0" prefWidth="226.0" AnchorPane.bottomAnchor="59.0" AnchorPane.rightAnchor="64.0">
Expand Down Expand Up @@ -46,11 +47,11 @@
<font>
<Font size="13.0" />
</font></Text>
<TextField fx:id="ID_Field" GridPane.columnIndex="1" />
<NumberOnlyField fx:id="ID_Field" GridPane.columnIndex="1" />
<TextField fx:id="name_Field" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<TextField fx:id="tel_Field" GridPane.columnIndex="1" GridPane.rowIndex="6" />
<NumberOnlyField fx:id="tel_Field" GridPane.columnIndex="1" GridPane.rowIndex="6" />
<TextField fx:id="personID_Field" GridPane.columnIndex="1" GridPane.rowIndex="5" />
<Label fx:id="age_Label" styleClass="label-small" text="Label" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<Label fx:id="age_Label" styleClass="label-small" text="???" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<ChoiceBox fx:id="sex_Box" prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<DatePicker fx:id="birth_Picker" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<DatePicker fx:id="licencePeriod_Picker" GridPane.columnIndex="1" GridPane.rowIndex="7" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<?import javafx.scene.layout.*?>
<?import javafx.scene.layout.BorderPane?>

<?import ui.common.checkFormat.field.NumberOnlyField?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="415.0" prefWidth="348.0" styleClass="background-big" stylesheets="@../css/dialog.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ui.hallui.DriverNewDialogController">
<children>
<GridPane layoutX="25.0" layoutY="12.0" prefHeight="319.0" prefWidth="226.0" AnchorPane.bottomAnchor="59.0" AnchorPane.rightAnchor="64.0">
Expand Down Expand Up @@ -63,8 +64,8 @@
</font></Text>
<TextField fx:id="ID_Field" GridPane.columnIndex="1" />
<TextField fx:id="name_Field" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<TextField fx:id="tel_Field" GridPane.columnIndex="1" GridPane.rowIndex="6" />
<TextField fx:id="personID_Field" GridPane.columnIndex="1" GridPane.rowIndex="5" />
<NumberOnlyField fx:id="tel_Field" GridPane.columnIndex="1" GridPane.rowIndex="6" />
<NumberOnlyField fx:id="personID_Field" GridPane.columnIndex="1" GridPane.rowIndex="5" />
<Label fx:id="age_Label" styleClass="label-small" text="Label" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<ChoiceBox fx:id="sex_Box" prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<DatePicker fx:id="birth_Picker" onAction="#age" GridPane.columnIndex="1" GridPane.rowIndex="3" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<?import java.lang.*?>
<?import javafx.scene.layout.*?>

<?import ui.common.checkFormat.field.FloatOnlyField?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="541.0" prefWidth="970.0" styleClass="background-add" stylesheets="@../css/style.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ui.hallui.RevenueFormController">
<children>
<TableView fx:id="revenues_TableView" layoutX="411.0" layoutY="110.0" prefHeight="343.0" prefWidth="509.0" AnchorPane.bottomAnchor="88.0" AnchorPane.leftAnchor="411.0" AnchorPane.rightAnchor="48.0" AnchorPane.topAnchor="110.0">
Expand Down Expand Up @@ -54,7 +55,7 @@
</children>
</VBox>
<Label layoutX="25.0" layoutY="252.0" text="收款金额" GridPane.rowIndex="3" />
<TextField fx:id="money_Field" layoutX="99.0" layoutY="248.0" prefHeight="23.0" prefWidth="155.0" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<FloatOnlyField fx:id="money_Field" layoutX="99.0" layoutY="248.0" prefHeight="23.0" prefWidth="155.0" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Label layoutX="25.0" layoutY="127.0" text="订单号" />
<Label layoutX="25.0" layoutY="169.0" text="收款快递员" GridPane.rowIndex="1" />
<TextField fx:id="order_Field" layoutX="108.0" layoutY="132.0" prefHeight="23.0" prefWidth="109.0" GridPane.columnIndex="1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
<?import javafx.scene.layout.*?>
<?import javafx.scene.layout.BorderPane?>

<?import ui.common.checkFormat.field.PasswordOnlyField?>
<?import ui.common.checkFormat.field.EngOnlyField?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="541.0" prefWidth="970.0" styleClass="background" stylesheets="@../css/login.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ui.loginui.LoginController">
<children>
<TextField fx:id="id_Field" layoutX="732.0" layoutY="219.0" prefHeight="55.0" prefWidth="220.0" promptText="员工编号输入框" styleClass="text-field-log" />
<PasswordField fx:id="password_Field" layoutX="732.0" layoutY="290.0" onAction="#login" prefHeight="55.0" prefWidth="220.0" promptText="密码输入框" styleClass="text-field-log" />
<EngOnlyField fx:id="id_Field" layoutX="732.0" layoutY="219.0" prefHeight="55.0" prefWidth="220.0" promptText="员工编号输入框" styleClass="text-field-log" />
<PasswordOnlyField fx:id="password_Field" layoutX="732.0" layoutY="290.0" onAction="#login" prefHeight="55.0" prefWidth="220.0" promptText="密码输入框" styleClass="text-field-log" />
<TextField fx:id="search_Field" layoutX="49.0" layoutY="79.0" prefHeight="54.0" prefWidth="223.0" promptText="请输入快递单号以查询" styleClass="text-field-search" />
<Button layoutX="54.0" layoutY="154.0" mnemonicParsing="false" onAction="#search" prefHeight="60.0" prefWidth="220.0" styleClass="button-search" />
<Button layoutX="732.0" layoutY="360.0" mnemonicParsing="false" onAction="#login" prefHeight="60.0" prefWidth="220.0" styleClass="button-log" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label fx:id="type_Label" text="type" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label fx:id="type_Label" text="???" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label text="编号" GridPane.rowIndex="3" />
<Label fx:id="id_Label" text="code" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Label fx:id="id_Label" text="???" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Label fx:id="area_HeadLabel" text="区域" GridPane.rowIndex="4" />
<Label fx:id="nearCenter_HeadLabel" text="最近中心" GridPane.rowIndex="5" />
<Label text="城市" GridPane.rowIndex="1" />
<Label text="类型" GridPane.rowIndex="2" />
<Label text="机构信息" />
<Label fx:id="city_Label" text="cityName" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label fx:id="area_Label" text="area" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<Label fx:id="nearCenter_Label" text="nearCenter" GridPane.columnIndex="1" GridPane.rowIndex="5" />
<Label fx:id="city_Label" text="???" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label fx:id="area_Label" text="???" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<Label fx:id="nearCenter_Label" text="???" GridPane.columnIndex="1" GridPane.rowIndex="5" />
</children>
</GridPane>
<HBox fx:id="buttons_HBox" layoutX="555.0" layoutY="329.0" spacing="16.0" AnchorPane.bottomAnchor="36.0" AnchorPane.rightAnchor="48.0">
Expand Down
Loading

0 comments on commit 6959bc6

Please sign in to comment.