-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSonglibUI.fxml
More file actions
131 lines (129 loc) · 8.38 KB
/
SonglibUI.fxml
File metadata and controls
131 lines (129 loc) · 8.38 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
<?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.ListView?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.paint.Color?>
<?import javafx.scene.text.Font?>
<VBox prefHeight="600.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
<children>
<SplitPane dividerPositions="0.2505567928730512, 0.7505567928730512" focusTraversable="true" prefHeight="-1.0" prefWidth="-1.0" VBox.vgrow="ALWAYS">
<items>
<VBox prefHeight="200.0" prefWidth="100.0">
<children>
<AnchorPane prefHeight="24.0" prefWidth="153.0">
<children>
<Label alignment="CENTER" layoutX="71.0" style=" " text="Song List" textAlignment="CENTER" wrapText="false" AnchorPane.leftAnchor="71.0">
<font>
<Font size="18.0" fx:id="x1" />
</font>
<textFill>
<Color blue="0.624" green="0.624" red="0.624" fx:id="x2" />
</textFill>
</Label>
</children>
</AnchorPane>
<AnchorPane prefHeight="30.0" prefWidth="222.0">
<children>
<Label layoutX="14.0" layoutY="4.0" prefHeight="15.0" prefWidth="63.0" text="Song" textAlignment="CENTER">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label layoutX="167.0" layoutY="4.0" prefHeight="15.0" prefWidth="54.0" text="Author" textAlignment="CENTER">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
</children>
</AnchorPane>
<ListView fx:id="SongList" prefHeight="510.0" prefWidth="298.0" />
</children>
</VBox>
<AnchorPane prefHeight="200.0" prefWidth="200.0">
<children>
<Label fx:id="SongNameShow" alignment="CENTER" layoutX="152.0" layoutY="67.0" text="Song Name" textAlignment="CENTER" AnchorPane.leftAnchor="50.0" AnchorPane.rightAnchor="50.0" AnchorPane.topAnchor="67.0">
<font>
<Font name="Arial Bold" size="25.0" />
</font>
</Label>
<Label fx:id="AuthorShow" alignment="CENTER" layoutX="193.0" layoutY="123.0" text="Author" textAlignment="CENTER" AnchorPane.leftAnchor="80.0" AnchorPane.rightAnchor="80.0" AnchorPane.topAnchor="123.0">
<font>
<Font size="17.0" />
</font>
</Label>
<Button layoutX="174.0" layoutY="204.0" mnemonicParsing="false" prefHeight="39.0" prefWidth="95.0" text="Pause" AnchorPane.leftAnchor="174.0" AnchorPane.topAnchor="204.0" />
<Button fx:id="LastSongButton" layoutX="14.0" layoutY="204.0" mnemonicParsing="false" onAction="#LastSongTapped" prefHeight="39.0" prefWidth="95.0" text="Last Song" AnchorPane.leftAnchor="14.0" />
<Button fx:id="NestSongButton" layoutX="333.0" layoutY="204.0" mnemonicParsing="false" onAction="#NextSongTapped" prefHeight="39.0" prefWidth="95.0" text="Next Song" AnchorPane.rightAnchor="15.0" />
<Button fx:id="Exit" layoutX="333.0" layoutY="522.0" mnemonicParsing="false" onAction="#ExitTapped" prefHeight="39.0" prefWidth="95.0" text="Exit" />
<Label alignment="CENTER" layoutX="204.0" layoutY="14.0" style=" " text="Detail" textAlignment="CENTER" wrapText="false">
<font>
<Font size="18.0" fx:id="x11" />
</font>
<textFill>
<Color blue="0.624" green="0.624" red="0.624" fx:id="x21" />
</textFill>
</Label>
<TextField fx:id="SongNameEdit" layoutX="202.0" layoutY="269.0" prefHeight="23.0" prefWidth="110.0" />
<TextField fx:id="AlbumEdit" layoutX="204.0" layoutY="367.0" prefHeight="23.0" prefWidth="110.0" />
<TextField fx:id="ArtistEdit" layoutX="204.0" layoutY="318.0" prefHeight="23.0" prefWidth="110.0" />
<TextField fx:id="YearEdit" layoutX="204.0" layoutY="418.0" prefHeight="23.0" prefWidth="110.0" />
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="94.0" layoutY="273.0" prefHeight="15.0" prefWidth="118.0" text=" Song Name:" textAlignment="CENTER" />
<Label layoutX="154.0" layoutY="320.0" prefHeight="22.0" prefWidth="117.0" text="Artist:" />
<Label layoutX="151.0" layoutY="371.0" text="Album:" />
<Label layoutX="158.0" layoutY="426.0" text="Year:" />
<Button fx:id="EditButton" layoutX="109.0" layoutY="473.0" mnemonicParsing="false" onAction="#EditTapped" prefHeight="39.0" prefWidth="63.0" text="Edit" />
<Button fx:id="DeleteButton" layoutX="301.0" layoutY="473.0" mnemonicParsing="false" onAction="#DeleteTapped" prefHeight="39.0" prefWidth="63.0" text="Delete" />
<Label fx:id="AlbumShow" alignment="CENTER" layoutX="193.0" layoutY="146.0" text="Album" textAlignment="CENTER">
<font>
<Font size="17.0" />
</font>
</Label>
<Label fx:id="YearShow" alignment="CENTER" layoutX="204.0" layoutY="169.0" text="Year" textAlignment="CENTER">
<font>
<Font size="17.0" />
</font>
</Label>
</children>
</AnchorPane>
<AnchorPane>
<children>
<Label alignment="CENTER" font="$x1" layoutX="93.0" layoutY="14.0" style=" " text="Add" textAlignment="CENTER" textFill="$x2" wrapText="false" AnchorPane.leftAnchor="93.0" AnchorPane.topAnchor="14.0" />
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="-14.0" layoutY="87.0" prefHeight="15.0" prefWidth="118.0" text=" Song Name:" textAlignment="CENTER" AnchorPane.leftAnchor="-14.0" AnchorPane.rightAnchor="117.99999999999997" AnchorPane.topAnchor="87.0" />
<Label layoutX="45.0" layoutY="161.0" prefHeight="22.0" prefWidth="117.0" text="Artist:" AnchorPane.topAnchor="161.0" />
<Label layoutX="38.0" layoutY="242.0" text="Album:" AnchorPane.topAnchor="242.0" />
<Label layoutX="44.0" layoutY="328.0" text="Year:" AnchorPane.topAnchor="328.0" />
<TextField fx:id="SongNameAdd" layoutX="85.0" layoutY="83.0" prefHeight="23.0" prefWidth="110.0" />
<TextField fx:id="AritstAdd" layoutX="85.0" layoutY="160.0" prefHeight="23.0" prefWidth="110.0" />
<TextField fx:id="AlbumAdd" layoutX="87.0" layoutY="241.0" prefHeight="23.0" prefWidth="110.0" />
<TextField fx:id="YearAdd" layoutX="85.0" layoutY="316.0" prefHeight="23.0" prefWidth="110.0" />
<Button fx:id="AddButton" layoutX="79.0" layoutY="376.0" mnemonicParsing="false" onAction="#AddTapped" prefHeight="39.0" prefWidth="63.0" text="Add" />
</children>
</AnchorPane>
</items>
</SplitPane>
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0" VBox.vgrow="NEVER">
<children>
<Label maxHeight="1.7976931348623157E308" maxWidth="-1.0" text="Notice" HBox.hgrow="ALWAYS">
<font>
<Font size="11.0" fx:id="x3" />
</font>
<textFill>
<Color blue="0.625" green="0.625" red="0.625" fx:id="x4" />
</textFill>
</Label>
<Pane prefHeight="109.0" prefWidth="766.0" HBox.hgrow="ALWAYS" />
<Label font="$x3" maxWidth="-1.0" text="Notice" textFill="$x4" HBox.hgrow="NEVER" />
</children>
<padding>
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
</padding>
</HBox>
</children>
</VBox>