123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.scene.Cursor?>
- <?import javafx.scene.control.ComboBox?>
- <?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.BorderPane?>
- <?import javafx.scene.layout.Pane?>
- <?import javafx.scene.layout.VBox?>
- <?import javafx.scene.text.Font?>
- <BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="0.0" prefHeight="553.0" prefWidth="616.0" stylesheets="@AddMovieWindowStyle.css" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.moviesdb.AddMovieController">
- <right>
- <Pane fx:id="borderRight" maxWidth="5.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>
- <Pane fx:id="borderBottom" prefHeight="5.0" prefWidth="755.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
- <cursor>
- <Cursor fx:constant="S_RESIZE" />
- </cursor></Pane>
- </bottom>
- <center>
- <AnchorPane minHeight="0.0" minWidth="0.0" style="-fx-background-color: #212121;" BorderPane.alignment="CENTER">
- <AnchorPane prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
- <children>
- <Label onMouseClicked="#executeForm" text="Add" textFill="#9f9f9f" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0">
- <font>
- <Font name="System Bold" size="16.0" />
- </font>
- </Label>
- </children>
- </AnchorPane>
- <ScrollPane fitToHeight="true" fitToWidth="true" minHeight="0.0" AnchorPane.BottomAnchor="0" AnchorPane.LeftAnchor="0" AnchorPane.RightAnchor="0" AnchorPane.TopAnchor="0" AnchorPane.bottomAnchor="53.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="42.0">
- <content>
- <VBox>
- <AnchorPane prefHeight="318.0" prefWidth="604.0" VBox.vgrow="NEVER">
- <Label layoutX="24.0" layoutY="65.0" text="Title" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="13.0">
- <font>
- <Font size="14.0" />
- </font>
- </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="33.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="33.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="7.0">
- <font>
- <Font size="14.0" />
- </font>
- </TextField>
- <Label layoutX="23.0" layoutY="82.0" text="Cover Link" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="53.0">
- <font>
- <Font size="14.0" />
- </font>
- </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="73.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="73.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="48.0">
- <font>
- <Font size="14.0" />
- </font>
- </TextField>
- <Label layoutX="16.0" layoutY="176.0" text="Genre" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="93.0">
- <font>
- <Font size="14.0" />
- </font>
- </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="113.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="113.0" />
- <Label layoutX="26.0" layoutY="186.0" text="Year" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="133.0">
- <font>
- <Font size="14.0" />
- </font>
- </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="153.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="153.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="128.0">
- <font>
- <Font size="14.0" />
- </font>
- </TextField>
- <Label layoutX="26.0" layoutY="186.0" text="Duration" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="173.0">
- <font>
- <Font size="14.0" />
- </font>
- </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="193.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="193.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="168.0">
- <font>
- <Font size="14.0" />
- </font>
- </TextField>
- <Label layoutX="36.0" layoutY="196.0" text="Studio" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="213.0">
- <font>
- <Font size="14.0" />
- </font>
- </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="233.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="233.0" />
- <Label layoutX="6.0" layoutY="291.0" text="Director" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="253.0">
- <font>
- <Font size="14.0" />
- </font>
- </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="273.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="273.0" />
- <Label fx:id="actorLabel" layoutX="28.0" layoutY="333.0" text="Actor" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="293.0">
- <font>
- <Font size="14.0" />
- </font>
- </Label>
- <Pane layoutX="124.0" layoutY="370.0" minWidth="304.0" prefHeight="3.0" prefWidth="304.0" style="-fx-background-color: #9f9f9f;" visible="false" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="126.0" AnchorPane.topAnchor="313.0" />
- <Pane fx:id="actorUnderline" layoutX="22.0" layoutY="359.0" maxHeight="1.0" maxWidth="150.0" minHeight="1.0" minWidth="150.0" prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="313.0" />
- <Label fx:id="roleLabel" layoutX="422.0" layoutY="378.0" text="Role" textFill="#9f9f9f" AnchorPane.rightAnchor="68.0" AnchorPane.topAnchor="293.0">
- <font>
- <Font size="14.0" />
- </font>
- </Label>
- <Pane fx:id="roleUnderline" 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="313.0" />
- <Label fx:id="buttonRowAdd" 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="283.0">
- <font>
- <Font name="System Bold" size="24.0" />
- </font>
- </Label>
- <Label fx:id="buttonRowRem" alignment="CENTER" layoutX="495.0" layoutY="323.0" onMouseClicked="#removeActor" prefHeight="17.0" prefWidth="24.0" text="-" textFill="#9f9f9f" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="283.0">
- <font>
- <Font name="System Bold" size="24.0" />
- </font>
- </Label>
- <ScrollPane fx:id="actorsGrid" fitToHeight="true" fitToWidth="true" hbarPolicy="NEVER" layoutX="174.0" layoutY="362.0" minHeight="4.0" prefHeight="70.0" prefWidth="416.0" vbarPolicy="NEVER" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="173.0" AnchorPane.rightAnchor="123.0" AnchorPane.topAnchor="287.0">
- <content>
- <VBox fx:id="actorsGridAncor" prefHeight="200.0" prefWidth="100.0" style="-fx-background-color: transparent;" />
- </content>
- </ScrollPane>
- <ComboBox fx:id="directorTextBox" editable="true" layoutX="174.0" layoutY="248.0" prefHeight="25.0" prefWidth="409.0" AnchorPane.leftAnchor="173.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="249.0" />
- <ComboBox fx:id="studioTextBox" editable="true" layoutX="174.0" layoutY="211.0" prefHeight="25.0" prefWidth="409.0" AnchorPane.leftAnchor="173.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="211.0" />
- <ComboBox fx:id="genreTextBox" editable="true" layoutX="173.0" layoutY="91.0" prefHeight="25.0" prefWidth="409.0" AnchorPane.leftAnchor="173.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="91.0" />
- </AnchorPane>
- <AnchorPane prefWidth="604.0" VBox.vgrow="SOMETIMES">
- <children>
- <Label text="User Rating" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="6.0">
- <font>
- <Font size="14.0" />
- </font>
- </Label>
- <Pane prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="26.0" />
- <Pane prefHeight="3.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="174.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="26.0" />
- <TextField 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="1.0">
- <font>
- <Font size="14.0" />
- </font>
- </TextField>
- <Label text="Description" textFill="#9f9f9f" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="46.0">
- <font>
- <Font size="14.0" />
- </font>
- </Label>
- <Pane prefHeight="1.0" prefWidth="150.0" style="-fx-background-color: #9f9f9f;" AnchorPane.leftAnchor="24.0" AnchorPane.topAnchor="66.0" />
- <TextArea fx:id="descriptionTextBox" minHeight="70.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="39.0">
- <font>
- <Font size="14.0" />
- </font>
- </TextArea>
- <Pane prefHeight="43.0" prefWidth="1.0" style="-fx-background-color: #9f9f9f;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="174.0" AnchorPane.topAnchor="66.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>
- </VBox>
- </content>
- </ScrollPane>
- <Label text="Add movie" textFill="#9f9f9f" AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="14.0">
- <font>
- <Font size="24.0" />
- </font>
- </Label>
- </AnchorPane>
- </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 fx:id="borderTop" maxHeight="24.0" prefHeight="24.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
- <children>
- <Label fx:id="closeButton" onMouseClicked="#closeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.bottomAnchor="4.0" AnchorPane.rightAnchor="4.0" AnchorPane.topAnchor="4.0">
- <font>
- <Font name="Arimo" size="12.0" />
- </font>
- </Label>
- <Label fx:id="minimizeButton" onMouseClicked="#minimizeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.bottomAnchor="4.0" AnchorPane.rightAnchor="24.0" AnchorPane.topAnchor="4.0">
- <font>
- <Font name="Arimo" size="12.0" />
- </font>
- </Label>
- <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>
- </Label>
- </children>
- <cursor>
- <Cursor fx:constant="MOVE" />
- </cursor>
- </AnchorPane>
- </top>
- </BorderPane>
|