forked from dukke/FXRibbon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRibbonFXML.fxml
68 lines (65 loc) · 3.03 KB
/
RibbonFXML.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.paint.*?>
<?import javafx.scene.text.*?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.image.Image?>
<?import com.pixelduke.javafx.ribbon.Ribbon?>
<?import com.pixelduke.javafx.ribbon.RibbonTab?>
<?import com.pixelduke.javafx.ribbon.RibbonGroup?>
<?import com.pixelduke.javafx.ribbon.Column?>
<BorderPane id="BorderPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="514.0" prefWidth="410.0" styleClass="background" xmlns:fx="http://javafx.com/fxml">
<top>
<Ribbon>
<tabs>
<RibbonTab text="HOME">
<ribbonGroups>
<RibbonGroup title="File">
<nodes>
<Button contentDisplay="TOP" text="Open">
<graphic>
<ImageView>
<image>
<Image url="@folder_action_open.png" />
</image>
</ImageView>
</graphic>
</Button>
<Button contentDisplay="TOP" text="New">
<graphic>
<ImageView>
<image>
<Image url="@document-new.png" />
</image>
</ImageView>
</graphic>
</Button>
<Button contentDisplay="TOP" text="Save">
<graphic>
<ImageView>
<image>
<Image url="@save.png" />
</image>
</ImageView>
</graphic>
</Button>
<Button contentDisplay="TOP" text="Save as">
<graphic>
<ImageView>
<image>
<Image url="@save_as.png" />
</image>
</ImageView>
</graphic>
</Button>
</nodes>
</RibbonGroup>
</ribbonGroups>
</RibbonTab>
</tabs>
</Ribbon>
</top>
</BorderPane>