Merge pull request #2 from Kaabp/Test

Test
main
Kaabp 5 years ago committed by GitHub
commit c4ea752682
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -927,7 +927,7 @@
<inspection_tool class="DuplicatedBeanNamesInspection" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="DuplicatedCode" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<Languages>
<language minSize="79" name="Java" />
<language minSize="90" name="Java" />
</Languages>
</inspection_tool>
<inspection_tool class="DuplicatedDataProviderNames" enabled="true" level="ERROR" enabled_by_default="true" />
@ -1656,7 +1656,7 @@
<option name="IGNORE_JAVADOC_PERIOD" value="true" />
<option name="IGNORE_DUPLICATED_THROWS" value="false" />
<option name="IGNORE_POINT_TO_ITSELF" value="false" />
<option name="myAdditionalJavadocTags" value="" />
<option name="myAdditionalJavadocTags" value="version" />
</inspection_tool>
<inspection_tool class="JavaFxColorRgb" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="JavaFxDefaultTag" enabled="true" level="WARNING" enabled_by_default="true" />
@ -2268,7 +2268,7 @@
<inspection_tool class="RSIncorrectMimeTypeReference" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="RandomDoubleForRandomInteger" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="RawTypeCanBeGeneric" enabled="true" level="INFORMATION" enabled_by_default="true" />
<inspection_tool class="RawUseOfParameterizedType" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="RawUseOfParameterizedType" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="ReactiveStreamsNullableInLambdaInTransform" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="ReactiveStreamsPublisherImplementation" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="ReactiveStreamsSubscriberImplementation" enabled="true" level="WARNING" enabled_by_default="true" />

@ -1,6 +1,22 @@
/* css */
/* Author Lukas Martin */
.buttonMenu {
-fx-background-color: #252530;
-fx-text-fill: white;
-fx-font-size: 14;
}
.buttonMenu:hover {
-fx-text-fill: grey;
}
.buttonTopBarMenus {
-fx-background-color: #252530;
-fx-text-fill: white;
}
.buttonTopBarMenus:hover {
-fx-text-fill: grey;
}
#borderpane {
-fx-background-color: #252526;
}
@ -34,7 +50,18 @@
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0.5px 0.5px;
}
#buttonStammbaum {
#optionPane {
-fx-background-color: #252530;
-fx-text-fill: white;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0.5px 0.5px;
}
#VboxOption0 {
-fx-background-color: #252530;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0px 0px;
}
#VboxOption1 {
-fx-background-color: #252530;
-fx-border-color: #6b6868;
-fx-border-width: 0.5px 0.5px 0.5px 0px;
}

@ -48,28 +48,6 @@
<BorderPane id="borderpane" layoutX="162.0" layoutY="64.0" prefHeight="200.0" prefWidth="200.0" stylesheets="@home.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<top>
<BorderPane prefHeight="0.0" prefWidth="1280.0" BorderPane.alignment="CENTER">
<top>
<HBox id="topbar" fx:id="hboxmen" alignment="TOP_RIGHT" onMouseDragged="#dragged" onMouseEntered="#topBarEntered" onMousePressed="#pressed" prefHeight="25.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<FontAwesomeIcon fill="WHITE" iconName="MINUS" onMouseClicked="#min" textAlignment="CENTER" translateY="2.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="#86ff6b" iconName="CIRCLE" onMouseClicked="#max" textAlignment="CENTER" translateY="1.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="RED" iconName="CLOSE" onMouseClicked="#close" scaleX="1.2" scaleY="1.2" scaleZ="1.2" selectionFill="#f20000" size="1.1em" textAlignment="CENTER">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<padding>
<Insets bottom="2.0" left="5.0" right="5.0" top="2.0" />
</padding>
</HBox>
</top>
<center>
<HBox id="men" prefHeight="25.0" prefWidth="1920.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<Label id="menubutton" onMouseClicked="#menuOpenClicked" onMouseEntered="#menuOpenEntered" stylesheets="@home.css" text="Menu" textAlignment="CENTER" textFill="WHITE" translateX="10.0">
@ -87,8 +65,51 @@
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseEntered="#borderLabelEntered" prefHeight="27.0" prefWidth="18.0" stylesheets="@home.css" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
<opaqueInsets>
<Insets />
</opaqueInsets>
</Label>
</HBox>
</center>
<top>
<BorderPane id="topbar" fx:id="hboxmen" onMouseDragged="#dragged" onMouseEntered="#topBarEntered" onMousePressed="#pressed" prefHeight="25.0" prefWidth="1280.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<right>
<HBox id="topbar" alignment="TOP_RIGHT" prefHeight="25.0" prefWidth="678.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<FontAwesomeIcon fill="WHITE" iconName="MINUS" onMouseClicked="#min" textAlignment="CENTER" translateY="2.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="#86ff6b" iconName="CIRCLE" onMouseClicked="#max" textAlignment="CENTER" translateY="1.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="RED" iconName="CLOSE" onMouseClicked="#close" scaleX="1.2" scaleY="1.2" scaleZ="1.2" selectionFill="#f20000" size="1.1em" textAlignment="CENTER">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<padding>
<Insets bottom="2.0" left="5.0" right="5.0" top="2.0" />
</padding>
</HBox>
</right>
<left>
<HBox id="topbar" prefHeight="29.0" prefWidth="592.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<Label id="topbartext" stylesheets="@home.css" text="Genealogie" textFill="WHITE">
<padding>
<Insets bottom="5.0" left="10.0" right="5.0" top="6.0" />
</padding>
</Label>
</HBox>
</left>
</BorderPane>
</top>
</BorderPane>
</top>
<center>
@ -100,10 +121,27 @@
</font>
</Text>
<VBox id="menuslide" fx:id="menuslideV" prefHeight="622.0" prefWidth="200.0" stylesheets="@home.css" visible="false">
<JFXListCell id="buttonStammbaum" fx:id="buttonStammbaum" onMouseClicked="#buttonStammbaumClicked" prefHeight="33.0" prefWidth="208.0" stylesheets="@home.css" text="Stammbaum" textFill="WHITE" />
<Label prefHeight="20.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" />
<JFXListCell id="buttonStammbaum" fx:id="buttonStammbaum" onMouseClicked="#buttonStammbaumClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Stammbaum" textFill="WHITE" />
<JFXListCell id="buttonPeople" fx:id="buttonPeople" onMouseClicked="#buttonPeopleClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="People" textFill="WHITE" />
<JFXListCell id="buttonPictrues" fx:id="buttonPictures" onMouseClicked="#buttonPicturesClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Pictures" textFill="WHITE" />
<JFXListCell id="buttonResearch" fx:id="buttoResearch" onMouseClicked="#buttonResearchClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Research " textFill="WHITE" />
<JFXListCell id="buttonMoney" fx:id="buttonMoney" onMouseClicked="#buttonMoneyClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Money" textFill="WHITE" />
<JFXListCell id="buttonOptions" fx:id="buttonOptions" onMouseClicked="#buttonOptionsClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Optionen" textFill="WHITE" />
</VBox>
<VBox id="filesmenu" fx:id="filesmenu" layoutX="57.0" onMouseExited="#filesOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@home.css" visible="false" />
<VBox id="filesmenu" fx:id="optionsmenu" layoutX="94.0" onMouseExited="#optionsOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@home.css" visible="false" />
<BorderPane id="optionPane" fx:id="optionsmenu" layoutX="91.0" onMouseEntered="#optionPaneEntered" onMouseExited="#optionPaneExited" prefHeight="245.0" prefWidth="148.0" visible="false">
<center>
<VBox id="VboxOption0" prefHeight="250.0" prefWidth="150.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" prefHeight="30.0" prefWidth="152.0" styleClass="buttonTopBarMenus" stylesheets="@home.css" text="Prefrences" />
</VBox>
</center>
<bottom>
<VBox id="VboxOption1" prefHeight="30.0" prefWidth="147.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" onMouseClicked="#optionsTopMenuPrefrenceButton" prefHeight="33.0" prefWidth="184.0" styleClass="buttonTopBarMenus" stylesheets="@home.css" text="Prefrences" />
</VBox>
</bottom>
</BorderPane>
</Pane>
</AnchorPane>
</center>

