sisga / src / main / resources / layout / act_layout.fxml
act_layout.fxml
Raw
<?xml version="1.0" encoding="UTF-8"?>

<?import com.jfoenix.controls.JFXButton?>
<?import com.jfoenix.controls.JFXDatePicker?>
<?import com.jfoenix.controls.JFXTextField?>
<?import com.jfoenix.controls.JFXTimePicker?>
<?import com.jfoenix.controls.JFXTreeTableView?>
<?import de.jensd.fx.glyphs.materialdesignicons.MaterialDesignIconView?>
<?import java.lang.String?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TreeTableView?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>

<StackPane fx:id="actStackPane" prefHeight="780.0" prefWidth="981.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="info.cortestudios.controllers.ActController">
   <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="310.0" prefWidth="860.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="256.0" prefWidth="842.0" AnchorPane.bottomAnchor="44.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="8.0" AnchorPane.topAnchor="10.0">
                     <children>
                        <JFXTextField fx:id="topicText" alignment="TOP_LEFT" labelFloat="true" layoutX="116.0" layoutY="122.0" prefHeight="31.0" prefWidth="393.0" promptText="Título" AnchorPane.topAnchor="122.0" />
                        <JFXDatePicker fx:id="datePicker" defaultColor="#209ee7" layoutX="116.0" layoutY="197.0" overLay="true" prefHeight="30.0" prefWidth="122.0" promptText="Fecha" styleClass="hand-mode" AnchorPane.topAnchor="197.0" />
                        <JFXTimePicker fx:id="timePicker" defaultColor="#209ee7" editable="true" layoutX="387.0" layoutY="198.0" overLay="true" prefHeight="30.0" prefWidth="122.0" promptText="Hora" styleClass="hand-mode" AnchorPane.topAnchor="198.0" />
                        <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 acta" />
                        <JFXTextField fx:id="meetingTittle" alignment="TOP_LEFT" editable="false" labelFloat="true" layoutX="18.0" layoutY="70.0" prefHeight="31.0" prefWidth="487.0" promptText="Reunión" AnchorPane.topAnchor="65.0">
                          </JFXTextField>
                        <AnchorPane fx:id="anchorPaneImage" cache="true" cacheHint="SPEED" layoutX="522.0" layoutY="26.0" prefHeight="200.0" prefWidth="235.0" styleClass="border-curve-blue" AnchorPane.topAnchor="10.0">
                           <children>
                              <ImageView fx:id="imageView" fitHeight="200.0" fitWidth="220.0" onMouseClicked="#showImage" pickOnBounds="true" AnchorPane.bottomAnchor="7.0" AnchorPane.leftAnchor="7.0" AnchorPane.rightAnchor="7.0" AnchorPane.topAnchor="7.0">
                                 <styleClass>
                                    <String fx:value="profile-image-background" />
                                    <String fx:value="hand-mode" />
                                 </styleClass></ImageView>
                           </children>
                        </AnchorPane>
                        <JFXButton fx:id="loadImageBtn" alignment="CENTER" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" layoutX="769.0" layoutY="14.0" onAction="#loadImage" prefHeight="35.0" prefWidth="35.0" styleClass="button-2">
                           <graphic>
                              <MaterialDesignIconView glyphName="FOLDER" size="18" styleClass="icons-1" />
                           </graphic>
                        </JFXButton>
                        <JFXButton fx:id="deleteImageBtn" alignment="CENTER" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" layoutX="769.0" layoutY="59.0" onAction="#deleteImage" prefHeight="35.0" prefWidth="38.0" styleClass="button-2">
                           <graphic>
                              <MaterialDesignIconView glyphName="DELETE" size="18" styleClass="icons-1" />
                           </graphic>
                        </JFXButton>
                     </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 buttonType="RAISED" onAction="#addAct" prefHeight="30.0" prefWidth="100.0" styleClass="button-1" text="Agregar">
                           <HBox.margin>
                              <Insets left="10.0" />
                           </HBox.margin>
                        </JFXButton>
                        <JFXButton buttonType="RAISED" onAction="#deleteAct" prefHeight="30.0" prefWidth="100.0" styleClass="button-1" text="Eliminar">
                           <HBox.margin>
                              <Insets left="10.0" />
                           </HBox.margin>
                        </JFXButton>
                        <JFXButton fx:id="updateAct" buttonType="RAISED" onAction="#updateAct" prefHeight="37.0" prefWidth="108.0" styleClass="button-1" text="Actualizar">
                           <HBox.margin>
                              <Insets left="10.0" />
                           </HBox.margin>
                        </JFXButton>
                     </children>
                  </HBox>
               </children>
            </AnchorPane>
         </left>
      </BorderPane>
   </children>
</StackPane>