-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.fxml
116 lines (114 loc) · 8.42 KB
/
sample.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
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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<GridPane alignment="center" hgap="10" vgap="10" xmlns="http://javafx.com/javafx/8.0.172-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.databasePoject.Controller">
<children>
<TabPane prefHeight="580.0" prefWidth="760.0" tabClosingPolicy="UNAVAILABLE">
<tabs>
<Tab onSelectionChanged="#clickInformation" text="Informacje">
<content>
<AnchorPane prefHeight="200.0" prefWidth="200.0">
<children>
<TableView fx:id="tableUniversity" layoutX="14.0" layoutY="50.0" prefHeight="465.0" prefWidth="223.0">
<columns>
<TableColumn fx:id="columnUniversity" prefWidth="221.0" text="Uczelnia" />
</columns>
</TableView>
<TableView fx:id="tableFaculty" layoutX="264.0" layoutY="50.0" prefHeight="465.0" prefWidth="232.0">
<columns>
<TableColumn fx:id="columnFaculty" prefWidth="230.0" text="Wydział" />
</columns>
</TableView>
<TableView fx:id="tableFieldOfStudy" layoutX="523.0" layoutY="50.0" prefHeight="465.0" prefWidth="223.0">
<columns>
<TableColumn fx:id="columnFieldOfStudy" prefWidth="149.0" text="Kierunek" />
<TableColumn fx:id="columnMinPoints" prefWidth="75.0" text="Próg" />
</columns>
</TableView>
</children>
</AnchorPane>
</content></Tab>
<Tab onSelectionChanged="#clickDeclaration" text="Deklaracja">
<content>
<AnchorPane prefHeight="200.0" prefWidth="200.0">
<children>
<ChoiceBox fx:id="choiceUniversity" layoutX="47.0" layoutY="37.0" prefWidth="150.0" />
<ChoiceBox fx:id="choiceFaculty1" layoutX="157.0" layoutY="105.0" prefHeight="26.0" prefWidth="226.0" />
<ChoiceBox fx:id="choiceFieldOfStudy1" layoutX="412.0" layoutY="105.0" prefHeight="26.0" prefWidth="247.0" />
<Label layoutX="47.0" layoutY="110.0" text="Priorytet 1" />
<Label layoutX="54.0" layoutY="13.0" text="Uczelnia" />
<Label layoutX="156.0" layoutY="76.0" text="Wydział" />
<Label layoutX="411.0" layoutY="76.0" text="Kierunek" />
<ChoiceBox fx:id="choiceFaculty3" layoutX="156.0" layoutY="269.0" prefHeight="26.0" prefWidth="227.0" />
<ChoiceBox fx:id="choiceFieldOfStudy3" layoutX="413.0" layoutY="269.0" prefHeight="26.0" prefWidth="245.0" />
<ChoiceBox fx:id="choiceFaculty2" layoutX="156.0" layoutY="185.0" prefHeight="26.0" prefWidth="225.0" />
<ChoiceBox fx:id="choiceFieldOfStudy2" layoutX="411.0" layoutY="185.0" prefHeight="26.0" prefWidth="247.0" />
<Label layoutX="47.0" layoutY="190.0" text="Priorytet 2" />
<Label layoutX="47.0" layoutY="274.0" text="Priorytet 3" />
<ChoiceBox fx:id="choiceFaculty5" layoutX="157.0" layoutY="434.0" prefHeight="26.0" prefWidth="226.0" />
<ChoiceBox fx:id="choiceFieldOfStudy5" layoutX="413.0" layoutY="434.0" prefHeight="26.0" prefWidth="241.0" />
<ChoiceBox fx:id="choiceFaculty4" layoutX="157.0" layoutY="354.0" prefHeight="26.0" prefWidth="225.0" />
<ChoiceBox fx:id="choiceFieldOfStudy4" layoutX="413.0" layoutY="354.0" prefHeight="26.0" prefWidth="241.0" />
<Label layoutX="47.0" layoutY="359.0" text="Priorytet 4" />
<Label layoutX="47.0" layoutY="439.0" text="Priorytet 5" />
<Label layoutX="156.0" layoutY="139.0" text="Zapisano:" />
<Label fx:id="labelDeclaration1" layoutX="232.0" layoutY="139.0" prefHeight="16.0" prefWidth="508.0" text="Brak wyboru" />
<Label layoutX="156.0" layoutY="392.0" text="Zapisano:" />
<Label layoutX="156.0" layoutY="309.0" text="Zapisano:" />
<Label layoutX="156.0" layoutY="222.0" text="Zapisano:" />
<Label layoutX="156.0" layoutY="468.0" text="Zapisano:" />
<Label fx:id="labelDeclaration5" layoutX="233.0" layoutY="468.0" prefHeight="16.0" prefWidth="505.0" text="Brak wyboru" />
<Label fx:id="labelDeclaration4" layoutX="230.0" layoutY="392.0" prefHeight="16.0" prefWidth="511.0" text="Brak wyboru" />
<Label fx:id="labelDeclaration3" layoutX="228.0" layoutY="309.0" prefHeight="16.0" prefWidth="512.0" text="Brak wyboru" />
<Label fx:id="labelDeclaration2" layoutX="231.0" layoutY="222.0" prefHeight="16.0" prefWidth="506.0" text="Brak wyboru" />
<Button fx:id="saveDeclarationButton" layoutX="597.0" layoutY="494.0" mnemonicParsing="false" onAction="#saveDeclaration" prefHeight="26.0" prefWidth="57.0" text="Edit" />
<TextField fx:id="inputExamScore1" layoutX="700.0" layoutY="105.0" prefHeight="26.0" prefWidth="40.0" styleClass="input" />
<Label layoutX="698.0" layoutY="76.0" text="Punkty" />
<TextField fx:id="inputExamScore5" layoutX="700.0" layoutY="434.0" prefHeight="26.0" prefWidth="40.0" styleClass="input" />
<TextField fx:id="inputExamScore4" layoutX="700.0" layoutY="354.0" prefHeight="26.0" prefWidth="40.0" styleClass="input" />
<TextField fx:id="inputExamScore3" layoutX="700.0" layoutY="269.0" prefHeight="26.0" prefWidth="40.0" styleClass="input" />
<TextField fx:id="inputExamScore2" layoutX="700.0" layoutY="185.0" prefHeight="26.0" prefWidth="40.0" styleClass="input" />
</children></AnchorPane>
</content></Tab>
<Tab onSelectionChanged="#clickDataStudent" text="Dane Studenta">
<content>
<AnchorPane prefHeight="200.0" prefWidth="200.0">
<children>
<Label layoutX="82.0" layoutY="87.0" prefHeight="23.0" prefWidth="48.0" text="Imię" />
<Label id="label1" fx:id="labelName" layoutX="224.0" layoutY="91.0" prefHeight="16.0" prefWidth="155.0" text="Label" />
<Label layoutX="82.0" layoutY="165.0" prefHeight="22.0" prefWidth="79.0" text="Nazwisko" />
<Label id="label2" fx:id="labelSurname" layoutX="224.0" layoutY="168.0" prefHeight="16.0" prefWidth="155.0" text="Label" />
<Button fx:id="editStudentDataButton" layoutX="512.0" layoutY="323.0" mnemonicParsing="false" onAction="#editStudentData" text="Edit" />
<TextField fx:id="inputName" layoutX="216.0" layoutY="86.0" onAction="#setInputName" />
<TextField fx:id="inputSurname" layoutX="216.0" layoutY="163.0" onAction="#setInputSurname" />
</children>
</AnchorPane>
</content></Tab>
<Tab onSelectionChanged="#clickResults" text="Wyniki">
<content>
<AnchorPane prefHeight="200.0" prefWidth="200.0">
<children>
<ListView fx:id="results" layoutX="98.0" layoutY="74.0" prefHeight="325.0" prefWidth="546.0" />
</children></AnchorPane>
</content></Tab>
</tabs>
</TabPane>
</children>
<columnConstraints>
<ColumnConstraints />
</columnConstraints>
<rowConstraints>
<RowConstraints />
</rowConstraints>
</GridPane>