Project-HomeFlix/src/main/resources/fxml/FilmDetailView.fxml

221 lines
11 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import com.jfoenix.controls.JFXButton?>
<?import javafx.geometry.Insets?>
<?import javafx.geometry.Rectangle2D?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<?import javafx.scene.text.TextFlow?>
<AnchorPane fx:id="filmDVPane" prefHeight="568.0" prefWidth="1130.0" style="-fx-background-color: #595959;" visible="false" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="kellerkinder.HomeFlix.application.FilmDetailView">
<children>
<HBox layoutX="22.0" layoutY="21.0" prefWidth="808.0" spacing="10.0" AnchorPane.leftAnchor="22.0" AnchorPane.rightAnchor="300.0" AnchorPane.topAnchor="22.0">
<children>
<Label fx:id="lblTitle" minHeight="-Infinity" prefHeight="29.0" text="Spider-Man: A New Universe" textFill="#ecebed">
<font>
<Font name="System Bold" size="24.0" />
</font>
</Label>
<Label fx:id="lblYear" alignment="CENTER" maxHeight="-Infinity" minHeight="-Infinity" minWidth="71.0" prefHeight="29.0" text="(2018)" textFill="#ecebed">
<font>
<Font size="24.0" />
</font>
</Label>
</children>
</HBox>
<HBox alignment="CENTER_LEFT" layoutY="71.0" spacing="10.0" AnchorPane.leftAnchor="22.0" AnchorPane.topAnchor="80.0">
<children>
<HBox alignment="CENTER_LEFT">
<children>
<Label fx:id="lblScore" text="Wertung: 80%" textFill="#ecebed">
<font>
<Font size="15.0" />
</font></Label>
</children>
<padding>
<Insets right="20.0" />
</padding>
</HBox>
<JFXButton fx:id="btnWishlist" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onAction="#btnWishlistAction" prefHeight="40.0" prefWidth="40.0" style="-fx-background-color: #ffffff; -fx-background-radius: 40px;" text="List">
<graphic>
<ImageView fx:id="wishlistIcon" fitHeight="32.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../icons/baseline_list_black_48dp.png" />
</image>
</ImageView>
</graphic></JFXButton>
<JFXButton fx:id="btnFavourite" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onAction="#btnFavouriteAction" prefHeight="40.0" prefWidth="40.0" style="-fx-background-color: #ffffff; -fx-background-radius: 40px;" text="Fav">
<graphic>
<ImageView fx:id="favoriteIcon" fitHeight="32.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../icons/baseline_favorite_border_black_48dp.png" />
</image>
</ImageView>
</graphic></JFXButton>
</children>
</HBox>
<TextFlow layoutX="22.0" layoutY="150.0" lineSpacing="1.0" prefHeight="200.0" AnchorPane.leftAnchor="22.0" AnchorPane.rightAnchor="300.0" AnchorPane.topAnchor="130.0">
<children>
<Text fx:id="textPlot" fill="#ecebed" strokeType="OUTSIDE" strokeWidth="0.0" text="Handlung Miles Morales wurde von einer genetisch veränderten Spinne gebissen. Das macht ihn schnell zum neuen Spider-Man mit den bekannten Fähigkeiten. Aber Miles ist ein Teenager ohne Ahnung von der verantwortungsvollen Nutzung seiner eigenen Kräfte. Doch Hilfe naht, denn durch eine scheinbar zufällig auftretende Verkettung mehrerer Paralleluniversen trifft Miles auf Spider-Man aka Peter Parker und dieser unterweist ihn in den neuen Superkräften und überträgt ihm Verantwortung. Während beide einen Reifeprozess durchmachen, der eine als Schüler, der andere als Lehrer, treffen immer mehr Superhelden mit ähnlichen Kräften ein - ihre bösen Gegenspieler aber auch ...">
<font>
<Font size="15.0" />
</font>
</Text>
</children>
</TextFlow>
<Label fx:id="lblCrew" layoutX="31.0" layoutY="346.0" text="Haupt-Crew" textFill="#ecebed" AnchorPane.leftAnchor="22.0" AnchorPane.topAnchor="350.0">
<font>
<Font size="20.0" />
</font></Label>
<HBox layoutX="22.0" layoutY="372.0" spacing="30.0" AnchorPane.leftAnchor="22.0" AnchorPane.rightAnchor="300.0" AnchorPane.topAnchor="380.0">
<children>
<VBox spacing="3.0">
<children>
<Label fx:id="lblDirectors" maxWidth="200.0" text="Rodney Rothman" textFill="#ecebed">
<font>
<Font name="System Bold" size="15.0" />
</font></Label>
<Label fx:id="lblDirectorsInfo" text="Directors" textFill="#ecebed">
<font>
<Font size="14.0" />
</font></Label>
</children>
</VBox>
<VBox spacing="3.0">
<children>
<Label fx:id="lblWriters" maxWidth="300.0" text="Rodney Rothman" textFill="#ecebed">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="lblWritersInfo" text="Writers" textFill="#ecebed">
<font>
<Font size="14.0" />
</font>
</Label>
</children>
</VBox>
<VBox spacing="3.0">
<children>
<Label fx:id="lblActors" maxWidth="300.0" text="Rodney Rothman" textFill="#ecebed">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="lblActorsInfo" text="Actors" textFill="#ecebed">
<font>
<Font size="14.0" />
</font>
</Label>
</children>
</VBox>
</children>
</HBox>
<Label fx:id="lblInfo" layoutX="22.0" layoutY="433.0" text="Info" textFill="#ecebed" AnchorPane.leftAnchor="22.0" AnchorPane.topAnchor="440.0">
<font>
<Font size="20.0" />
</font>
</Label>
<HBox layoutX="22.0" layoutY="464.0" spacing="30.0" AnchorPane.leftAnchor="22.0" AnchorPane.rightAnchor="300.0" AnchorPane.topAnchor="470.0">
<children>
<VBox spacing="3.0">
<children>
<Label fx:id="lblRuntimeInfo" text="Runtime" textFill="#ecebed">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="lblRuntime" text="1h 52m" textFill="#ecebed">
<font>
<Font size="14.0" />
</font>
</Label>
</children>
</VBox>
<VBox spacing="3.0">
<children>
<Label fx:id="lblLanguageInfo" text="Original Language" textFill="#ecebed">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="lblLanguage" text="English" textFill="#ecebed">
<font>
<Font size="14.0" />
</font>
</Label>
</children>
</VBox>
<VBox spacing="3.0">
<children>
<Label fx:id="lblRevenueInfo" text="Revenue" textFill="#ecebed">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="lblRevenue" text="\$375,450,417.00" textFill="#ecebed">
<font>
<Font size="14.0" />
</font>
</Label>
</children>
</VBox>
<VBox spacing="3.0">
<children>
<Label fx:id="lblRatingInfo" text="Rating" textFill="#ecebed">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="lblRating" text="PG" textFill="#ecebed">
<font>
<Font size="14.0" />
</font>
</Label>
</children>
</VBox>
</children>
</HBox>
<JFXButton fx:id="btnHide" contentDisplay="GRAPHIC_ONLY" layoutX="537.0" layoutY="518.0" maxHeight="-Infinity" minWidth="-Infinity" onAction="#btnHideAction" prefHeight="32.0" style="-fx-background-color: transparent;" text="Hide" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="530.0" AnchorPane.rightAnchor="530.0">
<graphic>
<ImageView pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../icons/baseline_keyboard_arrow_down_white_48dp.png" />
</image>
</ImageView>
</graphic>
</JFXButton>
<ImageView fx:id="imgPoster" fitHeight="400.0" fitWidth="267.0" layoutX="849.0" layoutY="14.0" pickOnBounds="true" preserveRatio="true" AnchorPane.rightAnchor="22.0" AnchorPane.topAnchor="22.0">
<image>
<Image url="@../icons/spider-man.jpg" />
</image>
</ImageView>
<JFXButton fx:id="btnPlay" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" layoutX="841.0" layoutY="448.0" maxHeight="-Infinity" onAction="#btnPlayAction" prefHeight="32.0" prefWidth="267.0" style="-fx-background-color: #ffffff;" text="Play" AnchorPane.rightAnchor="22.0" AnchorPane.topAnchor="448.0">
<graphic>
<ImageView fitHeight="24.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../icons/baseline_play_arrow_black_48dp.png" />
</image>
<viewport>
<Rectangle2D />
</viewport>
</ImageView>
</graphic></JFXButton>
<JFXButton fx:id="btnDirectory" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" layoutX="841.0" layoutY="506.0" maxHeight="-Infinity" onAction="#btnDirectoryAction" prefHeight="32.0" prefWidth="267.0" style="-fx-background-color: #ffffff;" text="open Directory" AnchorPane.rightAnchor="22.0" AnchorPane.topAnchor="506.0">
<graphic>
<ImageView fitHeight="24.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../icons/baseline_folder_black_48dp.png" />
</image>
</ImageView>
</graphic>
</JFXButton>
</children>
</AnchorPane>