sisga / target / classes / layout / agreement_layout.fxml
agreement_layout.fxml
Raw
<?xml version="1.0" encoding="UTF-8"?>

<?import com.jfoenix.controls.JFXButton?>
<?import com.jfoenix.controls.JFXComboBox?>
<?import com.jfoenix.controls.JFXDatePicker?>
<?import com.jfoenix.controls.JFXTextField?>
<?import com.jfoenix.controls.JFXTimePicker?>
<?import com.jfoenix.controls.JFXTreeTableView?>
<?import java.lang.String?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TreeTableView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>

<StackPane fx:id="agreementStackPane" stylesheets="@../css/light-theme.css" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="info.cortestudios.controllers.AgreementController">
   <children>
      <BorderPane fx:id="borderPane" stylesheets="@../css/light-theme.css">
         <bottom>
            <AnchorPane fx:id="main" minWidth="-Infinity" BorderPane.alignment="CENTER">
               <children>
                  <JFXTreeTableView fx:id="treeTableView" layoutX="18.0" layoutY="8.0" nodeOrientation="LEFT_TO_RIGHT" styleClass="border-curve-blue" AnchorPane.bottomAnchor="12.0" AnchorPane.leftAnchor="18.0" AnchorPane.rightAnchor="12.0" AnchorPane.topAnchor="8.0">
                     <columnResizePolicy>
                        <TreeTableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
                     </columnResizePolicy>
                  </JFXTreeTableView>
               </children>
               <BorderPane.margin>
                  <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
               </BorderPane.margin>
            </AnchorPane>
         </bottom>
         <left>
            <AnchorPane prefHeight="337.0" prefWidth="794.0" BorderPane.alignment="CENTER">
               <BorderPane.margin>
                  <Insets left="20.0" top="10.0" />
               </BorderPane.margin>
               <children>
                  <AnchorPane layoutX="10.0" layoutY="7.0" onKeyPressed="#onUpdateEnter" prefHeight="272.0" prefWidth="549.0" AnchorPane.bottomAnchor="55.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="9.0" AnchorPane.topAnchor="10.0">
                     <children>
                        <JFXTextField fx:id="topicText" alignment="TOP_LEFT" labelFloat="true" layoutX="392.0" layoutY="122.0" prefHeight="31.0" prefWidth="362.0" promptText="Título" />
                        <JFXDatePicker fx:id="datePicker" defaultColor="#209ee7" layoutX="392.0" layoutY="171.0" overLay="true" prefHeight="30.0" prefWidth="122.0" promptText="Fecha inicio" styleClass="hand-mode" />
                        <JFXTimePicker fx:id="timePicker" defaultColor="#209ee7" editable="true" layoutX="632.0" layoutY="171.0" overLay="true" prefHeight="30.0" prefWidth="122.0" promptText="Hora inicio" styleClass="hand-mode" />
                        <JFXTextField fx:id="iDtext" alignment="TOP_LEFT" editable="false" labelFloat="true" layoutX="18.0" layoutY="122.0" prefHeight="29.0" prefWidth="79.0" promptText="ID" />
                        <Label layoutX="14.0" layoutY="14.0" prefHeight="36.0" prefWidth="270.0" styleClass="label-small" text="Información del acuerdo" />
                        <JFXTextField fx:id="meetingTittle" alignment="TOP_LEFT" editable="false" labelFloat="true" layoutX="18.0" layoutY="60.0" prefHeight="31.0" prefWidth="335.0" promptText="Reunión" />
                        <JFXTextField fx:id="actTitle" alignment="TOP_LEFT" editable="false" labelFloat="true" layoutX="392.0" layoutY="60.0" prefHeight="31.0" prefWidth="362.0" promptText="Acta" />
                        <JFXTextField fx:id="code" alignment="TOP_LEFT" labelFloat="true" layoutX="149.0" layoutY="122.0" prefHeight="31.0" prefWidth="205.0" promptText="Código" />
                        <JFXDatePicker fx:id="datePicker1" defaultColor="#209ee7" layoutX="392.0" layoutY="219.0" overLay="true" prefHeight="30.0" prefWidth="122.0" promptText="Fecha expira" styleClass="hand-mode" />
                        <JFXTimePicker fx:id="timePicker1" defaultColor="#209ee7" editable="true" layoutX="632.0" layoutY="219.0" overLay="true" prefHeight="30.0" prefWidth="122.0" promptText="Hora expira" styleClass="hand-mode" />
                        <JFXComboBox fx:id="statusJComboBox" focusColor="#209ee7" layoutX="149.0" layoutY="171.0" prefHeight="31.0" prefWidth="205.0" promptText="Estado" />
                     </children>
                     <styleClass>
                        <String fx:value="background-5" />
                        <String fx:value="border-curve-blue" />
                     </styleClass>
                  </AnchorPane>
                  <HBox layoutX="21.0" layoutY="284.0" prefHeight="37.0" prefWidth="539.0" AnchorPane.bottomAnchor="0.0">
                     <children>
                        <JFXTextField fx:id="searchField" labelFloat="true" prefHeight="29.0" prefWidth="167.0" promptText="Buscar" />
                        <Label fx:id="sizeTree" prefHeight="30.0" prefWidth="52.0" />
                        <JFXButton fx:id="addMeeting" buttonType="RAISED" onAction="#addAct" prefHeight="30.0" prefWidth="100.0" styleClass="button-5" text="Agregar">
                           <HBox.margin>
                              <Insets left="10.0" />
                           </HBox.margin>
                        </JFXButton>
                        <JFXButton fx:id="deleteMeeting" buttonType="RAISED" onAction="#deleteAct" prefHeight="30.0" prefWidth="100.0" styleClass="button-5" text="Eliminar">
                           <HBox.margin>
                              <Insets left="10.0" />
                           </HBox.margin>
                        </JFXButton>
                        <JFXButton fx:id="updateMeeting" buttonType="RAISED" onAction="#updateAct" prefHeight="37.0" prefWidth="108.0" styleClass="button-5" text="Actualizar">
                           <HBox.margin>
                              <Insets left="10.0" />
                           </HBox.margin>
                        </JFXButton>
                     </children>
                  </HBox>
               </children>
            </AnchorPane>
         </left>
      </BorderPane>
   </children>
</StackPane>