WaveView.fxml
3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?>
<?import javafx.scene.chart.AreaChart?>
<?import javafx.scene.chart.CategoryAxis?>
<?import javafx.scene.chart.NumberAxis?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<VBox prefHeight="500.0" prefWidth="750.0" xmlns="http://javafx.com/javafx/9" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.zhazhapan.util.visual.controller.WaveController">
<HBox prefHeight="37.0" prefWidth="600.0" VBox.vgrow="NEVER">
<VBox.margin>
<Insets/>
</VBox.margin>
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>
</padding>
<ComboBox fx:id="tableCombo" maxWidth="200.0" prefWidth="150.0" HBox.hgrow="ALWAYS"/>
<Label text="开始日期" HBox.hgrow="NEVER">
<HBox.margin>
<Insets left="10.0" top="5.0"/>
</HBox.margin>
</Label>
<DatePicker fx:id="startDate" onAction="#getWaveDataToLineChart" HBox.hgrow="NEVER"
onKeyReleased="#getWaveDataToLineChart">
<HBox.margin>
<Insets left="10.0"/>
</HBox.margin>
</DatePicker>
<Label text="截止日期" HBox.hgrow="NEVER">
<HBox.margin>
<Insets left="10.0" top="5.0"/>
</HBox.margin>
</Label>
<DatePicker fx:id="endDate" onAction="#getWaveDataToLineChart" HBox.hgrow="NEVER"
onKeyReleased="#getWaveDataToLineChart">
<HBox.margin>
<Insets left="10.0"/>
</HBox.margin>
</DatePicker>
<Button mnemonicParsing="false" onAction="#getWaveDataToLineChart" text="刷新" HBox.hgrow="NEVER">
<HBox.margin>
<Insets left="10.0"/>
</HBox.margin>
</Button>
</HBox>
<AreaChart fx:id="chart" maxHeight="600.0" maxWidth="1.7976931348623157E308" VBox.vgrow="ALWAYS">
<xAxis>
<CategoryAxis side="BOTTOM"/>
</xAxis>
<yAxis>
<NumberAxis side="LEFT"/>
</yAxis>
<VBox.margin>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>
</VBox.margin>
</AreaChart>
<HBox prefHeight="32.0" prefWidth="750.0">
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>
</padding>
<ComboBox fx:id="crudMethod" prefWidth="150.0" HBox.hgrow="NEVER"/>
<DatePicker fx:id="sqlDate" onAction="#generateSql" HBox.hgrow="NEVER" onKeyReleased="#generateSql">
<HBox.margin>
<Insets left="10.0"/>
</HBox.margin>
</DatePicker>
<TextField fx:id="sqlNumber" onKeyReleased="#generateSql" prefHeight="27.0" prefWidth="78.0"
promptText="波动数" text="0" HBox.hgrow="NEVER">
<HBox.margin>
<Insets left="10.0"/>
</HBox.margin>
</TextField>
<TextField fx:id="sql" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
promptText="SQL, 支持变量" HBox.hgrow="ALWAYS">
<HBox.margin>
<Insets left="10.0"/>
</HBox.margin>
</TextField>
<Button mnemonicParsing="false" onAction="#executeSql" text="执行" HBox.hgrow="NEVER">
<HBox.margin>
<Insets left="10.0"/>
</HBox.margin>
</Button>
</HBox>
</VBox>