-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScene.fxml
More file actions
81 lines (79 loc) · 4.34 KB
/
Scene.fxml
File metadata and controls
81 lines (79 loc) · 4.34 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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.web.WebView?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="900.0" prefWidth="1600.0" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="Controller">
<children>
<HBox prefHeight="60.0" prefWidth="1600.0" spacing="5.0" styleClass="menu">
<children>
<Button fx:id="btnBack" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onAction="#back" prefHeight="40.0" prefWidth="40.0" styleClass="btn">
<graphic>
<ImageView fitHeight="20.0" fitWidth="21.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@img/back.png" />
</image>
</ImageView>
</graphic>
<HBox.margin>
<Insets />
</HBox.margin>
</Button>
<Button fx:id="btnForward" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onAction="#forward" prefHeight="40.0" prefWidth="40.0" styleClass="btn">
<graphic>
<ImageView fitHeight="20.0" fitWidth="21.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@img/forwatd.png" />
</image>
</ImageView>
</graphic>
</Button>
<Button fx:id="btnRefresh" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onAction="#refresh" prefHeight="40.0" prefWidth="40.0" styleClass="btn">
<graphic>
<ImageView fitHeight="20.0" fitWidth="21.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@img/reload.png" />
</image>
</ImageView>
</graphic>
</Button>
<TextField fx:id="txtFieldUrl" onAction="#goWeb" prefHeight="40.0" prefWidth="1395.0" promptText="URL" />
<Button fx:id="btnZoomIn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onAction="#zoomIn" prefHeight="40.0" prefWidth="40.0" styleClass="btn">
<graphic>
<ImageView fitHeight="20.0" fitWidth="21.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@img/zoomIn.png" />
</image>
</ImageView>
</graphic>
</Button>
<Button fx:id="btnZoomOut" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onAction="#zoomOut" prefHeight="40.0" prefWidth="40.0" styleClass="btn">
<graphic>
<ImageView fitHeight="20.0" fitWidth="21.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@img/zoomOut.png" />
</image>
</ImageView>
</graphic>
</Button>
<Button fx:id="btnSource" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onAction="#source" prefHeight="40.0" prefWidth="40.0" styleClass="btn">
<graphic>
<ImageView fitHeight="20.0" fitWidth="21.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@img/dots.png" />
</image>
</ImageView>
</graphic>
</Button>
</children>
<padding>
<Insets left="40.0" right="40.0" top="10.0" />
</padding>
</HBox>
<WebView fx:id="webView" layoutY="55.0" prefHeight="852.0" prefWidth="1600.0" stylesheets="@styleSheet.css" />
</children>
</AnchorPane>