Grundgerüst erstellt
This commit is contained in:
		
							
								
								
									
										4
									
								
								src/tourplaner/Controller.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/tourplaner/Controller.java
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
package tourplaner;
 | 
			
		||||
 | 
			
		||||
public class Controller {
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										23
									
								
								src/tourplaner/Main.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								src/tourplaner/Main.java
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
package tourplaner;
 | 
			
		||||
 | 
			
		||||
import javafx.application.Application;
 | 
			
		||||
import javafx.fxml.FXMLLoader;
 | 
			
		||||
import javafx.scene.Parent;
 | 
			
		||||
import javafx.scene.Scene;
 | 
			
		||||
import javafx.stage.Stage;
 | 
			
		||||
 | 
			
		||||
public class Main extends Application {
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void start(Stage primaryStage) throws Exception{
 | 
			
		||||
        Parent root = FXMLLoader.load(getClass().getResource("tourplaner.fxml"));
 | 
			
		||||
        primaryStage.setTitle("Hello World");
 | 
			
		||||
        primaryStage.setScene(new Scene(root, 300, 275));
 | 
			
		||||
        primaryStage.show();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    public static void main(String[] args) {
 | 
			
		||||
        launch(args);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										156
									
								
								src/tourplaner/tourplaner.fxml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										156
									
								
								src/tourplaner/tourplaner.fxml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,156 @@
 | 
			
		||||
<?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 javafx.geometry.Insets?>
 | 
			
		||||
<?import javafx.scene.control.Button?>
 | 
			
		||||
<?import javafx.scene.control.Label?>
 | 
			
		||||
<?import javafx.scene.control.Menu?>
 | 
			
		||||
<?import javafx.scene.control.MenuBar?>
 | 
			
		||||
<?import javafx.scene.control.MenuItem?>
 | 
			
		||||
<?import javafx.scene.control.SeparatorMenuItem?>
 | 
			
		||||
<?import javafx.scene.control.SplitPane?>
 | 
			
		||||
<?import javafx.scene.control.TextField?>
 | 
			
		||||
<?import javafx.scene.layout.HBox?>
 | 
			
		||||
<?import javafx.scene.layout.Pane?>
 | 
			
		||||
<?import javafx.scene.layout.VBox?>
 | 
			
		||||
<?import javafx.scene.paint.Color?>
 | 
			
		||||
<?import javafx.scene.text.Font?>
 | 
			
		||||
 | 
			
		||||
<VBox prefHeight="600.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/11.0.2" xmlns:fx="http://javafx.com/fxml/1">
 | 
			
		||||
  <children>
 | 
			
		||||
    <MenuBar VBox.vgrow="NEVER">
 | 
			
		||||
      <menus>
 | 
			
		||||
        <Menu mnemonicParsing="false" text="File">
 | 
			
		||||
          <items>
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="New" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Open…" />
 | 
			
		||||
            <Menu mnemonicParsing="false" text="Open Recent" />
 | 
			
		||||
            <SeparatorMenuItem mnemonicParsing="false" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Close" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Save" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Save As…" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Revert" />
 | 
			
		||||
            <SeparatorMenuItem mnemonicParsing="false" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Preferences…" />
 | 
			
		||||
            <SeparatorMenuItem mnemonicParsing="false" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Quit" />
 | 
			
		||||
          </items>
 | 
			
		||||
        </Menu>
 | 
			
		||||
        <Menu mnemonicParsing="false" text="Edit">
 | 
			
		||||
          <items>
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Undo" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Redo" />
 | 
			
		||||
            <SeparatorMenuItem mnemonicParsing="false" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Cut" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Copy" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Paste" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Delete" />
 | 
			
		||||
            <SeparatorMenuItem mnemonicParsing="false" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Select All" />
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="Unselect All" />
 | 
			
		||||
          </items>
 | 
			
		||||
        </Menu>
 | 
			
		||||
            <Menu mnemonicParsing="false" text="Options">
 | 
			
		||||
               <items>
 | 
			
		||||
                  <MenuItem mnemonicParsing="false" text="Undo" />
 | 
			
		||||
                  <MenuItem mnemonicParsing="false" text="Redo" />
 | 
			
		||||
                  <SeparatorMenuItem mnemonicParsing="false" />
 | 
			
		||||
                  <MenuItem mnemonicParsing="false" text="Cut" />
 | 
			
		||||
                  <MenuItem mnemonicParsing="false" text="Copy" />
 | 
			
		||||
                  <MenuItem mnemonicParsing="false" text="Paste" />
 | 
			
		||||
                  <MenuItem mnemonicParsing="false" text="Delete" />
 | 
			
		||||
                  <SeparatorMenuItem mnemonicParsing="false" />
 | 
			
		||||
                  <MenuItem mnemonicParsing="false" text="Select All" />
 | 
			
		||||
                  <MenuItem mnemonicParsing="false" text="Unselect All" />
 | 
			
		||||
               </items>
 | 
			
		||||
            </Menu>
 | 
			
		||||
        <Menu mnemonicParsing="false" text="Help">
 | 
			
		||||
          <items>
 | 
			
		||||
            <MenuItem mnemonicParsing="false" text="About MyHelloApp" />
 | 
			
		||||
          </items>
 | 
			
		||||
        </Menu>
 | 
			
		||||
      </menus>
 | 
			
		||||
    </MenuBar>
 | 
			
		||||
      <HBox id="HBox" alignment="CENTER_LEFT" layoutX="10.0" layoutY="588.0" spacing="5.0">
 | 
			
		||||
         <children>
 | 
			
		||||
            <Pane prefHeight="-1.0" prefWidth="-1.0" HBox.hgrow="ALWAYS" />
 | 
			
		||||
            <TextField text="Suche...." />
 | 
			
		||||
            <Button mnemonicParsing="false" text="Suchen" />
 | 
			
		||||
         </children>
 | 
			
		||||
         <padding>
 | 
			
		||||
            <Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
 | 
			
		||||
         </padding>
 | 
			
		||||
      </HBox>
 | 
			
		||||
    <SplitPane dividerPositions="0.5" focusTraversable="true" prefHeight="-1.0" prefWidth="-1.0" VBox.vgrow="ALWAYS">
 | 
			
		||||
      <items>
 | 
			
		||||
            <Pane prefHeight="200.0" prefWidth="200.0">
 | 
			
		||||
               <children>
 | 
			
		||||
                  <Label layoutX="79.0" layoutY="57.0" text="Inhalt" />
 | 
			
		||||
               </children>
 | 
			
		||||
            </Pane>
 | 
			
		||||
            <SplitPane dividerPositions="0.5" orientation="VERTICAL" prefHeight="200.0" prefWidth="160.0">
 | 
			
		||||
               <items>
 | 
			
		||||
                  <Pane prefHeight="200.0" prefWidth="200.0">
 | 
			
		||||
                     <children>
 | 
			
		||||
                        <Label text="Inhalt" />
 | 
			
		||||
                     </children>
 | 
			
		||||
                  </Pane>
 | 
			
		||||
                  <Pane prefHeight="200.0" prefWidth="200.0">
 | 
			
		||||
                     <children>
 | 
			
		||||
                        <Label text="Inhalt" />
 | 
			
		||||
                     </children>
 | 
			
		||||
                  </Pane>
 | 
			
		||||
               </items>
 | 
			
		||||
            </SplitPane>
 | 
			
		||||
      </items>
 | 
			
		||||
    </SplitPane>
 | 
			
		||||
    <HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0" VBox.vgrow="NEVER">
 | 
			
		||||
      <children>
 | 
			
		||||
        <Label maxHeight="1.7976931348623157E308" maxWidth="-1.0" text="Left status" HBox.hgrow="ALWAYS">
 | 
			
		||||
          <font>
 | 
			
		||||
            <Font size="11.0" fx:id="x3" />
 | 
			
		||||
          </font>
 | 
			
		||||
          <textFill>
 | 
			
		||||
            <Color red="0.625" green="0.625" blue="0.625" fx:id="x4" />
 | 
			
		||||
          </textFill>
 | 
			
		||||
        </Label>
 | 
			
		||||
        <Pane prefHeight="-1.0" prefWidth="-1.0" HBox.hgrow="ALWAYS" />
 | 
			
		||||
        <Label font="$x3" maxWidth="-1.0" text="Right status" textFill="$x4" HBox.hgrow="NEVER" />
 | 
			
		||||
      </children>
 | 
			
		||||
      <padding>
 | 
			
		||||
        <Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
 | 
			
		||||
      </padding>
 | 
			
		||||
    </HBox>
 | 
			
		||||
  </children>
 | 
			
		||||
</VBox>
 | 
			
		||||
		Reference in New Issue
	
	Block a user