NetworkToolView.fxml
6.1 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<VBox prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/9" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.zhazhapan.util.visual.controller.NetworkToolController">
<!--<Accordion fx:id="accordion" VBox.vgrow="ALWAYS">-->
<!--<panes>-->
<!--<TitledPane fx:id="firstTitledPane" animated="false" text="本机网络">-->
<!--<VBox>-->
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</padding>
<HBox VBox.vgrow="NEVER">
<Label text="内网IP:" HBox.hgrow="NEVER">
<HBox.margin>
<Insets top="5.0" />
</HBox.margin>
</Label>
<TextField fx:id="privateIpv4" editable="false" maxWidth="200.0" HBox.hgrow="ALWAYS">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
<Label text="IPV6:" visible="false" HBox.hgrow="NEVER">
<HBox.margin>
<Insets left="10.0" top="5.0" />
</HBox.margin>
</Label>
<TextField fx:id="privateIpv6" editable="false" maxWidth="300.0" visible="false" HBox.hgrow="ALWAYS">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
</HBox>
<HBox VBox.vgrow="NEVER">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
<Label text="公网IP:" HBox.hgrow="NEVER">
<HBox.margin>
<Insets top="5.0" />
</HBox.margin>
</Label>
<TextField fx:id="publicIp" editable="false" maxWidth="200.0" HBox.hgrow="ALWAYS">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
<Label text="地址:" HBox.hgrow="NEVER">
<HBox.margin>
<Insets left="10.0" top="5.0" />
</HBox.margin>
</Label>
<TextField fx:id="publicAddress" editable="false" maxWidth="300.0" HBox.hgrow="ALWAYS">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
</HBox>
<HBox VBox.vgrow="NEVER">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
<Label text=" MAC:" HBox.hgrow="NEVER">
<HBox.margin>
<Insets top="5.0" />
</HBox.margin>
</Label>
<TextField fx:id="macAddress" editable="false" maxWidth="300.0" HBox.hgrow="ALWAYS">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
</HBox>
<HBox VBox.vgrow="NEVER">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
<Label text="系统名:" HBox.hgrow="NEVER">
<HBox.margin>
<Insets top="5.0" />
</HBox.margin>
</Label>
<TextField fx:id="systemInfo" editable="false" maxWidth="300.0" HBox.hgrow="ALWAYS">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
</HBox>
<HBox VBox.vgrow="NEVER">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
<Label text="IP归属地查询:" HBox.hgrow="NEVER">
<HBox.margin>
<Insets top="5.0" />
</HBox.margin>
</Label>
<TextField fx:id="ipAddress" maxWidth="200.0" promptText="IP地址" HBox.hgrow="ALWAYS">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
<Button mnemonicParsing="false" onAction="#queryIpLocation" text="查询" HBox.hgrow="NEVER">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</Button>
<TextField fx:id="ipLocation" editable="false" maxWidth="300.0" promptText="归属地" HBox.hgrow="ALWAYS">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
</HBox>
<VBox VBox.vgrow="ALWAYS">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
<children>
<HBox prefHeight="34.0" prefWidth="580.0" VBox.vgrow="NEVER">
<children>
<Label text="WHOIS查询:" HBox.hgrow="NEVER">
<HBox.margin>
<Insets top="5.0" />
</HBox.margin>
</Label>
<TextField fx:id="domain" maxWidth="500.0" prefWidth="300.0" promptText="域名" HBox.hgrow="ALWAYS">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
<Button mnemonicParsing="false" onAction="#queryWhois" text="查询" HBox.hgrow="NEVER">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</Button>
</children>
</HBox>
<TextArea fx:id="whoisResult" prefHeight="200.0" prefWidth="200.0" promptText="whois查询结果" VBox.vgrow="ALWAYS">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</TextArea>
</children>
</VBox>
<!--</VBox>-->
<!--</TitledPane>-->
<!--<TitledPane animated="false" text="端口扫描">-->
<!--<VBox/>-->
<!--</TitledPane>-->
<!--<TitledPane animated="false" text="网络抓包">-->
<!--<VBox/>-->
<!--</TitledPane>-->
<!--<TitledPane animated="false" text="接口测试">-->
<!--<VBox/>-->
<!--</TitledPane>-->
<!--<TitledPane animated="false" text="网络文件下载">-->
<!--<VBox/>-->
<!--</TitledPane>-->
<!--<TitledPane animated="false" text="WHOIS查询">-->
<!--<VBox/>-->
<!--</TitledPane>-->
<!--</panes>-->
<!--</Accordion>-->
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</padding>
</VBox>