@ -0,0 +1,59 @@
/* css */
/* Author Lukas Martin */
.background {
-fx-background-color: #252530;
}
.topbar {
-fx-background-color: #0b111a;
}
.menu {
-fx-border-color: #6b6868;
-fx-border-width: 0px 0px 0.5px 0px;
}
#lefttopbar {
}
#righttopbar {
}
#leftPane {
-fx-border-color: #6b6868;
-fx-border-width: 0.5px 0.5px 0.5px 0.5px;
}
#centrePane {
}
#submitButton {
}
#nicknameLabel {
-fx-border-color: #6b6868;
-fx-border-width: 0px 0px 0.5px 0px;
}
#nickNamePane {
-fx-border-color: #6b6868;
-fx-border-width: 0px 0px 0.5px 0px;
}
#nicknameField {
-fx-background-color: #252533;
-fx-border-color: #6b6868;
-fx-border-width: 0.5px 0.5px 0.5px 0.5px;
-fx-text-fill: white;
-fx-border-radius: 8 8 8 8;
-fx-background-radius: 8 8 8 8;
}
#menuName1Pane {
}
#menu1MainPane {
}

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon?>
<?import java.lang.String?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<AnchorPane prefHeight="400.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.prefrenceController">
<BorderPane id="backgroundBorderPane" layoutX="67.0" layoutY="54.0" prefHeight="200.0" prefWidth="200.0" styleClass="background" stylesheets="@prefrence.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<top>
<BorderPane onMouseDragged="#dragged" onMousePressed="#pressed" prefHeight="25.0" prefWidth="600.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<left>
<HBox id="lefttopbar" prefHeight="25.0" prefWidth="368.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<opaqueInsets>
<Insets />
</opaqueInsets>
<Label text="Prefrences" textFill="WHITE">
<padding>
<Insets left="10.0" top="4.0" />
</padding>
</Label>
</HBox>
</left>
<right>
<HBox id="lefttopbar" alignment="CENTER_RIGHT" prefHeight="25.0" prefWidth="230.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<opaqueInsets>
<Insets />
</opaqueInsets>
<padding>
<Insets bottom="2.0" left="5.0" right="5.0" top="2.0" />
</padding>
<FontAwesomeIcon fill="#f20000" iconName="CLOSE" onMousePressed="#closeButtonClicked" scaleX="1.1" scaleY="1.1" scaleZ="1.1" selectionEnd="0" selectionFill="#f20000" />
</HBox>
</right>
</BorderPane>
</top>
<center>
<BorderPane prefHeight="380.0" prefWidth="800.0" BorderPane.alignment="CENTER">
<top>
<VBox prefHeight="376.0" prefWidth="800.0" BorderPane.alignment="CENTER">
<Pane prefHeight="10.0" prefWidth="800.0"/>
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@prefrence.css">
<styleClass>
<String fx:value="background"/>
<String fx:value="menu"/>
</styleClass>
<Label alignment="CENTER" layoutX="354.0" layoutY="1.0" stylesheets="@prefrence.css"
text="Personalisieren" textFill="WHITE">
<font>
<Font size="14.0"/>
</font>
</Label>
</Pane>
<Pane id="menu1MainPane" prefHeight="150.0" prefWidth="800.0" styleClass="background"
stylesheets="@prefrence.css">
<HBox prefHeight="150.0" prefWidth="800.0" stylesheets="@prefrence.css">
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css">
<Label layoutX="104.0" layoutY="14.0" text="Nickname" textFill="WHITE"/>
<TextField id="nicknameField" layoutX="34.0" layoutY="32.0" prefHeight="26.0"
prefWidth="200.0" stylesheets="@prefrence.css"/>
<Label layoutX="84.0" layoutY="90.0" text="Vor &amp; Nachname" textFill="WHITE"/>
<TextField id="nicknameField" layoutX="34.0" layoutY="109.0" prefHeight="26.0"
prefWidth="200.0" stylesheets="@prefrence.css"/>
</Pane>
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css">
<Label layoutX="114.0" layoutY="14.0" text="Design" textFill="WHITE"/>
</Pane>
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css"/>
</HBox>
</Pane>
<Pane prefHeight="13.0" prefWidth="800.0"/>
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@prefrence.css">
<styleClass>
<String fx:value="background"/>
<String fx:value="menu"/>
</styleClass>
<Label alignment="CENTER" layoutX="382.0" layoutY="2.0" stylesheets="@prefrence.css"
text="Other" textFill="WHITE">
<font>
<Font size="14.0"/>
</font>
</Label>
</Pane>
<Pane prefHeight="159.0" prefWidth="800.0">
<HBox prefHeight="162.0" prefWidth="800.0" styleClass="background"
stylesheets="@prefrence.css"/>
</Pane>
</VBox>
</top>
</BorderPane>
</center></BorderPane>
</AnchorPane>

@ -1,40 +0,0 @@
/* css */
/* Author Lukas Martin */
#borderpane {
-fx-background-color: #252526;
}
#topbar {
-fx-background-color: #0b111a;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0px 0.5px 0px;
}
#men {
-fx-background-color: #252530;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0.5px 0.5px;
}
#menuslide {
-fx-background-color: #252530;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0.5px 0.5px;
border-top: none;
}
#menubutton {
-fx-text-fill: white;
}
#menubutton:hover {
-fx-text-fill: grey;
}
#panehome {
-fx-background-color: #252526;
}
#filesmenu {
-fx-background-color: #252530;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0.5px 0.5px;
}
#buttonStammbaum {
-fx-background-color: #252530;
-fx-text-fill: white;
}

