2016-07-07 14:23:04 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
|
|
|
|
<?import cl.cromer.estructuras.TextFieldLimited?>
|
|
|
|
<?import javafx.scene.control.*?>
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
<?import javafx.scene.text.Text?>
|
|
|
|
<?import javafx.scene.canvas.Canvas?>
|
|
|
|
<VBox xmlns:fx="http://javafx.com/fxml/1" prefHeight="768.0" prefWidth="1024.0" spacing="10"
|
|
|
|
xmlns="http://javafx.com/javafx/8.0.92" fx:controller="cl.cromer.estructuras.GrafoController">
|
|
|
|
<fx:include source="menu.fxml"/>
|
|
|
|
<ScrollPane fitToHeight="true" fitToWidth="true" VBox.vgrow="ALWAYS">
|
|
|
|
<HBox alignment="TOP_CENTER" VBox.vgrow="ALWAYS" spacing="50">
|
|
|
|
<VBox spacing="10">
|
|
|
|
<HBox alignment="CENTER" spacing="10">
|
2016-07-07 16:50:27 -04:00
|
|
|
<Button text="%llenar" onAction="#botonLlenar"/>
|
|
|
|
<Button text="%vaciar" onAction="#botonVaciar"/>
|
2016-07-07 14:23:04 -04:00
|
|
|
</HBox>
|
|
|
|
<HBox alignment="CENTER" spacing="10">
|
2016-07-07 14:51:34 -04:00
|
|
|
<Text text="%grafoNodos"/>
|
2016-07-07 14:23:04 -04:00
|
|
|
<Button text="%insertar" onAction="#botonInsertar"/>
|
2016-07-07 16:50:27 -04:00
|
|
|
<Button text="%eliminar" onAction="#botonEliminar"/>
|
2016-07-07 14:23:04 -04:00
|
|
|
<TextFieldLimited fx:id="valorGrafo" maxLength="3" prefWidth="50"/>
|
|
|
|
</HBox>
|
|
|
|
<HBox alignment="CENTER" spacing="10">
|
|
|
|
<Text text="%grafoEdges"/>
|
|
|
|
<Button text="%insertar" onAction="#botonInsertarEdge"/>
|
2016-07-07 16:50:27 -04:00
|
|
|
<Button text="%eliminar" onAction="#botonEliminarEdge"/>
|
2016-07-07 14:23:04 -04:00
|
|
|
<TextFieldLimited fx:id="valorNodo1" maxLength="3" prefWidth="50"/>
|
|
|
|
<TextFieldLimited fx:id="valorNodo2" maxLength="3" prefWidth="50"/>
|
|
|
|
</HBox>
|
|
|
|
<Canvas fx:id="contenidoGrafo" width="300" height="500"/>
|
|
|
|
</VBox>
|
|
|
|
<StackPane alignment="TOP_LEFT" minWidth="450">
|
|
|
|
<Text fx:id="codigoGrafo"/>
|
|
|
|
</StackPane>
|
|
|
|
</HBox>
|
|
|
|
</ScrollPane>
|
|
|
|
</VBox>
|