Projekt_LSR/Projekt-LSR/bin/application/applicationView.fxml

273 lines
22 KiB
Plaintext
Raw Normal View History

2020-06-14 13:43:10 +02:00
<?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.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.HBox?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.text.Font?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="700.0" prefWidth="1000.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.ApplicationController">
<children>
<Label layoutX="162.0" layoutY="26.0" text="Wyszukiwarka filmów w oparciu o nieprecyzyjne zapytania z bazy IMDb">
<font>
<Font name="System Bold" size="20.0" />
</font>
</Label>
<Button layoutX="909.0" layoutY="26.0" mnemonicParsing="false" onAction="#creditsButtonAction" text="Autorzy">
<font>
<Font size="14.0" />
</font>
</Button>
<TabPane fx:id="tabPane" layoutX="-2.0" layoutY="69.0" prefHeight="631.0" prefWidth="1000.0" tabClosingPolicy="UNAVAILABLE">
<tabs>
<Tab closable="false" text="Wybór filmu">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
<children>
<GridPane layoutX="2.0" prefHeight="600.0" prefWidth="1000.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="20.0" minWidth="20.0" prefWidth="20.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="20.0" minWidth="20.0" prefWidth="20.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="100.0" minHeight="100.0" prefHeight="100.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<GridPane GridPane.columnIndex="1" GridPane.rowIndex="1">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="10.0" minWidth="10.0" prefWidth="10.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="10.0" minWidth="10.0" prefWidth="10.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="10.0" minWidth="10.0" prefWidth="10.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="10.0" minWidth="10.0" prefWidth="10.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="10.0" minHeight="10.0" prefHeight="10.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Gatunek" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Label>
<Label text="Czas powstania" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Label>
<Label text="Czas trwania" GridPane.columnIndex="4" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Label>
<Label text="Ocena użytkowników" GridPane.columnIndex="6" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Label>
<Label text="Ilość głosów" GridPane.columnIndex="8" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Label>
<ChoiceBox fx:id="typeChoiceBox" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" GridPane.rowIndex="1" />
<ChoiceBox fx:id="productionChoiceBox" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" GridPane.columnIndex="2" GridPane.rowIndex="1" />
<ChoiceBox fx:id="durationChoiceBox" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" GridPane.columnIndex="4" GridPane.rowIndex="1" />
<ChoiceBox fx:id="userRatingChoiceBox" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" GridPane.columnIndex="6" GridPane.rowIndex="1" />
<ChoiceBox fx:id="numberOfVotesChoiceBox" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" GridPane.columnIndex="8" GridPane.rowIndex="1" />
<Button maxHeight="30.0" mnemonicParsing="false" onAction="#findMoviesButtonAction" text="Szukaj" GridPane.columnIndex="8" GridPane.halignment="RIGHT" GridPane.rowIndex="3" GridPane.valignment="CENTER" />
</children>
</GridPane>
<GridPane GridPane.columnIndex="1" GridPane.rowIndex="3">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="10.0" minHeight="10.0" prefHeight="10.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Rezultat zapytania" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Label>
<TableView fx:id="queryResultTableView" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="2">
<columns>
<TableColumn fx:id="titleColumn" maxWidth="300.0" minWidth="300.0" prefWidth="300.0" text="Tytuł" />
<TableColumn fx:id="typesColumn" maxWidth="160.0" minWidth="160.0" prefWidth="160.0" text="Gatunek" />
<TableColumn fx:id="productionYearColumn" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" text="Rok produkcji" />
<TableColumn fx:id="durationColumn" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" text="Czas trwania" />
<TableColumn fx:id="ratingColumn" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" text="Średnia ocena" />
<TableColumn fx:id="numberOfVotesColumn" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" text="Ilość głosów" />
<TableColumn fx:id="bestMatchingColumn" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" text="Dopasowanie" />
</columns>
</TableView>
</children>
</GridPane>
</children>
</GridPane>
</children></AnchorPane>
</content>
</Tab>
<Tab closable="false" text="Szukaj filmu">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
<children>
<GridPane prefHeight="600.0" prefWidth="1000.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="20.0" minWidth="20.0" prefWidth="20.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="20.0" minWidth="20.0" prefWidth="20.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="100.0" minHeight="100.0" prefHeight="100.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<GridPane GridPane.columnIndex="1" GridPane.rowIndex="1">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="80.0" prefWidth="80.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<TextField fx:id="queryFindingTabTextField" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" GridPane.rowIndex="1" />
<Label text="Szukaj filmu po tytule lub fragmencie">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Label>
<Button mnemonicParsing="false" onAction="#queryFindingTabButtonAction" text="Szukaj filmu" GridPane.halignment="RIGHT" GridPane.rowIndex="2" GridPane.valignment="CENTER" />
</children>
</GridPane>
<TableView fx:id="queryResultFindingTabTableView" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="3">
<columns>
<TableColumn fx:id="titleFindingTabColumn" maxWidth="400.0" minWidth="400.0" prefWidth="400.0" text="Tytuł" />
<TableColumn fx:id="typesFindingTabColumn" maxWidth="160.0" minWidth="160.0" prefWidth="160.0" text="Gatunek" />
<TableColumn fx:id="productionYearFindingTabColumn" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" text="Rok produkcji" />
<TableColumn fx:id="durationFindingTabColumn" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" text="Czas trwania" />
<TableColumn fx:id="ratingFindingTabColumn" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" text="Średnia ocena" />
<TableColumn fx:id="numberOfVotesFindingTabColumn" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" text="Ilość głosów" />
</columns>
</TableView>
</children>
</GridPane>
</children></AnchorPane>
</content>
</Tab>
<Tab closable="false" text="Opinie">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
<children>
<GridPane prefHeight="600.0" prefWidth="1000.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="20.0" minWidth="20.0" prefWidth="20.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="20.0" minWidth="20.0" prefWidth="20.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="100.0" minHeight="100.0" prefHeight="100.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="10.0" minHeight="10.0" prefHeight="10.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Dane z bazy IMDb" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="TOP">
<font>
<Font name="System Bold" size="18.0" />
</font>
</Label>
<GridPane GridPane.columnIndex="1" GridPane.rowIndex="1">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="400.0" minWidth="400.0" prefWidth="400.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="10.0" minWidth="10.0" prefWidth="10.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="10.0" minWidth="10.0" prefWidth="10.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="10.0" minWidth="10.0" prefWidth="10.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Tytuł filmu" GridPane.rowIndex="1">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Label>
<TextField fx:id="opinionTabTitleTextField" editable="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" GridPane.rowIndex="2" />
<Label text="Średnia ocena" GridPane.columnIndex="2" GridPane.rowIndex="1">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Label>
<TextField fx:id="opinionTabRatingTextField" editable="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" GridPane.columnIndex="2" GridPane.rowIndex="2" />
<Label text="Ilość głosów" GridPane.columnIndex="4" GridPane.rowIndex="1">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Label>
<TextField fx:id="opinionTabVotesTextField" editable="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" GridPane.columnIndex="4" GridPane.rowIndex="2" />
</children>
</GridPane>
<TableView fx:id="opinionsTableView" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="3">
<columns>
<TableColumn fx:id="nickOpinionsTabColumn" maxWidth="134.0" minWidth="134.0" prefWidth="134.0" text="Nick" />
<TableColumn fx:id="emailOpinionsTabColumn" maxWidth="200.0" minWidth="200.0" prefWidth="200.0" text="E-mail" />
<TableColumn fx:id="dateOpinionsTabColumn" maxWidth="150.0" minWidth="150.0" prefWidth="150.0" text="Data dodania opinii" />
<TableColumn fx:id="ratingOpinionsTabColumn" maxWidth="50.0" minWidth="50.0" prefWidth="50.0" text="Ocena" />
<TableColumn fx:id="opinionOpinionsTabColumn" maxWidth="1.7976931348623157E308" minWidth="425.0" prefWidth="425.0" text="Opinia" />
</columns>
</TableView>
<HBox maxHeight="200.0" maxWidth="188.0" prefHeight="100.0" prefWidth="200.0" spacing="10.0" GridPane.columnIndex="1" GridPane.halignment="RIGHT" GridPane.rowIndex="5" GridPane.valignment="CENTER">
<children>
<Button maxHeight="1.7976931348623157E308" mnemonicParsing="false" onAction="#refreshButtonAction" text="Odswież" />
<Button maxHeight="1.7976931348623157E308" mnemonicParsing="false" onAction="#addOpinionButtonAction" text="Dodaj nową opinię" />
</children>
</HBox>
</children>
</GridPane>
</children>
</AnchorPane>
</content>
</Tab>
</tabs>
</TabPane>
</children>
</AnchorPane>