Advertisement
Sredny

FXML root file

Sep 18th, 2015
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.56 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import java.lang.*?>
  4. <?import java.net.*?>
  5. <?import javafx.scene.control.*?>
  6. <?import javafx.scene.layout.*?>
  7. <?import javafx.scene.layout.AnchorPane?>
  8. <!-- TODO Add Nodes -->
  9.  
  10. <BorderPane prefHeight="686.0" prefWidth="1170.0" styleClass="background" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/2.2" fx:controller="application.view.RootController">
  11.   <bottom>
  12.     <HBox prefHeight="31.0" prefWidth="1170.0">
  13.       <children>
  14.         <Label fx:id="mensaje" prefHeight="31.0" prefWidth="575.0" text="" wrapText="true" />
  15.       </children>
  16.     </HBox>
  17.   </bottom>
  18.   <stylesheets>
  19.     <URL value="@Theme.CSS" />
  20.   </stylesheets>
  21.   <top>
  22.     <VBox prefHeight="55.0" prefWidth="731.0">
  23.       <children>
  24.         <MenuBar fx:id="menu">
  25.           <menus>
  26.             <Menu mnemonicParsing="false" text="Archivo">
  27.               <items>
  28.                 <MenuItem mnemonicParsing="false" onAction="#handleNewAgent" text="Nuevo Agente" />
  29.                 <MenuItem mnemonicParsing="false" onAction="#handleClose" text="Cerar" />
  30.               </items>
  31.             </Menu>
  32.             <Menu mnemonicParsing="false" text="Edit">
  33.               <items>
  34.                 <MenuItem mnemonicParsing="false" text="Delete" />
  35.               </items>
  36.             </Menu>
  37.             <Menu mnemonicParsing="false" text="Configuración">
  38.               <items>
  39.                 <MenuItem mnemonicParsing="false" onAction="#handleConfiguracion" text="Parámetros" fx:id="parametros" />
  40.                 <MenuItem mnemonicParsing="false" text="Action 1" />
  41.               </items>
  42.             </Menu>
  43.             <Menu mnemonicParsing="false" text="Help">
  44.               <items>
  45.                 <MenuItem mnemonicParsing="false" text="About" />
  46.               </items>
  47.             </Menu>
  48.           </menus>
  49.           <stylesheets>
  50.             <URL value="@Theme.CSS" />
  51.           </stylesheets>
  52.         </MenuBar>
  53.         <ToolBar>
  54.           <items>
  55.             <Button fx:id="nuevo_agente" contentDisplay="LEFT" graphicTextGap="1.0" mnemonicParsing="false" onAction="#handleNewAgent" text="Nuevo Agente" />
  56.             <Button fx:id="nuevo_modelo" ellipsisString="" mnemonicParsing="false" onAction="#handleNuevoColectivo" prefHeight="21.0" prefWidth="194.0" text="M. de Inteligencia Colectivo" wrapText="true" />
  57.             <Button fx:id="Generar" mnemonicParsing="false" onAction="#handleGenerarCodigo" text="Generar Código" />
  58.           </items>
  59.         </ToolBar>
  60.       </children>
  61.     </VBox>
  62.   </top>
  63. </BorderPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement