-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainView.fxml
47 lines (44 loc) · 1.45 KB
/
MainView.fxml
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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.canvas.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import java.net.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.text.*?>
<BorderPane fx:controller="ke1_rieger_moritz_fx.MainViewController" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<top>
<MenuBar BorderPane.alignment="CENTER">
<menus>
<Menu mnemonicParsing="false" text="File">
<items>
<MenuItem onAction="#handleSaveImageAction" text="save image" />
<MenuItem onAction="#handleQuitAction" text="Quit" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Generators">
<items>
<MenuItem onAction="#handleSimplegeneratorAction" text="Simple Generator" />
</items>
</Menu>
</menus>
</MenuBar>
</top>
<center>
<ScrollPane BorderPane.alignment="CENTER">
<content>
<Canvas fx:id="canvas" height="500.0" width="500.0" />
</content>
</ScrollPane>
</center>
<bottom>
<Separator />
<Text fx:id="state" strokeType="OUTSIDE" strokeWidth="0.0">
<VBox.margin>
<Insets bottom="5.0" top="5.0" />
</VBox.margin>
</Text>
</bottom>
</BorderPane>