Skip to content

Instantly share code, notes, and snippets.

@KANE-99
Last active September 7, 2018 18:14
Show Gist options
  • Save KANE-99/ef87779242e819533297e6fee69d406b to your computer and use it in GitHub Desktop.
Save KANE-99/ef87779242e819533297e6fee69d406b to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.shape.Line?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="800.0" style="-fx-background-color: beige;" xmlns="http://javafx.com/javafx/10.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="library.Empty_pageController">
<children>
<Pane layoutX="-2.0" layoutY="100.0" prefHeight="200.0" prefWidth="800.0" style="-fx-background-color: aquamarine;">
<children>
<ImageView fitHeight="150.0" fitWidth="200.0" layoutX="14.0" layoutY="25.0" pickOnBounds="true" preserveRatio="true" />
<GridPane layoutX="118.0" layoutY="10.0" prefHeight="182.0" prefWidth="564.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="136.0" minWidth="10.0" prefWidth="71.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="309.0" minWidth="10.0" prefWidth="288.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="123.0" minWidth="10.0" prefWidth="95.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Student" GridPane.columnIndex="1">
<font>
<Font size="18.0" />
</font>
</Label>
<Label text="ID No: " GridPane.rowIndex="1">
<font>
<Font size="18.0" />
</font>
</Label>
<Label text="Name:" GridPane.rowIndex="2">
<font>
<Font size="18.0" />
</font>
</Label>
<Label text="Address: " GridPane.rowIndex="3">
<font>
<Font size="18.0" />
</font>
</Label>
<Label text="Year:" GridPane.columnIndex="2" GridPane.rowIndex="1">
<font>
<Font size="18.0" />
</font>
<padding>
<Insets left="10.0" />
</padding>
</Label>
<Label text="Branch:" GridPane.columnIndex="2" GridPane.rowIndex="2">
<font>
<Font size="18.0" />
</font>
<padding>
<Insets left="10.0" />
</padding>
</Label>
<TextField fx:id="IDno" GridPane.columnIndex="1" GridPane.rowIndex="1">
<font>
<Font size="14.0" />
</font></TextField>
<TextField fx:id="name" GridPane.columnIndex="1" GridPane.rowIndex="2">
<font>
<Font size="14.0" />
</font></TextField>
<TextField fx:id="address" GridPane.columnIndex="1" GridPane.rowIndex="3">
<font>
<Font size="14.0" />
</font></TextField>
<TextField fx:id="year" GridPane.columnIndex="3" GridPane.rowIndex="1">
<font>
<Font size="14.0" />
</font></TextField>
<TextField fx:id="branch" GridPane.columnIndex="3" GridPane.rowIndex="2">
<font>
<Font size="14.0" />
</font></TextField>
</children>
</GridPane>
</children>
</Pane>
<Pane layoutX="-2.0" layoutY="300.0" prefHeight="200.0" prefWidth="800.0" style="-fx-background-color: blanchedalmond;">
<children>
<Line endX="550.0" layoutX="250.0" startX="-250.0" />
<Line endX="433.0" layoutX="367.0" layoutY="200.0" startX="-367.0" />
<ImageView fitHeight="150.0" fitWidth="200.0" layoutX="14.0" layoutY="25.0" pickOnBounds="true" preserveRatio="true" />
<GridPane layoutX="118.0" layoutY="9.0" prefHeight="182.0" prefWidth="564.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="277.0" minWidth="10.0" prefWidth="79.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="485.0" minWidth="10.0" prefWidth="485.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Book" GridPane.columnIndex="1">
<font>
<Font size="18.0" />
</font>
</Label>
<Label text="ID No: " GridPane.rowIndex="1">
<font>
<Font size="18.0" />
</font>
</Label>
<Label text="Name" GridPane.rowIndex="2">
<font>
<Font size="18.0" />
</font>
</Label>
<Label text="Author: " GridPane.rowIndex="3">
<font>
<Font size="18.0" />
</font>
</Label>
<TextField fx:id="bookname" GridPane.columnIndex="1" GridPane.rowIndex="2">
<font>
<Font size="14.0" />
</font></TextField>
<TextField fx:id="author" GridPane.columnIndex="1" GridPane.rowIndex="3">
<font>
<Font size="14.0" />
</font></TextField>
<TextField fx:id="ID" GridPane.columnIndex="1" GridPane.rowIndex="1">
<font>
<Font size="14.0" />
</font></TextField>
</children>
</GridPane>
</children>
</Pane>
<Text layoutX="20.0" layoutY="36.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Date:">
<font>
<Font size="20.0" />
</font>
</Text>
<Text layoutX="536.0" layoutY="35.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Time: ">
<font>
<Font size="20.0" />
</font>
</Text>
<Text layoutX="20.0" layoutY="73.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Day:">
<font>
<Font size="20.0" />
</font>
</Text>
<Line endX="614.0" layoutX="184.0" layoutY="100.0" startX="-186.0" />
<Button fx:id="clear" layoutX="362.0" layoutY="527.0" mnemonicParsing="false" onAction="#clear" text="Clear">
<font>
<Font size="20.0" />
</font>
</Button>
<Button fx:id="ProcessIssue" layoutX="598.0" layoutY="527.0" mnemonicParsing="false" text="Process Issue">
<font>
<Font size="20.0" />
</font>
</Button>
<Button fx:id="fetch" layoutX="66.0" layoutY="527.0" mnemonicParsing="false" onAction="#fetch_student_records" text="Add Entry">
<font>
<Font size="20.0" />
</font>
</Button>
<Label fx:id="time" layoutX="589.0" layoutY="15.0" prefHeight="27.0" prefWidth="73.0">
<font>
<Font size="18.0" />
</font>
</Label>
</children>
</Pane>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment