|
@@ -45,216 +45,292 @@
|
|
|
<?import javafx.scene.control.TextField?>
|
|
|
<?import javafx.scene.image.ImageView?>
|
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
|
+<?import javafx.scene.layout.BorderPane?>
|
|
|
<?import javafx.scene.layout.FlowPane?>
|
|
|
<?import javafx.scene.layout.HBox?>
|
|
|
<?import javafx.scene.layout.Pane?>
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
<?import javafx.scene.paint.Color?>
|
|
|
-<?import javafx.scene.shape.Polyline?>
|
|
|
<?import javafx.scene.text.Font?>
|
|
|
<?import javafx.scene.text.TextFlow?>
|
|
|
|
|
|
-<VBox prefHeight="600.0" prefWidth="900.0" style="-fx-background-color: #121212;" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.moviesdb.BrowserController">
|
|
|
- <children>
|
|
|
- <AnchorPane prefHeight="25.0" prefWidth="900.0">
|
|
|
- <children>
|
|
|
- <MenuBar fx:id="menuPane" prefHeight="25.0" prefWidth="827.0" style="-fx-background-color: #121212; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="73.0">
|
|
|
- <menus>
|
|
|
- <Menu mnemonicParsing="false" text="File">
|
|
|
- <items>
|
|
|
- <MenuItem mnemonicParsing="false" onAction="#openStatsStudioForm" text="Studio stats" />
|
|
|
- <MenuItem fx:id="statsMenu" mnemonicParsing="false" onAction="#openStatsGenreForm" text="Genre stats" />
|
|
|
- <MenuItem fx:id="reloadMenu" mnemonicParsing="false" onAction="#loadPosters" text="Reload" />
|
|
|
- <MenuItem mnemonicParsing="false" onAction="#closeStage" text="Close" />
|
|
|
- </items>
|
|
|
+<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="600.0" minWidth="900.0" prefHeight="720.0" prefWidth="1280.0" stylesheets="@BrowserWindowStyle.css" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.moviesdb.BrowserController">
|
|
|
+ <right>
|
|
|
+ <Pane fx:id="borderRight" maxWidth="5.0" minWidth="0.0" prefHeight="520.0" prefWidth="230.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
|
|
|
+ <cursor>
|
|
|
+ <Cursor fx:constant="E_RESIZE" />
|
|
|
+ </cursor></Pane>
|
|
|
+ </right>
|
|
|
+ <bottom>
|
|
|
+ <AnchorPane>
|
|
|
+ <Pane fx:id="cornerBottomLeft" maxHeight="5.0" maxWidth="5.0" minHeight="5.0" minWidth="5.0" prefHeight="5.0" prefWidth="5.0" style="-fx-background-color: #121212;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0">
|
|
|
+ <cursor>
|
|
|
+ <Cursor fx:constant="NE_RESIZE" />
|
|
|
+ </cursor>
|
|
|
+ </Pane>
|
|
|
+ <Pane fx:id="borderBottom" prefHeight="5.0" prefWidth="745.0" style="-fx-background-color: #121212;" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" BorderPane.alignment="CENTER">
|
|
|
+ <cursor>
|
|
|
+ <Cursor fx:constant="S_RESIZE" />
|
|
|
+ </cursor></Pane>
|
|
|
+ <Pane fx:id="cornerBottomRight" maxHeight="5.0" maxWidth="5.0" minHeight="5.0" minWidth="5.0" prefHeight="5.0" prefWidth="5.0" style="-fx-background-color: #121212;" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
+ <cursor>
|
|
|
+ <Cursor fx:constant="SE_RESIZE" />
|
|
|
+ </cursor>
|
|
|
+ </Pane>
|
|
|
+ </AnchorPane>
|
|
|
+ </bottom>
|
|
|
+ <center>
|
|
|
+ <VBox minHeight="0.0" minWidth="0.0" prefHeight="600.0" prefWidth="900.0" style="-fx-background-color: #121212;">
|
|
|
+ <children>
|
|
|
+ <SplitPane dividerPositions="0.5, 0.5" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="0.0" prefHeight="538.0" prefWidth="900.0" style="-fx-background-color: magenta;" stylesheets="@style.css" VBox.vgrow="ALWAYS">
|
|
|
+ <items>
|
|
|
+ <AnchorPane fx:id="filterPane" maxWidth="0.0" minHeight="0.0" minWidth="0.0" prefHeight="550.0" prefWidth="500.0" style="-fx-background-color: #212121;" SplitPane.resizableWithParent="false">
|
|
|
+ <children>
|
|
|
+ <Label alignment="CENTER" layoutX="14.0" layoutY="14.0" minWidth="60.0" prefWidth="-1.0" style=" " text="Filter" textAlignment="CENTER" wrapText="false">
|
|
|
+ <font>
|
|
|
+ <Font size="18.0" fx:id="x1" />
|
|
|
+ </font>
|
|
|
+ <textFill>
|
|
|
+ <Color red="0.624" green="0.624" blue="0.624" fx:id="x2" />
|
|
|
+ </textFill>
|
|
|
+ </Label>
|
|
|
+ <Label layoutX="24.0" layoutY="50.0" text="Name" textFill="#9f9f9f">
|
|
|
+ <font>
|
|
|
+ <Font size="14.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <TextField fx:id="titleTextBox" layoutX="82.0" layoutY="48.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" AnchorPane.rightAnchor="18.0" />
|
|
|
+ <Label layoutX="24.0" layoutY="84.0" text="Genre" textFill="#9f9f9f">
|
|
|
+ <font>
|
|
|
+ <Font size="14.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <TextField fx:id="genreTextBox" layoutX="82.0" layoutY="82.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" AnchorPane.rightAnchor="18.0" />
|
|
|
+ <Label layoutX="24.0" layoutY="118.0" text="Year" textFill="#9f9f9f">
|
|
|
+ <font>
|
|
|
+ <Font size="14.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <TextField fx:id="yearTextBox" layoutX="82.0" layoutY="116.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" AnchorPane.rightAnchor="18.0" />
|
|
|
+ <Label layoutX="24.0" layoutY="152.0" text="Duration" textFill="#9f9f9f">
|
|
|
+ <font>
|
|
|
+ <Font size="14.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <TextField fx:id="timeTextBox" layoutX="82.0" layoutY="150.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" AnchorPane.rightAnchor="18.0" />
|
|
|
+ <Label layoutX="24.0" layoutY="186.0" text="Studio" textFill="#9f9f9f">
|
|
|
+ <font>
|
|
|
+ <Font size="14.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <TextField fx:id="studioTextBox" layoutX="82.0" layoutY="184.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" AnchorPane.rightAnchor="18.0" />
|
|
|
+ <Label layoutX="24.0" layoutY="220.0" text="Director" textFill="#9f9f9f">
|
|
|
+ <font>
|
|
|
+ <Font size="14.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <TextField fx:id="directorTextBox" layoutX="82.0" layoutY="218.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" AnchorPane.rightAnchor="18.0" />
|
|
|
+ <Label layoutX="24.0" layoutY="254.0" text="Actor" textFill="#9f9f9f">
|
|
|
+ <font>
|
|
|
+ <Font size="14.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <Label layoutX="24.0" layoutY="288.0" text="Role" textFill="#9f9f9f">
|
|
|
+ <font>
|
|
|
+ <Font size="14.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <TextField fx:id="roleTextBox" layoutX="82.0" layoutY="286.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" AnchorPane.rightAnchor="18.0" />
|
|
|
+ <Label layoutX="24.0" layoutY="322.0" text="Rating" textFill="#9f9f9f">
|
|
|
+ <font>
|
|
|
+ <Font size="14.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <TextField fx:id="rateTextBox" layoutX="82.0" layoutY="320.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" AnchorPane.rightAnchor="18.0" />
|
|
|
+ <Label layoutX="24.0" layoutY="353.0" text="Desc" textFill="#9f9f9f">
|
|
|
+ <font>
|
|
|
+ <Font size="14.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <TextArea fx:id="descriptionTextBox" layoutX="80.0" layoutY="353.0" minHeight="70.0" onKeyTyped="#getFilterMovies" prefHeight="162.0" prefWidth="209.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #212121;" stylesheets="@FilterBlockStyle.css" wrapText="true" AnchorPane.bottomAnchor="36.0" AnchorPane.rightAnchor="18.0" AnchorPane.topAnchor="353.0">
|
|
|
+ <font>
|
|
|
+ <Font size="14.0" />
|
|
|
+ </font>
|
|
|
+ </TextArea>
|
|
|
+ <Label fx:id="filterButton" alignment="CENTER" layoutX="252.0" layoutY="519.0" onMouseClicked="#getFilterMovies" style=" " text="Filter" textAlignment="CENTER" wrapText="false" AnchorPane.bottomAnchor="5.0" AnchorPane.rightAnchor="20.0">
|
|
|
+ <font>
|
|
|
+ <Font size="16.0" fx:id="x1111" />
|
|
|
+ </font>
|
|
|
+ <textFill>
|
|
|
+ <Color red="0.624" green="0.624" blue="0.624" fx:id="x2111" />
|
|
|
+ </textFill>
|
|
|
+ </Label>
|
|
|
+ <TextField fx:id="actorTextBox" layoutX="82.0" layoutY="252.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" AnchorPane.rightAnchor="18.0" />
|
|
|
+ <Pane maxWidth="5.0" minWidth="5.0" prefWidth="5.0" style="-fx-background-color: #121212;" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
|
+ </children>
|
|
|
+ </AnchorPane>
|
|
|
+ <AnchorPane id="Content" fx:id="browserPane" minHeight="0.0" minWidth="0.0" prefHeight="269.0" prefWidth="789.0" style="-fx-background-color: #212121;">
|
|
|
+ <children>
|
|
|
+ <Label alignment="CENTER" layoutX="11.0" layoutY="14.0" prefWidth="80.0" style=" " text="Browser" textAlignment="CENTER" wrapText="false" AnchorPane.topAnchor="14.0">
|
|
|
+ <font>
|
|
|
+ <Font size="18.0" fx:id="x11" />
|
|
|
+ </font>
|
|
|
+ <textFill>
|
|
|
+ <Color red="0.624" green="0.624" blue="0.624" fx:id="x21" />
|
|
|
+ </textFill>
|
|
|
+ </Label>
|
|
|
+ <ScrollPane fx:id="scrollPane" fitToHeight="true" fitToWidth="true" hbarPolicy="NEVER" layoutX="14.0" layoutY="48.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="400.0" prefHeight="470.0" prefWidth="858.0" style="-fx-background-color: transparent; -fx-border-color: #212121;" vbarPolicy="NEVER" AnchorPane.bottomAnchor="31.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="8.0" AnchorPane.topAnchor="48.0">
|
|
|
+ <styleClass>
|
|
|
+ <String fx:value="split-pane" />
|
|
|
+ <String fx:value="split-pane-divider" />
|
|
|
+ </styleClass>
|
|
|
+ <content>
|
|
|
+ <AnchorPane prefHeight="200.0" prefWidth="200.0">
|
|
|
+ <children>
|
|
|
+ <FlowPane fx:id="moviesGrid" prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #212121;" AnchorPane.bottomAnchor="0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0" />
|
|
|
+ </children>
|
|
|
+ </AnchorPane>
|
|
|
+ </content>
|
|
|
+ </ScrollPane>
|
|
|
+ <Label alignment="CENTER" layoutX="11.0" layoutY="520.0" onMouseClicked="#openFilter" style=" " text="Search" textAlignment="CENTER" wrapText="false" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="11.0">
|
|
|
+ <font>
|
|
|
+ <Font size="16.0" fx:id="x111" />
|
|
|
+ </font>
|
|
|
+ <textFill>
|
|
|
+ <Color red="0.624" green="0.624" blue="0.624" fx:id="x211" />
|
|
|
+ </textFill>
|
|
|
+ </Label>
|
|
|
+ </children>
|
|
|
+ </AnchorPane>
|
|
|
+ <AnchorPane fx:id="detailsPane" maxWidth="0.0" minHeight="0.0" minWidth="0.0" prefHeight="550.0" prefWidth="0.0" style="-fx-background-color: #212121;" SplitPane.resizableWithParent="false">
|
|
|
+ <children>
|
|
|
+ <Pane maxWidth="5.0" minWidth="5.0" prefWidth="5.0" style="-fx-background-color: #121212;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
|
+ <Label alignment="CENTER" font="$x1" layoutX="14.0" layoutY="14.0" style=" " text="Details" textAlignment="CENTER" textFill="#9f9f9f" wrapText="false" />
|
|
|
+ <ImageView fx:id="detailsPicPane" fitHeight="222.0" fitWidth="150.0" layoutX="14.0" layoutY="41.0" pickOnBounds="true" AnchorPane.bottomAnchor="287.0" AnchorPane.leftAnchor="75.0" AnchorPane.rightAnchor="75.0" AnchorPane.topAnchor="41.0" />
|
|
|
+ <Label fx:id="detailsNameLabel" layoutX="14.0" layoutY="265.0" text="Info" textFill="#9f9f9f">
|
|
|
+ <font>
|
|
|
+ <Font size="16.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <Label fx:id="deleteMovieButton" layoutX="-14.0" layoutY="528.0" onMouseClicked="#openDeleteForm" text="Delete" textFill="#9f9f9f" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="14.0">
|
|
|
+ <font>
|
|
|
+ <Font size="16.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <Label fx:id="editMovieButton" layoutX="212.0" layoutY="534.0" text="Edit" textFill="#9f9f9f" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="71.0">
|
|
|
+ <font>
|
|
|
+ <Font size="16.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ <ScrollPane fitToHeight="true" fitToWidth="true" layoutX="14.0" layoutY="290.0" prefHeight="222.0" prefWidth="277.0" style="-fx-background-color: transparent;" AnchorPane.bottomAnchor="39.0" AnchorPane.topAnchor="290.0">
|
|
|
+ <content>
|
|
|
+ <TextFlow fx:id="detailsContent" prefHeight="222.0" prefWidth="277.0" style="-fx-background-color: #212121;" />
|
|
|
+ </content>
|
|
|
+ </ScrollPane>
|
|
|
+
|
|
|
+
|
|
|
+ </children>
|
|
|
+ </AnchorPane>
|
|
|
+ </items>
|
|
|
+ <opaqueInsets>
|
|
|
+ <Insets />
|
|
|
+ </opaqueInsets>
|
|
|
+ <VBox.margin>
|
|
|
+ <Insets />
|
|
|
+ </VBox.margin>
|
|
|
+ </SplitPane>
|
|
|
+ <HBox id="HBox" alignment="CENTER_LEFT" minWidth="0.0" spacing="5.0" VBox.vgrow="NEVER">
|
|
|
+ <children>
|
|
|
+ <Label fx:id="userLabel" maxHeight="1.7976931348623157E308" maxWidth="-1.0" minWidth="0.0" style="-fx-background-color: #121212;" text="Logged in as Guest" HBox.hgrow="ALWAYS">
|
|
|
+ <font>
|
|
|
+ <Font size="11.0" fx:id="x3" />
|
|
|
+ </font>
|
|
|
+ <textFill>
|
|
|
+ <Color red="0.625" green="0.625" blue="0.625" fx:id="x4" />
|
|
|
+ </textFill>
|
|
|
+ </Label>
|
|
|
+ <Pane minWidth="0.0" prefHeight="-1.0" prefWidth="-1.0" style="-fx-background-color: #121212;" HBox.hgrow="ALWAYS" />
|
|
|
+ <Label fx:id="logInButton" font="$x3" maxWidth="-1.0" minWidth="0.0" onMouseClicked="#openLoginForm" style="-fx-background-color: #121212;" text="Log in" textFill="$x4" HBox.hgrow="NEVER" />
|
|
|
+ </children>
|
|
|
+ <padding>
|
|
|
+ <Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
|
|
|
+ </padding>
|
|
|
+ </HBox>
|
|
|
+ </children>
|
|
|
+ </VBox>
|
|
|
+ </center>
|
|
|
+ <left>
|
|
|
+ <Pane fx:id="borderLeft" maxWidth="5.0" prefWidth="10.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
|
|
|
+ <cursor>
|
|
|
+ <Cursor fx:constant="W_RESIZE" />
|
|
|
+ </cursor></Pane>
|
|
|
+ </left>
|
|
|
+
|
|
|
+ <top>
|
|
|
+ <AnchorPane maxHeight="-Infinity" minHeight="-Infinity" prefHeight="24.0" prefWidth="900.0" style="-fx-background-color: #121212;" VBox.vgrow="NEVER">
|
|
|
+ <!---->
|
|
|
+ <MenuBar fx:id="menuPane" maxHeight="22" minWidth="0.0" prefHeight="22.0" style="-fx-background-color: #121212; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="1.0" AnchorPane.topAnchor="1.0">
|
|
|
+ <Menu mnemonicParsing="false" style="-fx-font-size: 10.1;" text="File">
|
|
|
+ <items>
|
|
|
+ <MenuItem mnemonicParsing="false" onAction="#openStatsStudioForm" text="Studio stats" />
|
|
|
+ <MenuItem mnemonicParsing="false" onAction="#openStatsGenreForm" text="Genre stats" />
|
|
|
+ <MenuItem fx:id="reloadMenu" mnemonicParsing="false" onAction="#loadPosters" text="Reload" />
|
|
|
+ <MenuItem mnemonicParsing="false" onAction="#closeStage" text="Close" />
|
|
|
+ </items>
|
|
|
</Menu>
|
|
|
- <Menu mnemonicParsing="false" text="Edit">
|
|
|
- <items>
|
|
|
+ <Menu mnemonicParsing="false" style="-fx-font-size: 10.1;" text="Edit">
|
|
|
<MenuItem fx:id="addMenu" mnemonicParsing="false" onAction="#openAddForm" text="Add" />
|
|
|
- </items>
|
|
|
</Menu>
|
|
|
- <Menu mnemonicParsing="false" text="Help">
|
|
|
- <items>
|
|
|
+ <Menu mnemonicParsing="false" style="-fx-font-size: 10.1;" text="Help">
|
|
|
<MenuItem mnemonicParsing="false" text="About" />
|
|
|
- </items>
|
|
|
</Menu>
|
|
|
- </menus>
|
|
|
+ <padding>
|
|
|
+ <Insets left="4.0" right="1.0" />
|
|
|
+ </padding>
|
|
|
+ <!--
|
|
|
+ -->
|
|
|
</MenuBar>
|
|
|
- <Label fx:id="closeButton" layoutX="876.0" layoutY="4.0" onMouseClicked="#closeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="8.0" AnchorPane.topAnchor="4.0" />
|
|
|
- <Label fx:id="maximizeButton" layoutX="854.0" layoutY="4.0" onMouseClicked="#maximizeStageChange" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="30.0" AnchorPane.topAnchor="4.0" />
|
|
|
- <Label fx:id="minimizeButton" layoutX="832.0" layoutY="4.0" onMouseClicked="#minimizeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="52.0" AnchorPane.topAnchor="4.0" />
|
|
|
- </children>
|
|
|
- </AnchorPane>
|
|
|
- <SplitPane dividerPositions="0.3392857142857143, 0.9955357142857143" focusTraversable="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="-1.0" prefWidth="-1.0" style="-fx-background-color: #121212; -fx-border-color: #121212;" stylesheets="@style.css" VBox.vgrow="ALWAYS">
|
|
|
- <items>
|
|
|
- <AnchorPane fx:id="filterPane" maxWidth="0.0" minWidth="0.0" prefHeight="550.0" prefWidth="120.0" style="-fx-background-color: #212121;" SplitPane.resizableWithParent="false">
|
|
|
- <children>
|
|
|
- <Label alignment="CENTER" layoutX="14.0" layoutY="14.0" minWidth="60.0" prefWidth="-1.0" style=" " text="Filter" textAlignment="CENTER" wrapText="false">
|
|
|
- <font>
|
|
|
- <Font size="18.0" fx:id="x1" />
|
|
|
- </font>
|
|
|
- <textFill>
|
|
|
- <Color red="0.624" green="0.624" blue="0.624" fx:id="x2" />
|
|
|
- </textFill>
|
|
|
- </Label>
|
|
|
- <Label layoutX="24.0" layoutY="50.0" text="Name" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="14.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <TextField fx:id="titleTextBox" layoutX="82.0" layoutY="48.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" />
|
|
|
- <Label layoutX="24.0" layoutY="84.0" text="Genre" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="14.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <TextField fx:id="genreTextBox" layoutX="82.0" layoutY="82.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" />
|
|
|
- <Label layoutX="24.0" layoutY="118.0" text="Year" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="14.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <TextField fx:id="yearTextBox" layoutX="82.0" layoutY="116.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" />
|
|
|
- <Label layoutX="24.0" layoutY="152.0" text="Duration" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="14.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <TextField fx:id="timeTextBox" layoutX="82.0" layoutY="150.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" />
|
|
|
- <Label layoutX="24.0" layoutY="186.0" text="Studio" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="14.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <TextField fx:id="studioTextBox" layoutX="82.0" layoutY="184.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" />
|
|
|
- <Label layoutX="24.0" layoutY="220.0" text="Director" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="14.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <TextField fx:id="directorTextBox" layoutX="82.0" layoutY="218.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" />
|
|
|
- <Label layoutX="24.0" layoutY="254.0" text="Actor" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="14.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <Label layoutX="24.0" layoutY="288.0" text="Role" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="14.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <TextField fx:id="roleTextBox" layoutX="82.0" layoutY="286.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" />
|
|
|
- <Label layoutX="24.0" layoutY="322.0" text="Rating" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="14.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <TextField fx:id="rateTextBox" layoutX="82.0" layoutY="320.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" />
|
|
|
- <Label layoutX="24.0" layoutY="353.0" text="Desc" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="14.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <TextArea fx:id="descriptionTextBox" layoutX="80.0" layoutY="353.0" minHeight="70.0" onKeyTyped="#getFilterMovies" prefHeight="162.0" prefWidth="209.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #212121;" stylesheets="@FilterBlockStyle.css" wrapText="true" AnchorPane.bottomAnchor="36.0" AnchorPane.topAnchor="353.0">
|
|
|
- <font>
|
|
|
+
|
|
|
+ <Pane fx:id="borderTop" minWidth="0.0" prefHeight="22.0" AnchorPane.leftAnchor="106.0" AnchorPane.rightAnchor="112.0" AnchorPane.topAnchor="1.0" />
|
|
|
+ <!---->
|
|
|
+ <AnchorPane id="closeButton" onMouseClicked="#closeStage" prefHeight="22.0" prefWidth="36.0" AnchorPane.rightAnchor="1.0" AnchorPane.topAnchor="1.0">
|
|
|
+ <Label fx:id="closeButton" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="2.0" />
|
|
|
+ </AnchorPane>
|
|
|
+ <AnchorPane id="maximizeButton" onMouseClicked="#maximizeStageChange" prefHeight="22.0" prefWidth="36.0" AnchorPane.rightAnchor="38.0" AnchorPane.topAnchor="1.0">
|
|
|
+ <Label fx:id="maximizeButton" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="2.0" />
|
|
|
+ </AnchorPane>
|
|
|
+ <AnchorPane id="minimizeButton" fx:id="test" onMouseClicked="#minimizeStage" prefHeight="22.0" prefWidth="36.0" AnchorPane.rightAnchor="75.0" AnchorPane.topAnchor="1.0">
|
|
|
+ <Label fx:id="minimizeButton" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="2.0" />
|
|
|
+ <!--
|
|
|
+ <Label fx:id="minimizeButton" prefHeight="16.0" prefWidth="16.0" AnchorPane.bottomAnchor="3.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="3.0"/>
|
|
|
+ -->
|
|
|
+ </AnchorPane>
|
|
|
+ </AnchorPane>
|
|
|
+ <!--
|
|
|
+ <AnchorPane fx:id="borderTop" maxHeight="24.0" prefHeight="24.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
|
|
|
+ <children>
|
|
|
+ <AnchorPane id="closeButton" onMouseClicked="#closeStage" prefHeight="22.0" prefWidth="36.0" AnchorPane.bottomAnchor="1.0" AnchorPane.rightAnchor="1.0" AnchorPane.topAnchor="1.0">
|
|
|
+ <Label fx:id="closeButton" prefHeight="16.0" prefWidth="16.0" AnchorPane.bottomAnchor="3.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="3.0">
|
|
|
+ <font>
|
|
|
+ <Font name="Arimo" size="12.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ </AnchorPane>
|
|
|
+ <AnchorPane fx:id="test" id="minimizeButton" onMouseClicked="#minimizeStage" prefHeight="22.0" prefWidth="36.0" AnchorPane.bottomAnchor="1.0" AnchorPane.rightAnchor="38.0" AnchorPane.topAnchor="1.0">
|
|
|
+ <Label fx:id="minimizeButton" prefHeight="16.0" prefWidth="16.0" AnchorPane.bottomAnchor="3.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="3.0">
|
|
|
+ <font>
|
|
|
+ <Font name="Arimo" size="12.0" />
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ </AnchorPane>
|
|
|
+ <Label layoutX="10.0" layoutY="2.0" text="Title" textFill="#9f9f9f" visible="false" AnchorPane.bottomAnchor="2.0" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="2.0">
|
|
|
+ <font>
|
|
|
<Font size="14.0" />
|
|
|
- </font>
|
|
|
- </TextArea>
|
|
|
- <Label fx:id="filterButton" alignment="CENTER" layoutX="252.0" layoutY="519.0" onMouseClicked="#getFilterMovies" style=" " text="Filter" textAlignment="CENTER" wrapText="false" AnchorPane.bottomAnchor="5.0" AnchorPane.rightAnchor="15.0">
|
|
|
- <font>
|
|
|
- <Font size="16.0" fx:id="x1111" />
|
|
|
- </font>
|
|
|
- <textFill>
|
|
|
- <Color red="0.624" green="0.624" blue="0.624" fx:id="x2111" />
|
|
|
- </textFill>
|
|
|
- </Label>
|
|
|
- <TextField fx:id="actorTextBox" layoutX="82.0" layoutY="252.0" onKeyTyped="#getFilterMovies" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" />
|
|
|
- </children>
|
|
|
+ </font>
|
|
|
+ </Label>
|
|
|
+ </children>
|
|
|
</AnchorPane>
|
|
|
- <AnchorPane id="Content" fx:id="browserPane" minHeight="-1.0" minWidth="-1.0" prefHeight="551.0" prefWidth="566.0" style="-fx-background-color: #212121;">
|
|
|
- <children>
|
|
|
- <Label alignment="CENTER" layoutX="11.0" layoutY="14.0" prefWidth="80.0" style=" " text="Browser" textAlignment="CENTER" wrapText="false" AnchorPane.topAnchor="14.0">
|
|
|
- <font>
|
|
|
- <Font size="18.0" fx:id="x11" />
|
|
|
- </font>
|
|
|
- <textFill>
|
|
|
- <Color red="0.624" green="0.624" blue="0.624" fx:id="x21" />
|
|
|
- </textFill>
|
|
|
- </Label>
|
|
|
- <ScrollPane fx:id="scrollPane" fitToHeight="true" fitToWidth="true" hbarPolicy="NEVER" layoutX="14.0" layoutY="48.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="400.0" prefHeight="470.0" prefWidth="858.0" style="-fx-background-color: transparent; -fx-border-color: #212121;" vbarPolicy="NEVER" AnchorPane.bottomAnchor="31.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="8.0" AnchorPane.topAnchor="48.0">
|
|
|
- <styleClass>
|
|
|
- <String fx:value="split-pane" />
|
|
|
- <String fx:value="split-pane-divider" />
|
|
|
- </styleClass>
|
|
|
- <content>
|
|
|
- <AnchorPane prefHeight="200.0" prefWidth="200.0">
|
|
|
- <children>
|
|
|
- <FlowPane fx:id="moviesGrid" prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #212121;" AnchorPane.bottomAnchor="0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0" />
|
|
|
- </children>
|
|
|
- </AnchorPane>
|
|
|
- </content>
|
|
|
- </ScrollPane>
|
|
|
- <Label alignment="CENTER" layoutX="11.0" layoutY="520.0" onMouseClicked="#openFilter" style=" " text="Search" textAlignment="CENTER" wrapText="false" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="11.0">
|
|
|
- <font>
|
|
|
- <Font size="16.0" fx:id="x111" />
|
|
|
- </font>
|
|
|
- <textFill>
|
|
|
- <Color red="0.624" green="0.624" blue="0.624" fx:id="x211" />
|
|
|
- </textFill>
|
|
|
- </Label>
|
|
|
- </children>
|
|
|
- </AnchorPane>
|
|
|
- <AnchorPane fx:id="detailsPane" maxWidth="0.0" minWidth="0.0" prefHeight="550.0" prefWidth="318.0" style="-fx-background-color: #212121;" SplitPane.resizableWithParent="false">
|
|
|
- <children>
|
|
|
- <Label alignment="CENTER" font="$x1" layoutX="14.0" layoutY="14.0" style=" " text="Details" textAlignment="CENTER" textFill="#9f9f9f" wrapText="false" />
|
|
|
- <ImageView fx:id="detailsPicPane" fitHeight="222.0" fitWidth="150.0" layoutX="14.0" layoutY="41.0" pickOnBounds="true" AnchorPane.bottomAnchor="287.0" AnchorPane.leftAnchor="75.0" AnchorPane.rightAnchor="75.0" AnchorPane.topAnchor="41.0" />
|
|
|
- <Label fx:id="detailsNameLabel" layoutX="14.0" layoutY="265.0" text="Info" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="16.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <Label fx:id="deleteMovieButton" layoutX="-14.0" layoutY="528.0" onMouseClicked="#openDeleteForm" text="Delete" textFill="#9f9f9f" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="14.0">
|
|
|
- <font>
|
|
|
- <Font size="16.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <Label fx:id="editMovieButton" layoutX="212.0" layoutY="534.0" text="Edit" textFill="#9f9f9f" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="71.0">
|
|
|
- <font>
|
|
|
- <Font size="16.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <ScrollPane fitToHeight="true" fitToWidth="true" layoutX="14.0" layoutY="290.0" prefHeight="222.0" prefWidth="277.0" style="-fx-background-color: transparent;" AnchorPane.bottomAnchor="39.0" AnchorPane.topAnchor="290.0">
|
|
|
- <content>
|
|
|
- <TextFlow fx:id="detailsContent" prefHeight="222.0" prefWidth="277.0" style="-fx-background-color: #212121;" />
|
|
|
- </content>
|
|
|
- </ScrollPane>
|
|
|
-
|
|
|
+ -->
|
|
|
+ </top>
|
|
|
|
|
|
- </children>
|
|
|
- </AnchorPane>
|
|
|
- </items>
|
|
|
- </SplitPane>
|
|
|
- <HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0" VBox.vgrow="NEVER">
|
|
|
- <children>
|
|
|
- <Label fx:id="userLabel" maxHeight="1.7976931348623157E308" maxWidth="-1.0" style="-fx-background-color: #121212;" text="Logged in as Guest" HBox.hgrow="ALWAYS">
|
|
|
- <font>
|
|
|
- <Font size="11.0" fx:id="x3" />
|
|
|
- </font>
|
|
|
- <textFill>
|
|
|
- <Color red="0.625" green="0.625" blue="0.625" fx:id="x4" />
|
|
|
- </textFill>
|
|
|
- </Label>
|
|
|
- <Pane prefHeight="-1.0" prefWidth="-1.0" style="-fx-background-color: #121212;" HBox.hgrow="ALWAYS" />
|
|
|
- <Label fx:id="logInButton" font="$x3" maxWidth="-1.0" onMouseClicked="#openLoginForm" style="-fx-background-color: #121212;" text="Log in" textFill="$x4" HBox.hgrow="NEVER" />
|
|
|
- <Polyline fx:id="resizerPoly" fill="#9f9f9f" points="233.0, -3.0, 251.0, -20.0, 251.0, -3.0, 233.0, -3.0" strokeType="INSIDE">
|
|
|
- <cursor>
|
|
|
- <Cursor fx:constant="SE_RESIZE" />
|
|
|
- </cursor>
|
|
|
- </Polyline>
|
|
|
- </children>
|
|
|
- <padding>
|
|
|
- <Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
|
|
|
- </padding>
|
|
|
- </HBox>
|
|
|
- </children>
|
|
|
-</VBox>
|
|
|
+</BorderPane>
|