@ -1,111 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2015, 2019, Gluon and/or its affiliates.
All rights reserved. Use is subject to license terms.
This file is available and licensed under the following license:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
- Neither the name of Oracle Corporation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<?import com.jfoenix.controls.JFXListCell?>
<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onKeyPressed="#pressedkey" prefHeight="680.0" prefWidth="1280.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.stammbaumController">
<BorderPane id="borderpane" layoutX="162.0" layoutY="64.0" prefHeight="200.0" prefWidth="200.0" stylesheets="@stammbaum.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<top>
<BorderPane prefHeight="0.0" prefWidth="1280.0" BorderPane.alignment="CENTER">
<top>
<HBox id="topbar" fx:id="hboxmen" alignment="TOP_RIGHT" onMouseDragged="#dragged" onMouseEntered="#topBarEntered" onMousePressed="#pressed" prefHeight="25.0" stylesheets="@stammbaum.css" BorderPane.alignment="CENTER">
<FontAwesomeIcon fill="WHITE" iconName="MINUS" onMouseClicked="#min" textAlignment="CENTER" translateY="2.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="#86ff6b" iconName="CIRCLE" onMouseClicked="#max" textAlignment="CENTER" translateY="1.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="RED" iconName="CLOSE" onMouseClicked="#close" scaleX="1.2" scaleY="1.2" scaleZ="1.2" selectionFill="#f20000" size="1.1em" textAlignment="CENTER">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<padding>
<Insets bottom="2.0" left="5.0" right="5.0" top="2.0" />
</padding>
</HBox>
</top>
<center>
<HBox id="men" prefHeight="25.0" prefWidth="1920.0" stylesheets="@stammbaum.css" BorderPane.alignment="CENTER">
<Label id="menubutton" onMouseClicked="#menuOpenClicked" onMouseEntered="#menuOpenEntered" stylesheets="@stammbaum.css" text="Menu" textAlignment="CENTER" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseClicked="#filesButtonClicked" onMouseEntered="#filesButtonEntred" stylesheets="@stammbaum.css" text="Files" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseClicked="#optionButtonClicked" onMouseEntered="#optionButtonEntered" stylesheets="@stammbaum.css" text="Options" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
</HBox>
</center>
</BorderPane>
</top>
<center>
<AnchorPane onMouseClicked="#bodyOnClick" onMouseEntered="#bodyMouseEntred" prefHeight="627.0" prefWidth="1135.0" BorderPane.alignment="CENTER">
<Pane id="panehome" stylesheets="@stammbaum.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<Text fill="WHITE" layoutX="444.0" layoutY="322.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Stammbaum und so, lol.">
<font>
<Font size="30.0" />
</font>
</Text>
<VBox id="menuslide" fx:id="menuslideV" prefHeight="622.0" prefWidth="200.0" stylesheets="@stammbaum.css" visible="false">
<JFXListCell id="buttonStammbaum" fx:id="buttonStammbaum" onMouseClicked="#buttonMenuClicked" prefHeight="33.0" prefWidth="208.0" stylesheets="@stammbaum.css" text="Menu" textFill="WHITE" />
</VBox>
<VBox id="filesmenu" fx:id="filesmenu" layoutX="57.0" onMouseExited="#filesOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@stammbaum.css" visible="false" />
<VBox id="filesmenu" fx:id="optionsmenu" layoutX="94.0" onMouseExited="#optionsOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@stammbaum.css" visible="false" />
</Pane>
</AnchorPane>
</center>
</BorderPane>
</AnchorPane>

