|
@@ -1,14 +1,19 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
+<?import javafx.scene.control.ScrollPane?>
|
|
|
<?import javafx.scene.control.TextArea?>
|
|
|
<?import javafx.scene.control.TextField?>
|
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
|
+<?import javafx.scene.layout.FlowPane?>
|
|
|
<?import javafx.scene.layout.Pane?>
|
|
|
+<?import javafx.scene.layout.VBox?>
|
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
|
|
-<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="470.0" prefHeight="544.0" prefWidth="604.0" style="-fx-background-color: #212121;" stylesheets="@AdditionControllerStyle.css" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.moviesdb.AdditionController">
|
|
|
+<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="470.0" prefWidth="604.0" style="-fx-background-color: #212121;" stylesheets="@AddMovieWindowStyle.css" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.moviesdb.AddMovieController">
|
|
|
<children>
|
|
|
+ <AnchorPane VBox.vgrow="SOMETIMES">
|
|
|
+ <children>
|
|
|
<Label layoutX="24.0" layoutY="24.0" text="Add movie" textFill="#9f9f9f" AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="14.0">
|
|
|
<font>
|
|
|
<Font size="24.0" />
|
|
@@ -21,7 +26,7 @@
|
|
|
</Label>
|
|
|
<Pane layoutX="24.0" layoutY="74.0" prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="75.0" />
|
|
|
<Pane layoutX="169.0" layoutY="96.0" prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="75.0" />
|
|
|
- <TextField id="actorName" layoutX="175.0" layoutY="47.0" maxWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="50.0">
|
|
|
+ <TextField id="actorName" fx:id="titleTextBox" layoutX="175.0" layoutY="47.0" maxWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="50.0">
|
|
|
<font>
|
|
|
<Font size="14.0" />
|
|
|
</font>
|
|
@@ -33,7 +38,7 @@
|
|
|
</Label>
|
|
|
<Pane layoutX="29.0" layoutY="140.0" prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="115.0" />
|
|
|
<Pane layoutX="174.0" layoutY="162.0" prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="115.0" />
|
|
|
- <TextField id="actorName" layoutX="180.0" layoutY="113.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="90.0">
|
|
|
+ <TextField id="actorName" fx:id="urlTextBox" layoutX="180.0" layoutY="113.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="90.0">
|
|
|
<font>
|
|
|
<Font size="14.0" />
|
|
|
</font>
|
|
@@ -45,7 +50,7 @@
|
|
|
</Label>
|
|
|
<Pane layoutX="22.0" layoutY="234.0" prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="155.0" />
|
|
|
<Pane layoutX="167.0" layoutY="256.0" prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="155.0" />
|
|
|
- <TextField id="actorName" layoutX="221.0" layoutY="134.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="130.0">
|
|
|
+ <TextField id="actorName" fx:id="genreTextBox" layoutX="221.0" layoutY="134.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="130.0">
|
|
|
<font>
|
|
|
<Font size="14.0" />
|
|
|
</font>
|
|
@@ -57,7 +62,7 @@
|
|
|
</Label>
|
|
|
<Pane layoutX="32.0" layoutY="244.0" prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="195.0" />
|
|
|
<Pane layoutX="177.0" layoutY="266.0" prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="195.0" />
|
|
|
- <TextField id="actorName" layoutX="183.0" layoutY="217.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="170.0">
|
|
|
+ <TextField id="actorName" fx:id="yearTextBox" layoutX="183.0" layoutY="217.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="170.0">
|
|
|
<font>
|
|
|
<Font size="14.0" />
|
|
|
</font>
|
|
@@ -69,7 +74,7 @@
|
|
|
</Label>
|
|
|
<Pane layoutX="32.0" layoutY="244.0" prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="235.0" />
|
|
|
<Pane layoutX="177.0" layoutY="266.0" prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="235.0" />
|
|
|
- <TextField id="actorName" layoutX="183.0" layoutY="217.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="210.0">
|
|
|
+ <TextField id="actorName" fx:id="timeTextBox" layoutX="183.0" layoutY="217.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="210.0">
|
|
|
<font>
|
|
|
<Font size="14.0" />
|
|
|
</font>
|
|
@@ -81,7 +86,7 @@
|
|
|
</Label>
|
|
|
<Pane layoutX="42.0" layoutY="254.0" prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="275.0" />
|
|
|
<Pane layoutX="187.0" layoutY="276.0" prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="275.0" />
|
|
|
- <TextField id="actorName" layoutX="193.0" layoutY="227.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="250.0">
|
|
|
+ <TextField id="actorName" fx:id="studioTextBox" layoutX="193.0" layoutY="227.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="250.0">
|
|
|
<font>
|
|
|
<Font size="14.0" />
|
|
|
</font>
|
|
@@ -93,7 +98,7 @@
|
|
|
</Label>
|
|
|
<Pane layoutX="12.0" layoutY="349.0" prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="315.0" />
|
|
|
<Pane layoutX="157.0" layoutY="371.0" prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="315.0" />
|
|
|
- <TextField id="actorName" layoutX="163.0" layoutY="322.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="290.0">
|
|
|
+ <TextField id="actorName" fx:id="directorTextBox" layoutX="163.0" layoutY="322.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="290.0">
|
|
|
<font>
|
|
|
<Font size="14.0" />
|
|
|
</font>
|
|
@@ -111,7 +116,7 @@
|
|
|
</font>
|
|
|
</Label>
|
|
|
<Pane layoutX="392.0" layoutY="369.0" maxHeight="1.0" maxWidth="64.0" minHeight="1.0" minWidth="64.0" prefHeight="1.0" prefWidth="64.0" style="-fx-background-color: #9f9f9f;" AnchorPane.rightAnchor="62.0" AnchorPane.topAnchor="355.0" />
|
|
|
- <Label alignment="CENTER" layoutX="555.0" layoutY="323.0" prefHeight="17.0" prefWidth="24.0" text="+" textFill="#9f9f9f" AnchorPane.rightAnchor="38.0" AnchorPane.topAnchor="325.0">
|
|
|
+ <Label alignment="CENTER" layoutX="555.0" layoutY="323.0" onMouseClicked="#addActor" prefHeight="17.0" prefWidth="24.0" text="+" textFill="#9f9f9f" AnchorPane.rightAnchor="38.0" AnchorPane.topAnchor="325.0">
|
|
|
<font>
|
|
|
<Font name="System Bold" size="24.0" />
|
|
|
</font>
|
|
@@ -121,45 +126,60 @@
|
|
|
<Font name="System Bold" size="24.0" />
|
|
|
</font>
|
|
|
</Label>
|
|
|
- <Label layoutX="15.0" layoutY="388.0" text="User Rating" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="375.0">
|
|
|
+ <ScrollPane fitToHeight="true" fitToWidth="true" layoutX="174.0" layoutY="362.0" prefHeight="70.0" prefWidth="416.0" vbarPolicy="ALWAYS" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="362.0">
|
|
|
+ <content>
|
|
|
+ <FlowPane fx:id="actorsGrid" alignment="TOP_CENTER" columnHalignment="CENTER" hgap="9999" orientation="HORIZONTAL" prefHeight="68.0" prefWidth="414.0" style="-fx-background-color: #212121;" />
|
|
|
+ </content>
|
|
|
+ </ScrollPane>
|
|
|
+ <Label fx:id="closeButton" onMouseClicked="#closeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="4.0" AnchorPane.topAnchor="4.0">
|
|
|
<font>
|
|
|
- <Font size="14.0" />
|
|
|
+ <Font name="Arimo" size="12.0" />
|
|
|
</font>
|
|
|
</Label>
|
|
|
- <Pane layoutX="21.0" layoutY="446.0" prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="395.0" />
|
|
|
- <Pane layoutX="194.0" layoutY="406.0" prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="395.0" />
|
|
|
- <TextField id="actorName" layoutX="172.0" layoutY="419.0" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="370.0">
|
|
|
+ <Label fx:id="minimizeButton" onMouseClicked="#minimizeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="24.0" AnchorPane.topAnchor="4.0">
|
|
|
<font>
|
|
|
- <Font size="14.0" />
|
|
|
+ <Font name="Arimo" size="12.0" />
|
|
|
</font>
|
|
|
- </TextField>
|
|
|
- <Label layoutX="25.0" layoutY="398.0" text="Description" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="415.0">
|
|
|
+ </Label>
|
|
|
+ </children>
|
|
|
+ </AnchorPane>
|
|
|
+ <AnchorPane VBox.vgrow="SOMETIMES">
|
|
|
+ <children>
|
|
|
+ <Label text="User Rating" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="38.0">
|
|
|
<font>
|
|
|
<Font size="14.0" />
|
|
|
</font>
|
|
|
</Label>
|
|
|
- <Pane layoutX="31.0" layoutY="456.0" prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="435.0" />
|
|
|
- <TextArea layoutX="208.0" layoutY="407.0" minHeight="30.0" prefHeight="70.0" prefWidth="200.0" style="-fx-text-fill: #9f9f9f;" wrapText="true" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="410.0">
|
|
|
+ <Pane prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="58.0" />
|
|
|
+ <Pane prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="58.0" />
|
|
|
+ <TextField id="actorName" fx:id="rateTextBox" maxWidth="150.0" minWidth="150.0" style="-fx-opacity: 1; -fx-background-color: transparent; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="33.0">
|
|
|
<font>
|
|
|
<Font size="14.0" />
|
|
|
</font>
|
|
|
- </TextArea>
|
|
|
- <Pane layoutX="146.0" layoutY="445.0" prefHeight="43.0" prefWidth="1.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.topAnchor="435.0" />
|
|
|
- <Pane layoutX="204.0" layoutY="416.0" prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="475.0" />
|
|
|
- <Label fx:id="deleteMovieButton" layoutX="61.0" layoutY="468.0" text="Add" textFill="#9f9f9f" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="14.0">
|
|
|
+ </TextField>
|
|
|
+ <Label text="Description" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="78.0">
|
|
|
<font>
|
|
|
- <Font name="System Bold" size="16.0" />
|
|
|
+ <Font size="14.0" />
|
|
|
</font>
|
|
|
</Label>
|
|
|
- <Label fx:id="closeButton" layoutX="231.0" layoutY="24.0" onMouseClicked="#closeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="4.0" AnchorPane.topAnchor="4.0">
|
|
|
+ <Pane prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="98.0" />
|
|
|
+ <TextArea fx:id="descriptionTextBox" minHeight="30.0" prefHeight="70.0" prefWidth="200.0" style="-fx-text-fill: #9f9f9f;" wrapText="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="71.0">
|
|
|
<font>
|
|
|
- <Font name="Arimo" size="12.0" />
|
|
|
+ <Font size="14.0" />
|
|
|
</font>
|
|
|
- </Label>
|
|
|
- <Label fx:id="minimizeButton" layoutX="211.0" layoutY="14.0" onMouseClicked="#minimizeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="24.0" AnchorPane.topAnchor="4.0">
|
|
|
+ </TextArea>
|
|
|
+ <Pane prefHeight="43.0" prefWidth="1.0" style="-fx-background-color: #9f9f9f;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="174.0" AnchorPane.topAnchor="98.0" />
|
|
|
+ <Pane prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" />
|
|
|
+ </children>
|
|
|
+ </AnchorPane>
|
|
|
+ <AnchorPane prefWidth="200.0" VBox.vgrow="NEVER">
|
|
|
+ <children>
|
|
|
+ <Label onMouseClicked="#addMovie" text="Add" textFill="#9f9f9f" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0">
|
|
|
<font>
|
|
|
- <Font name="Arimo" size="12.0" />
|
|
|
+ <Font name="System Bold" size="16.0" />
|
|
|
</font>
|
|
|
</Label>
|
|
|
+ </children>
|
|
|
+ </AnchorPane>
|
|
|
</children>
|
|
|
-</AnchorPane>
|
|
|
+</VBox>
|