Estructuras_de_Datos/src/cl/cromer/estructuras/fxml/arbol.fxml

43 lines
2.1 KiB
XML

<?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?>
<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.ArbolController">
<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">
<Button text="%llenar" onAction="#botonLlenar"/>
<Button text="%vaciar" onAction="#botonVaciar"/>
</HBox>
<HBox alignment="CENTER" spacing="10">
<Button text="%insertar" onAction="#botonInsertar"/>
<Button text="%eliminar" onAction="#botonEliminar"/>
<TextFieldLimited fx:id="valorArbol" maxLength="3" prefWidth="50"/>
</HBox>
<HBox alignment="CENTER" spacing="10">
<Button text="%arbolPreOrden" onAction="#botonPreOrder"/>
<Button text="%arbolInOrden" onAction="#botonInOrder"/>
<Button text="%arbolPostOrden" onAction="#botonPostOrder"/>
</HBox>
<HBox alignment="CENTER" spacing="10">
<Button text="%arbolRotarIzquerda" onAction="#botonRotarIzquerda"/>
<Button text="%arbolRotarDerecha" onAction="#botonRotarDerecha"/>
<TextFieldLimited fx:id="valorRotar" maxLength="3" prefWidth="50" text=""/>
</HBox>
<HBox fx:id="contenidoOrder" alignment="CENTER"/>
<ScrollPane fitToHeight="true" fitToWidth="true" VBox.vgrow="ALWAYS">
<GridPane fx:id="contenidoArbol" alignment="TOP_LEFT"/>
</ScrollPane>
</VBox>
<StackPane alignment="TOP_LEFT" minWidth="450">
<Text fx:id="codigoArbol"/>
</StackPane>
</HBox>
</ScrollPane>
</VBox>