Instantly share code, notes, and snippets.
Created
December 31, 2017 12:58
-
Save ajfmo/7523c37b1355d0ec7993926f2ebdc22a to your computer and use it in GitHub Desktop.
Menu Estudiante (form)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<?import javafx.scene.control.Button?> | |
<?import javafx.scene.control.ComboBox?> | |
<?import javafx.scene.control.Label?> | |
<?import javafx.scene.control.SplitPane?> | |
<?import javafx.scene.control.TableColumn?> | |
<?import javafx.scene.control.TableView?> | |
<?import javafx.scene.control.TextField?> | |
<?import javafx.scene.layout.AnchorPane?> | |
<?import javafx.scene.layout.ColumnConstraints?> | |
<?import javafx.scene.layout.GridPane?> | |
<?import javafx.scene.layout.RowConstraints?> | |
<?import javafx.scene.text.Font?> | |
<SplitPane dividerPositions="0.3" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" orientation="VERTICAL" prefHeight="600.0" prefWidth="650.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ajfmo.studycontrol.view.StudentView"> | |
<items> | |
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0"> | |
<children> | |
<SplitPane dividerPositions="0.5" layoutX="360.0" layoutY="37.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> | |
<items> | |
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0"> | |
<children> | |
<GridPane hgap="5.0" layoutX="22.0" layoutY="70.0" vgap="5.0"> | |
<columnConstraints> | |
<ColumnConstraints hgrow="SOMETIMES" maxWidth="100.0" minWidth="10.0" prefWidth="50.0" /> | |
<ColumnConstraints hgrow="SOMETIMES" maxWidth="239.0" minWidth="10.0" prefWidth="235.0" /> | |
</columnConstraints> | |
<rowConstraints> | |
<RowConstraints minHeight="10.0" vgrow="SOMETIMES" /> | |
<RowConstraints minHeight="10.0" vgrow="SOMETIMES" /> | |
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> | |
</rowConstraints> | |
<children> | |
<Label text="Codigo" /> | |
<Label text="Nombre" GridPane.rowIndex="1" /> | |
<TextField fx:id="txtCodigoB" GridPane.columnIndex="1" /> | |
<TextField fx:id="txtNombreB" GridPane.columnIndex="1" GridPane.rowIndex="1" /> | |
<Button fx:id="btnBuscar" mnemonicParsing="false" prefHeight="25.0" prefWidth="77.0" text="Buscar" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="2" /> | |
</children> | |
</GridPane> | |
<Label layoutX="22.0" layoutY="14.0" text="Indique su busqueda"> | |
<font> | |
<Font size="24.0" /> | |
</font> | |
</Label> | |
</children> | |
</AnchorPane> | |
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0"> | |
<children> | |
<GridPane hgap="5.0" layoutX="14.0" layoutY="25.0" vgap="5.0"> | |
<columnConstraints> | |
<ColumnConstraints hgrow="SOMETIMES" maxWidth="58.0" minWidth="10.0" prefWidth="49.0" /> | |
<ColumnConstraints fillWidth="false" hgrow="SOMETIMES" maxWidth="178.0" minWidth="10.0" prefWidth="128.0" /> | |
<ColumnConstraints fillWidth="false" halignment="CENTER" hgrow="SOMETIMES" maxWidth="137.0" minWidth="10.0" prefWidth="128.0" /> | |
</columnConstraints> | |
<rowConstraints> | |
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> | |
<RowConstraints minHeight="10.0" vgrow="SOMETIMES" /> | |
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> | |
<RowConstraints minHeight="10.0" vgrow="SOMETIMES" /> | |
</rowConstraints> | |
<children> | |
<Label text="Codigo" /> | |
<Label text="Nombre" GridPane.rowIndex="1" /> | |
<Label text="Carrera" GridPane.rowIndex="2" /> | |
<Label text="Seccion" GridPane.rowIndex="3" /> | |
<TextField fx:id="txtCodigo" GridPane.columnIndex="1" /> | |
<TextField fx:id="txtNombre" GridPane.columnIndex="1" GridPane.rowIndex="1" /> | |
<ComboBox fx:id="cboCarrera" prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="2" /> | |
<ComboBox fx:id="cboSeccion" prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="3" /> | |
<Button fx:id="btnGuardar" mnemonicParsing="false" onAction="#create" text="Guardar" GridPane.columnIndex="2" GridPane.rowIndex="1" /> | |
<Button fx:id="btnLimpiar" mnemonicParsing="false" prefHeight="25.0" prefWidth="77.0" text="Limpiar" GridPane.columnIndex="2" GridPane.rowIndex="2" /> | |
<Button fx:id="btnSalir" mnemonicParsing="false" onAction="#salir" prefHeight="25.0" prefWidth="77.0" text="Salir" GridPane.columnIndex="2" GridPane.rowIndex="3" /> | |
</children> | |
</GridPane> | |
</children> | |
</AnchorPane> | |
</items> | |
</SplitPane> | |
</children> | |
</AnchorPane> | |
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0"> | |
<children> | |
<TableView layoutX="262.0" layoutY="141.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> | |
<columns> | |
<TableColumn fx:id="colCodigo" prefWidth="75.0" text="Codigo" /> | |
<TableColumn fx:id="colNombre" prefWidth="325.0" text="Nombre" /> | |
<TableColumn fx:id="colCarrera" minWidth="0.0" prefWidth="150.0" text="Carrera" /> | |
<TableColumn fx:id="colSection" minWidth="6.0" prefWidth="100.0" text="Seccion" /> | |
</columns> | |
</TableView> | |
</children> | |
</AnchorPane> | |
</items> | |
</SplitPane> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment