Repository navigation
Expand file tree
/
Copy pathsample.fxml
More file actions
105 lines (103 loc) · 5.02 KB
/
Copy pathsample.fxml
File metadata and controls
105 lines (103 loc) · 5.02 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
<?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.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.SeparatorMenuItem?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<VBox prefHeight="680.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.Controller">
<children>
<MenuBar VBox.vgrow="NEVER">
<menus>
<Menu mnemonicParsing="false" text="File">
<items>
<MenuItem mnemonicParsing="false" text="New" />
<MenuItem mnemonicParsing="false" text="Open…" />
<MenuItem mnemonicParsing="false" text="Save" />
<MenuItem mnemonicParsing="false" text="Save As…" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Edit">
<items>
<MenuItem mnemonicParsing="false" text="Undo" />
<MenuItem mnemonicParsing="false" text="Redo" />
<SeparatorMenuItem mnemonicParsing="false" />
<MenuItem mnemonicParsing="false" text="Cut" />
<MenuItem mnemonicParsing="false" text="Copy" />
<MenuItem mnemonicParsing="false" text="Paste" />
<MenuItem mnemonicParsing="false" text="Delete" />
<SeparatorMenuItem mnemonicParsing="false" />
<MenuItem mnemonicParsing="false" text="Select All" />
<MenuItem mnemonicParsing="false" text="Unselect All" />
</items>
</Menu>
</menus>
</MenuBar>
<AnchorPane maxHeight="-1.0" maxWidth="-1.0" prefHeight="-1.0" prefWidth="-1.0" VBox.vgrow="ALWAYS">
<children>
<SplitPane dividerPositions="0.29797979797979796" prefHeight="655.0" prefWidth="900.0">
<items>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
<children>
<VBox prefHeight="653.0" prefWidth="265.0">
<children>
<Label alignment="CENTER" prefHeight="42.0" prefWidth="305.0" text="WayPoints">
<font>
<Font size="18.0" />
</font>
</Label>
<ScrollPane pannable="true" prefHeight="613.0" prefWidth="275.0" VBox.vgrow="ALWAYS">
<content>
<VBox prefHeight="607.0" prefWidth="261.0">
<children>
<TextArea fx:id="output" prefHeight="607.0" prefWidth="278.0">
<font>
<Font size="18.0" />
</font>
</TextArea>
</children></VBox>
</content>
</ScrollPane>
</children>
</VBox>
</children>
</AnchorPane>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="696.0" prefWidth="710.0">
<children>
<HBox alignment="CENTER" prefHeight="41.0" prefWidth="627.0">
<children>
<Button fx:id="draw" mnemonicParsing="false" onAction="#drawSpline" prefHeight="25.0" prefWidth="124.0" text="Draw Spline" />
<Button mnemonicParsing="false" onAction="#clear" text="Clear">
<HBox.margin>
<Insets left="20.0" />
</HBox.margin>
</Button>
</children>
</HBox>
<AnchorPane fx:id="pane" layoutX="19.0" layoutY="41.0" prefHeight="590.0" prefWidth="590.0">
<children>
<ImageView fitHeight="590.0" fitWidth="590.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../Field.png" />
</image>
</ImageView>
</children>
</AnchorPane>
</children>
</AnchorPane>
</items>
</SplitPane>
</children>
</AnchorPane>
</children>
</VBox>