@ -1,37 +1,43 @@
package controller;
import com.jfoenix.controls.JFXListCell;
import helper.menuCloser;
import helper.windowOpener;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.geometry.Rectangle2D;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.HBox;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.VBox;
import javafx.stage.Screen;
import javafx.stage.Stage;
import helper.menuCloser;
import javafx.stage.StageStyle;
import java.io.IOException;
/**
* @author Lukas Martin
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
*/
public class homeController {
//Helper
menuCloser mCloser = new menuCloser(); //menu closer
Boolean sliderClicked = false; //Menu slider activated
windowOpener wOpener = new windowOpener(); //window opener
//Menu slider
@FXML private JFXListCell buttonStammbaum; //Button Stammbaum
@FXML private JFXListCell buttonPeople; //Button People
@FXML private JFXListCell buttonPictures; //Button Pictrues
@FXML private JFXListCell buttonMoney; //Button Money
@FXML private JFXListCell buttoResearch; //Button Research
@FXML private JFXListCell buttonOptions; //Button Options
@FXML private VBox filesmenu; //Files Menu Slider
@FXML private HBox hboxmen; //Unused
@FXML private VBox optionsmenu; //Options Menu Button
@FXML private BorderPane hboxmen; //Unused
@FXML private BorderPane optionsmenu; //Options Menu Button
@FXML private VBox menuslideV; //Menu slider
@ -90,8 +96,8 @@ public class homeController {
//Top Bar
public void topBarEntered(MouseEvent mouseEvent) {
filesmenu.setVisible(false);
optionsmenu.setVisible(false);
filesmenu.setVisible(false); //Disables filesmenu
optionsmenu.setVisible(false); //Disables optionsmenu
}
@ -143,12 +149,6 @@ public class homeController {
}
//Options Slieder Exit
public void optionsOpenPaneExited(MouseEvent mouseEvent) { //Options Slieder Exit
optionsmenu.setVisible(false); //Option Slider Deactivated
}
//Option Button Clicked
public void optionButtonClicked(MouseEvent mouseEvent) { ///Option Button Clicked
sliderClicked = true; //Buttons Activated
@ -156,6 +156,32 @@ public class homeController {
}
//Options Menu Opened Prefrence Button Clicked
public void optionsTopMenuPrefrenceButton(MouseEvent mouseEvent) throws IOException {
wOpener.newWindow("/resources/prefrence.fxml", "Prefrences", StageStyle.UNDECORATED,800, 400);
optionsmenu.setVisible(false); //Deactivates option slider
}
//Option Pane Entered
public void optionPaneEntered(MouseEvent mouseEvent) {
optionsmenu.setVisible(true); //Activates the optionmenu
}
//Option Pane Exited
public void optionPaneExited(MouseEvent mouseEvent) {
optionsmenu.setVisible(false); //Deactivates the optionmenu
}
//Label Border
public void borderLabelEntered(MouseEvent mouseEvent) {
optionsmenu.setVisible(false); //Deactivates the optionmenu
}
//Body Clicked
public void bodyOnClick(MouseEvent mouseEvent) { //Body Clicked (Anchor Pane)
sliderClicked = false; //Disables the buttons
@ -169,16 +195,33 @@ public class homeController {
//Stammbaum Button Clicked
public void buttonStammbaumClicked(MouseEvent mouseEvent) throws IOException { //Stammbaum button clicked
Stage stage = (Stage) ((Node) mouseEvent.getSource()).getScene().getWindow(); //Gets the current windows
Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds(); //Gets the monitor size
Parent stammbaum = FXMLLoader.load(getClass().getResource("/resources/stammbaum.fxml")); //Gets the resource stammbaum
stage.setScene(new Scene(stammbaum, 1920, 1080)); //Sets the Scene
stage.centerOnScreen(); //Centeres the Screen
stage.setX(primaryScreenBounds.getMinX()); //Sets the windows x cord to 0
stage.setY(primaryScreenBounds.getMinY()); //Sets the windows y cord to 0
stage.setWidth(primaryScreenBounds.getWidth()); //Sets the windows width to the max width of the monitor
stage.setHeight(primaryScreenBounds.getHeight()); //Sets the windows height to the max height of the monitor
stage.show(); //Opens the given Scene
public void buttonStammbaumClicked(MouseEvent mouseEvent) { //Stammbaum button clicked
//wOpener.newMainWindow("/resources/stammbaum.fxml", "Stammbaum", 1920, 1080, mouseEvent);
}
//People Button Clicked
public void buttonPeopleClicked(MouseEvent mouseEvent) {
}
//Pictures Button Clicked
public void buttonPicturesClicked(MouseEvent mouseEvent) {
}
//Stammbaum Research Clicked
public void buttonResearchClicked(MouseEvent mouseEvent) {
}
//Money Button Clicked
public void buttonMoneyClicked(MouseEvent mouseEvent) {
}
//Options Button Clicked
public void buttonOptionsClicked(MouseEvent mouseEvent) {
}
}

@ -0,0 +1,40 @@
package controller;
import javafx.scene.Node;
import javafx.scene.input.MouseEvent;
import javafx.stage.Stage;
/**
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
*/
public class prefrenceController {
//Const
double x,y;
//Menu Top Bar pressed
public void pressed(MouseEvent mouseEvent) {
x = mouseEvent.getSceneX(); //Gets the x cord
y = mouseEvent.getSceneY();
}
//Menu Top Bar dragg
public void dragged(MouseEvent mouseEvent) {
Stage stage = (Stage) ((Node) mouseEvent.getSource()).getScene().getWindow(); //Gets the current window
if(!stage.isFullScreen()) { //Checks if the window is != fullscreen
stage.setX(mouseEvent.getScreenX() - x); //Sets the new screen cords x while dragging
stage.setY(mouseEvent.getScreenY() - y); //Sets the new screen cords y while dragging
}
}
//Close Button
public void closeButtonClicked(MouseEvent mouseEvent) {
Stage stage = (Stage) ((Node) mouseEvent.getSource()).getScene().getWindow(); //Gets the current window
stage.close(); //Closes the window
}
}

@ -1,181 +0,0 @@
package controller;
import com.jfoenix.controls.JFXListCell;
import helper.menuCloser;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.geometry.Rectangle2D;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.stage.Screen;
import javafx.stage.Stage;
import java.io.IOException;
/**
* @author Lukas Martin
*/
public class stammbaumController {
menuCloser mCloser = new menuCloser(); //menu closer
Boolean sliderClicked = false; //Menu slider activated
//Menu slider
@FXML private JFXListCell buttonStammbaum; //Button Stammbaum
@FXML private VBox filesmenu; //Files Menu Slider
@FXML private HBox hboxmen; //Unused
@FXML private VBox optionsmenu; //Options Menu Button
@FXML private VBox menuslideV; //Menu slider
//coordinates
double x,y; //x and y coordinates from monitor
//top menu
public void dragged(MouseEvent mouseEvent) { //Window dragging
Stage stage = (Stage) ((Node) mouseEvent.getSource()).getScene().getWindow(); //Gets the current window
if(!stage.isFullScreen()) { //Checks if the window is != fullscreen
stage.setX(mouseEvent.getScreenX() - x); //Sets the new screen cords x while dragging
stage.setY(mouseEvent.getScreenY() - y); //Sets the new screen cords y while dragging
}
}
//top menu
public void pressed(MouseEvent mouseEvent) { //For window drag
x = mouseEvent.getSceneX(); //Gets the x cord
y = mouseEvent.getSceneY(); //Gets the y cord
}
//minus button
public void min(MouseEvent mouseEvent) {
Stage stage = (Stage) ((Node) mouseEvent.getSource()).getScene().getWindow(); //Gets the current window
stage.setIconified(true); //Put windows into the background
}
//circle button
public void max(MouseEvent mouseEvent) { //Max Button
Stage stage = (Stage) ((Node) mouseEvent.getSource()).getScene().getWindow(); //Gets the current windows
Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds(); //Gets the screen sizes
if(stage.getWidth() == 1280) { //Checks if windows width is ==
stage.setX(primaryScreenBounds.getMinX()); //Sets the windows x cord to 0
stage.setY(primaryScreenBounds.getMinY()); //Sets the windows y cord to 0
stage.setWidth(primaryScreenBounds.getWidth()); //Sets the windows width to the max width of the monitor
stage.setHeight(primaryScreenBounds.getHeight()); //Sets the windows height to the max height of the monitor
} else if(stage.getWidth() != 1280) { //Checks if windows width is !=
stage.setHeight(680); //Sets window height
stage.setWidth(1280); //Sets window width
stage.centerOnScreen(); //Centers the current window
}
}
//close button
public void close(MouseEvent mouseEvent) { //Close Button
Stage stage = (Stage) ((Node) mouseEvent.getSource()).getScene().getWindow(); //Gets the current windows
stage.close(); //Closes the current windows and therefore the program
}
//Top Bar
public void topBarEntered(MouseEvent mouseEvent) {
filesmenu.setVisible(false);
optionsmenu.setVisible(false);
}
//Border Pane !!! NOT WORKING !!!
public void pressedkey(KeyEvent keyEvent) {
Stage stage = (Stage) ((Node) keyEvent.getSource()).getScene().getWindow(); //Gets the current windows
if(keyEvent.getCode() == KeyCode.F11) {
stage.setFullScreen(!stage.isFullScreen());
}
}
//Menu Slider Button
public void menuOpenClicked(MouseEvent mouseEvent) { //Menu Button Click
mCloser.openMenu(menuslideV, filesmenu, optionsmenu, true); //Opens first given menu and closes the others
Stage stage = (Stage) ((Node) mouseEvent.getSource()).getScene().getWindow(); //Gets the current windows
menuslideV.prefHeightProperty().bind(stage.heightProperty()); //Bind the menu height to the current window height.
}
//Menu Slider Button Entered
public void menuOpenEntered(MouseEvent mouseEvent) { //Menu Slider Button Entered
filesmenu.setVisible(false); //Deactivates filesmenu
}
//Files Slieder Button
public void filesButtonEntred(MouseEvent mouseEvent) { //Files Menu Button Click
mCloser.openMenu(filesmenu, optionsmenu, sliderClicked); //Opens first given menu and closes the others
}
//Files Slider Exit
public void filesOpenPaneExited(MouseEvent mouseEvent) { //Files Menu Buttpn Exit
filesmenu.setVisible(false); //Files Menu Disable
}
//Files Button Clicked
public void filesButtonClicked(MouseEvent mouseEvent) { //Files Button Clicked
sliderClicked = true; //Buttons Activated
mCloser.openMenu(filesmenu, optionsmenu, true); //Opens first given menu and closes the others
}
//Option slieder Entered
public void optionButtonEntered(MouseEvent mouseEvent) { //Option Slider Entered
mCloser.openMenu(optionsmenu, filesmenu, sliderClicked); //Opens first given menu and closes the others
}
//Options Slieder Exit
public void optionsOpenPaneExited(MouseEvent mouseEvent) { //Options Slieder Exit
optionsmenu.setVisible(false); //Option Slider Deactivated
}
//Option Button Clicked
public void optionButtonClicked(MouseEvent mouseEvent) { ///Option Button Clicked
sliderClicked = true; //Buttons Activated
mCloser.openMenu(optionsmenu, filesmenu, true); //Opens first given menu and closes the others
}
//Body Clicked
public void bodyOnClick(MouseEvent mouseEvent) { //Body Clicked (Anchor Pane)
sliderClicked = false; //Disables the buttons
}
//Body Mouse Entered
public void bodyMouseEntred(MouseEvent mouseEvent) { //Body Mouse Entered
optionsmenu.setVisible(false); //Deactivates optionmenu
}
//Menu Button Clicked
public void buttonMenuClicked(MouseEvent mouseEvent) throws IOException { //Menu button clicked event
Stage stage = (Stage) ((Node) mouseEvent.getSource()).getScene().getWindow(); //Gets the current windows
Parent home = FXMLLoader.load(getClass().getResource("/resources/home.fxml")); //Gets the Scene
stage.setScene(new Scene(home, 1280, 680)); //Sets the Scene
stage.setWidth(1280); //Sets the width
stage.setHeight(680); //Sets the height
stage.centerOnScreen(); //Centeres the Screen
stage.show(); //Opens the given Scene
}
}

@ -8,7 +8,7 @@ import javafx.stage.Stage;
import javafx.stage.StageStyle;
/**
* @author Lukas Martin
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
*/
public class Main extends Application {

@ -42,9 +42,8 @@ public class ResizeHelper {
}
static class ResizeListener implements EventHandler<MouseEvent> {
private Stage stage;
private final Stage stage;
private Cursor cursorEvent = Cursor.DEFAULT;
private int border = 4;
private double startX = 0;
private double startY = 0;
@ -62,7 +61,8 @@ public class ResizeHelper {
sceneWidth = scene.getWidth(),
sceneHeight = scene.getHeight();
if (MouseEvent.MOUSE_MOVED.equals(mouseEventType) == true) {
int border = 4;
if (MouseEvent.MOUSE_MOVED.equals(mouseEventType)) {
if (mouseEventX < border && mouseEventY < border) {
cursorEvent = Cursor.NW_RESIZE;
} else if (mouseEventX < border && mouseEventY > sceneHeight - border) {
@ -85,14 +85,14 @@ public class ResizeHelper {
scene.setCursor(cursorEvent);
} else if(MouseEvent.MOUSE_EXITED.equals(mouseEventType) || MouseEvent.MOUSE_EXITED_TARGET.equals(mouseEventType)){
scene.setCursor(Cursor.DEFAULT);
} else if (MouseEvent.MOUSE_PRESSED.equals(mouseEventType) == true) {
} else if (MouseEvent.MOUSE_PRESSED.equals(mouseEventType)) {
startX = stage.getWidth() - mouseEventX;
startY = stage.getHeight() - mouseEventY;
} else if (MouseEvent.MOUSE_DRAGGED.equals(mouseEventType) == true) {
if (Cursor.DEFAULT.equals(cursorEvent) == false) {
if (Cursor.W_RESIZE.equals(cursorEvent) == false && Cursor.E_RESIZE.equals(cursorEvent) == false) {
double minHeight = stage.getMinHeight() > (border*2) ? stage.getMinHeight() : (border*2);
if (Cursor.NW_RESIZE.equals(cursorEvent) == true || Cursor.N_RESIZE.equals(cursorEvent) == true || Cursor.NE_RESIZE.equals(cursorEvent) == true) {
} else if (MouseEvent.MOUSE_DRAGGED.equals(mouseEventType)) {
if (!Cursor.DEFAULT.equals(cursorEvent)) {
if (!Cursor.W_RESIZE.equals(cursorEvent) && !Cursor.E_RESIZE.equals(cursorEvent)) {
double minHeight = stage.getMinHeight() > (border *2) ? stage.getMinHeight() : (border *2);
if (Cursor.NW_RESIZE.equals(cursorEvent) || Cursor.N_RESIZE.equals(cursorEvent) || Cursor.NE_RESIZE.equals(cursorEvent)) {
if (stage.getHeight() > minHeight || mouseEventY < 0) {
stage.setHeight(stage.getY() - mouseEvent.getScreenY() + stage.getHeight());
stage.setY(mouseEvent.getScreenY());
@ -104,9 +104,9 @@ public class ResizeHelper {
}
}
if (Cursor.N_RESIZE.equals(cursorEvent) == false && Cursor.S_RESIZE.equals(cursorEvent) == false) {
double minWidth = stage.getMinWidth() > (border*2) ? stage.getMinWidth() : (border*2);
if (Cursor.NW_RESIZE.equals(cursorEvent) == true || Cursor.W_RESIZE.equals(cursorEvent) == true || Cursor.SW_RESIZE.equals(cursorEvent) == true) {
if (!Cursor.N_RESIZE.equals(cursorEvent) && !Cursor.S_RESIZE.equals(cursorEvent)) {
double minWidth = stage.getMinWidth() > (border *2) ? stage.getMinWidth() : (border *2);
if (Cursor.NW_RESIZE.equals(cursorEvent) || Cursor.W_RESIZE.equals(cursorEvent) || Cursor.SW_RESIZE.equals(cursorEvent)) {
if (stage.getWidth() > minWidth || mouseEventX < 0) {
stage.setWidth(stage.getX() - mouseEvent.getScreenX() + stage.getWidth());
stage.setX(mouseEvent.getScreenX());

@ -3,13 +3,18 @@ package helper;
import javafx.scene.layout.Pane;
/**
* @author Lukas Martin
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
* @version 1.1
* @since 11.01
*/
public class menuCloser {
/**
* @param closemenu0 one menu that gets closed
* @author Lukas Martin
* @param <T0> extends {@code Pane}
* @param closemenu0 menu that gets closed
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
* @since 11.01
* @version 1.1
*/
public <T0 extends Pane> void closeOneMenu(T0 closemenu0) {
closemenu0.setVisible(false);
@ -17,9 +22,14 @@ public class menuCloser {
/**
* @param <T0> extends {@code Pane}
* @param <T1> extends {@code Pane}
* @param openmenu the menu that gets opend
* @param closemenu one menu that gets closed
* @author Lukas Martin
* @param canOpen Boolean if the {@code openmenu} should be opend.
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
* @since 11.01
* @version 1.1
*/
public <T0 extends Pane, T1 extends Pane> void openMenu(T0 openmenu, T1 closemenu, Boolean canOpen) {
if (closemenu.isVisible() && canOpen) {
@ -29,10 +39,16 @@ public class menuCloser {
}
/**
* @param <T0> extends {@code Pane}
* @param <T1> extends {@code Pane}
* @param <T2> extends {@code Pane}
* @param openmenu the menu that gets opend
* @param closemenu1 one menu that gets closed
* @param closemenu2 one menu that gets closed
* @author Lukas Martin
* @param canOpen Boolean if the {@code openmenu} should be opend.
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
* @since 11.01
* @version 1.1
*/
public <T0 extends Pane, T1 extends Pane, T2 extends Pane> void openMenu(T0 openmenu, T1 closemenu1, T2 closemenu2, Boolean canOpen) {
if (closemenu1.isVisible() || closemenu2.isVisible() && canOpen) {
@ -43,11 +59,18 @@ public class menuCloser {
}
/**
* @param <T0> extends {@code Pane}
* @param <T1> extends {@code Pane}
* @param <T2> extends {@code Pane}
* @param <T3> extends {@code Pane}
* @param openmenu the menu that gets opend
* @param closemenu1 one menu that gets closed
* @param closemenu2 one menu that gets closed
* @param closemenu3 one menu that gets closed
* @author Lukas Martin
* @param canOpen Boolean if the {@code openmenu} should be opend.
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
* @since 11.01
* @version 1.1
*/
public <T0 extends Pane, T1 extends Pane, T2 extends Pane, T3 extends Pane> void openMenu(T0 openmenu, T1 closemenu1, T2 closemenu2, T3 closemenu3, Boolean canOpen) {
if (closemenu1.isVisible() || closemenu2.isVisible() || closemenu3.isVisible() && canOpen) {

@ -0,0 +1,93 @@
package helper;
import javafx.fxml.FXMLLoader;
import javafx.geometry.Rectangle2D;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Screen;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import java.io.IOException;
import java.util.EventObject;
/**
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
* @version 1.1
* @since 11.01
*/
public class windowOpener {
/**
* @param pathFXML String of fxml file location.
* @param title String of the title.
* @param stageStyle StageStyle will set the style.
* @param width Int for width.
* @param height Int for height.
* @throws IOException Exception if the path {@code pathFXML} is null or not fxml.
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
* @version 1.1
* @since 11.01
*
*/
public void newWindow(String pathFXML, String title, StageStyle stageStyle, Integer width, Integer height) throws IOException {
Stage secStage = new Stage();
if(height == 1080 && width == 1920) {
Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds();
Parent scene = FXMLLoader.load(getClass().getResource(pathFXML));
secStage.setScene(new Scene(scene, width, height));
secStage.setTitle(title);
secStage.centerOnScreen();
secStage.initStyle(stageStyle);
secStage.setX(primaryScreenBounds.getMinX());
secStage.setY(primaryScreenBounds.getMinY());
secStage.setWidth(primaryScreenBounds.getWidth());
secStage.setHeight(primaryScreenBounds.getHeight());
} else {
Parent scene = FXMLLoader.load(getClass().getResource(pathFXML));
secStage.setScene(new Scene(scene, width, height));
secStage.setTitle(title);
secStage.centerOnScreen();
secStage.initStyle(stageStyle);
}
secStage.show();
}
/**
* @param pathFXML String of fxml file location.
* @param title String of the title.
* @param width Int for width.
* @param height Int for height.
* @param eventObject eventObject to get the current {@code Stage}.
* @throws IOException Exception if the path {@code pathFXML} is null or not fxml.
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
* @version 1.1
* @since 11
*/
public void newMainWindow(String pathFXML, String title, int width, int height, EventObject eventObject) throws IOException {
if (height == 1080 && width == 1920) {
Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds();
Stage stage = (Stage) ((Node) eventObject.getSource()).getScene().getWindow();
Parent scene = FXMLLoader.load(getClass().getResource(pathFXML));
stage.setScene(new Scene(scene, width, height));
stage.setTitle(title);
stage.centerOnScreen();
stage.setX(primaryScreenBounds.getMinX());
stage.setY(primaryScreenBounds.getMinY());
stage.setWidth(primaryScreenBounds.getWidth());
stage.setHeight(primaryScreenBounds.getHeight());
stage.show();
} else {
Stage stage = (Stage) ((Node) eventObject.getSource()).getScene().getWindow();
Parent scene = FXMLLoader.load(getClass().getResource(pathFXML));
stage.setScene(new Scene(scene, width, height));
stage.setTitle(title);
stage.centerOnScreen();
stage.show();
}
}
}

@ -1,6 +1,22 @@
/* css */
/* Author Lukas Martin */
.buttonMenu {
-fx-background-color: #252530;
-fx-text-fill: white;
-fx-font-size: 14;
}
.buttonMenu:hover {
-fx-text-fill: grey;
}
.buttonTopBarMenus {
-fx-background-color: #252530;
-fx-text-fill: white;
}
.buttonTopBarMenus:hover {
-fx-text-fill: grey;
}
#borderpane {
-fx-background-color: #252526;
}
@ -34,7 +50,18 @@
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0.5px 0.5px;
}
#buttonStammbaum {
#optionPane {
-fx-background-color: #252530;
-fx-text-fill: white;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0.5px 0.5px;
}
#VboxOption0 {
-fx-background-color: #252530;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0px 0px;
}
#VboxOption1 {
-fx-background-color: #252530;
-fx-border-color: #6b6868;
-fx-border-width: 0.5px 0.5px 0.5px 0px;
}

@ -48,28 +48,6 @@
<BorderPane id="borderpane" layoutX="162.0" layoutY="64.0" prefHeight="200.0" prefWidth="200.0" stylesheets="@home.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<top>
<BorderPane prefHeight="0.0" prefWidth="1280.0" BorderPane.alignment="CENTER">
<top>
<HBox id="topbar" fx:id="hboxmen" alignment="TOP_RIGHT" onMouseDragged="#dragged" onMouseEntered="#topBarEntered" onMousePressed="#pressed" prefHeight="25.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<FontAwesomeIcon fill="WHITE" iconName="MINUS" onMouseClicked="#min" textAlignment="CENTER" translateY="2.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="#86ff6b" iconName="CIRCLE" onMouseClicked="#max" textAlignment="CENTER" translateY="1.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="RED" iconName="CLOSE" onMouseClicked="#close" scaleX="1.2" scaleY="1.2" scaleZ="1.2" selectionFill="#f20000" size="1.1em" textAlignment="CENTER">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<padding>
<Insets bottom="2.0" left="5.0" right="5.0" top="2.0" />
</padding>
</HBox>
</top>
<center>
<HBox id="men" prefHeight="25.0" prefWidth="1920.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<Label id="menubutton" onMouseClicked="#menuOpenClicked" onMouseEntered="#menuOpenEntered" stylesheets="@home.css" text="Menu" textAlignment="CENTER" textFill="WHITE" translateX="10.0">
@ -87,8 +65,51 @@
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseEntered="#borderLabelEntered" prefHeight="27.0" prefWidth="18.0" stylesheets="@home.css" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
<opaqueInsets>
<Insets />
</opaqueInsets>
</Label>
</HBox>
</center>
<top>
<BorderPane id="topbar" fx:id="hboxmen" onMouseDragged="#dragged" onMouseEntered="#topBarEntered" onMousePressed="#pressed" prefHeight="25.0" prefWidth="1280.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<right>
<HBox id="topbar" alignment="TOP_RIGHT" prefHeight="25.0" prefWidth="678.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<FontAwesomeIcon fill="WHITE" iconName="MINUS" onMouseClicked="#min" textAlignment="CENTER" translateY="2.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="#86ff6b" iconName="CIRCLE" onMouseClicked="#max" textAlignment="CENTER" translateY="1.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="RED" iconName="CLOSE" onMouseClicked="#close" scaleX="1.2" scaleY="1.2" scaleZ="1.2" selectionFill="#f20000" size="1.1em" textAlignment="CENTER">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<padding>
<Insets bottom="2.0" left="5.0" right="5.0" top="2.0" />
</padding>
</HBox>
</right>
<left>
<HBox id="topbar" prefHeight="29.0" prefWidth="592.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<Label id="topbartext" stylesheets="@home.css" text="Genealogie" textFill="WHITE">
<padding>
<Insets bottom="5.0" left="10.0" right="5.0" top="6.0" />
</padding>
</Label>
</HBox>
</left>
</BorderPane>
</top>
</BorderPane>
</top>
<center>
@ -100,10 +121,27 @@
</font>
</Text>
<VBox id="menuslide" fx:id="menuslideV" prefHeight="622.0" prefWidth="200.0" stylesheets="@home.css" visible="false">
<JFXListCell id="buttonStammbaum" fx:id="buttonStammbaum" onMouseClicked="#buttonStammbaumClicked" prefHeight="33.0" prefWidth="208.0" stylesheets="@home.css" text="Stammbaum" textFill="WHITE" />
<Label prefHeight="20.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" />
<JFXListCell id="buttonStammbaum" fx:id="buttonStammbaum" onMouseClicked="#buttonStammbaumClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Stammbaum" textFill="WHITE" />
<JFXListCell id="buttonPeople" fx:id="buttonPeople" onMouseClicked="#buttonPeopleClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="People" textFill="WHITE" />
<JFXListCell id="buttonPictrues" fx:id="buttonPictures" onMouseClicked="#buttonPicturesClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Pictures" textFill="WHITE" />
<JFXListCell id="buttonResearch" fx:id="buttoResearch" onMouseClicked="#buttonResearchClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Research " textFill="WHITE" />
<JFXListCell id="buttonMoney" fx:id="buttonMoney" onMouseClicked="#buttonMoneyClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Money" textFill="WHITE" />
<JFXListCell id="buttonOptions" fx:id="buttonOptions" onMouseClicked="#buttonOptionsClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Optionen" textFill="WHITE" />
</VBox>
<VBox id="filesmenu" fx:id="filesmenu" layoutX="57.0" onMouseExited="#filesOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@home.css" visible="false" />
<VBox id="filesmenu" fx:id="optionsmenu" layoutX="94.0" onMouseExited="#optionsOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@home.css" visible="false" />
<BorderPane id="optionPane" fx:id="optionsmenu" layoutX="91.0" onMouseEntered="#optionPaneEntered" onMouseExited="#optionPaneExited" prefHeight="245.0" prefWidth="148.0" visible="false">
<center>
<VBox id="VboxOption0" prefHeight="250.0" prefWidth="150.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" prefHeight="30.0" prefWidth="152.0" styleClass="buttonTopBarMenus" stylesheets="@home.css" text="Prefrences" />
</VBox>
</center>
<bottom>
<VBox id="VboxOption1" prefHeight="30.0" prefWidth="147.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" onMouseClicked="#optionsTopMenuPrefrenceButton" prefHeight="33.0" prefWidth="184.0" styleClass="buttonTopBarMenus" stylesheets="@home.css" text="Prefrences" />
</VBox>
</bottom>
</BorderPane>
</Pane>
</AnchorPane>
</center>

@ -0,0 +1,59 @@
/* css */
/* Author Lukas Martin */
.background {
-fx-background-color: #252530;
}
.topbar {
-fx-background-color: #0b111a;
}
.menu {
-fx-border-color: #6b6868;
-fx-border-width: 0px 0px 0.5px 0px;
}
#lefttopbar {
}
#righttopbar {
}
#leftPane {
-fx-border-color: #6b6868;
-fx-border-width: 0.5px 0.5px 0.5px 0.5px;
}
#centrePane {
}
#submitButton {
}
#nicknameLabel {
-fx-border-color: #6b6868;
-fx-border-width: 0px 0px 0.5px 0px;
}
#nickNamePane {
-fx-border-color: #6b6868;
-fx-border-width: 0px 0px 0.5px 0px;
}
#nicknameField {
-fx-background-color: #252533;
-fx-border-color: #6b6868;
-fx-border-width: 0.5px 0.5px 0.5px 0.5px;
-fx-text-fill: white;
-fx-border-radius: 8 8 8 8;
-fx-background-radius: 8 8 8 8;
}
#menuName1Pane {
}
#menu1MainPane {
}

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon?>
<?import java.lang.String?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<AnchorPane prefHeight="400.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.prefrenceController">
<BorderPane id="backgroundBorderPane" layoutX="67.0" layoutY="54.0" prefHeight="200.0" prefWidth="200.0" styleClass="background" stylesheets="@prefrence.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<top>
<BorderPane onMouseDragged="#dragged" onMousePressed="#pressed" prefHeight="25.0" prefWidth="600.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<left>
<HBox id="lefttopbar" prefHeight="25.0" prefWidth="368.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<opaqueInsets>
<Insets />
</opaqueInsets>
<Label text="Prefrences" textFill="WHITE">
<padding>
<Insets left="10.0" top="4.0" />
</padding>
</Label>
</HBox>
</left>
<right>
<HBox id="lefttopbar" alignment="CENTER_RIGHT" prefHeight="25.0" prefWidth="230.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<opaqueInsets>
<Insets />
</opaqueInsets>
<padding>
<Insets bottom="2.0" left="5.0" right="5.0" top="2.0" />
</padding>
<FontAwesomeIcon fill="#f20000" iconName="CLOSE" onMousePressed="#closeButtonClicked" scaleX="1.1" scaleY="1.1" scaleZ="1.1" selectionEnd="0" selectionFill="#f20000" />
</HBox>
</right>
</BorderPane>
</top>
<center>
<BorderPane prefHeight="380.0" prefWidth="800.0" BorderPane.alignment="CENTER">
<top>
<VBox prefHeight="376.0" prefWidth="800.0" BorderPane.alignment="CENTER">
<Pane prefHeight="10.0" prefWidth="800.0"/>
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@prefrence.css">
<styleClass>
<String fx:value="background"/>
<String fx:value="menu"/>
</styleClass>
<Label alignment="CENTER" layoutX="354.0" layoutY="1.0" stylesheets="@prefrence.css"
text="Personalisieren" textFill="WHITE">
<font>
<Font size="14.0"/>
</font>
</Label>
</Pane>
<Pane id="menu1MainPane" prefHeight="150.0" prefWidth="800.0" styleClass="background"
stylesheets="@prefrence.css">
<HBox prefHeight="150.0" prefWidth="800.0" stylesheets="@prefrence.css">
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css">
<Label layoutX="104.0" layoutY="14.0" text="Nickname" textFill="WHITE"/>
<TextField id="nicknameField" layoutX="34.0" layoutY="32.0" prefHeight="26.0"
prefWidth="200.0" stylesheets="@prefrence.css"/>
<Label layoutX="84.0" layoutY="90.0" text="Vor &amp; Nachname" textFill="WHITE"/>
<TextField id="nicknameField" layoutX="34.0" layoutY="109.0" prefHeight="26.0"
prefWidth="200.0" stylesheets="@prefrence.css"/>
</Pane>
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css">
<Label layoutX="114.0" layoutY="14.0" text="Design" textFill="WHITE"/>
</Pane>
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css"/>
</HBox>
</Pane>
<Pane prefHeight="13.0" prefWidth="800.0"/>
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@prefrence.css">
<styleClass>
<String fx:value="background"/>
<String fx:value="menu"/>
</styleClass>
<Label alignment="CENTER" layoutX="382.0" layoutY="2.0" stylesheets="@prefrence.css"
text="Other" textFill="WHITE">
<font>
<Font size="14.0"/>
</font>
</Label>
</Pane>
<Pane prefHeight="159.0" prefWidth="800.0">
<HBox prefHeight="162.0" prefWidth="800.0" styleClass="background"
stylesheets="@prefrence.css"/>
</Pane>
</VBox>
</top>
</BorderPane>
</center></BorderPane>
</AnchorPane>

@ -1,40 +0,0 @@
/* css */
/* Author Lukas Martin */
#borderpane {
-fx-background-color: #252526;
}
#topbar {
-fx-background-color: #0b111a;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0px 0.5px 0px;
}
#men {
-fx-background-color: #252530;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0.5px 0.5px;
}
#menuslide {
-fx-background-color: #252530;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0.5px 0.5px;
border-top: none;
}
#menubutton {
-fx-text-fill: white;
}
#menubutton:hover {
-fx-text-fill: grey;
}
#panehome {
-fx-background-color: #252526;
}
#filesmenu {
-fx-background-color: #252530;
-fx-border-color: #6b6868;
-fx-border-width: 0px 0.5px 0.5px 0.5px;
}
#buttonStammbaum {
-fx-background-color: #252530;
-fx-text-fill: white;
}

@ -1,111 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2015, 2019, Gluon and/or its affiliates.
All rights reserved. Use is subject to license terms.
This file is available and licensed under the following license:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
- Neither the name of Oracle Corporation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<?import com.jfoenix.controls.JFXListCell?>
<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onKeyPressed="#pressedkey" prefHeight="680.0" prefWidth="1280.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.stammbaumController">
<BorderPane id="borderpane" layoutX="162.0" layoutY="64.0" prefHeight="200.0" prefWidth="200.0" stylesheets="@stammbaum.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<top>
<BorderPane prefHeight="0.0" prefWidth="1280.0" BorderPane.alignment="CENTER">
<top>
<HBox id="topbar" fx:id="hboxmen" alignment="TOP_RIGHT" onMouseDragged="#dragged" onMouseEntered="#topBarEntered" onMousePressed="#pressed" prefHeight="25.0" stylesheets="@stammbaum.css" BorderPane.alignment="CENTER">
<FontAwesomeIcon fill="WHITE" iconName="MINUS" onMouseClicked="#min" textAlignment="CENTER" translateY="2.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="#86ff6b" iconName="CIRCLE" onMouseClicked="#max" textAlignment="CENTER" translateY="1.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="RED" iconName="CLOSE" onMouseClicked="#close" scaleX="1.2" scaleY="1.2" scaleZ="1.2" selectionFill="#f20000" size="1.1em" textAlignment="CENTER">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<padding>
<Insets bottom="2.0" left="5.0" right="5.0" top="2.0" />
</padding>
</HBox>
</top>
<center>
<HBox id="men" prefHeight="25.0" prefWidth="1920.0" stylesheets="@stammbaum.css" BorderPane.alignment="CENTER">
<Label id="menubutton" onMouseClicked="#menuOpenClicked" onMouseEntered="#menuOpenEntered" stylesheets="@stammbaum.css" text="Menu" textAlignment="CENTER" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseClicked="#filesButtonClicked" onMouseEntered="#filesButtonEntred" stylesheets="@stammbaum.css" text="Files" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseClicked="#optionButtonClicked" onMouseEntered="#optionButtonEntered" stylesheets="@stammbaum.css" text="Options" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
</HBox>
</center>
</BorderPane>
</top>
<center>
<AnchorPane onMouseClicked="#bodyOnClick" onMouseEntered="#bodyMouseEntred" prefHeight="627.0" prefWidth="1135.0" BorderPane.alignment="CENTER">
<Pane id="panehome" stylesheets="@stammbaum.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<Text fill="WHITE" layoutX="444.0" layoutY="322.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Stammbaum und so, lol.">
<font>
<Font size="30.0" />
</font>
</Text>
<VBox id="menuslide" fx:id="menuslideV" prefHeight="622.0" prefWidth="200.0" stylesheets="@stammbaum.css" visible="false">
<JFXListCell id="buttonStammbaum" fx:id="buttonStammbaum" onMouseClicked="#buttonMenuClicked" prefHeight="33.0" prefWidth="208.0" stylesheets="@stammbaum.css" text="Menu" textFill="WHITE" />
</VBox>
<VBox id="filesmenu" fx:id="filesmenu" layoutX="57.0" onMouseExited="#filesOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@stammbaum.css" visible="false" />
<VBox id="filesmenu" fx:id="optionsmenu" layoutX="94.0" onMouseExited="#optionsOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@stammbaum.css" visible="false" />
</Pane>
</AnchorPane>
</center>
</BorderPane>
</AnchorPane>
Loading…
Cancel
Save