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

<?import com.jfoenix.controls.JFXButton?>
<?import com.jfoenix.controls.JFXChipView?>
<?import com.jfoenix.controls.JFXComboBox?>
<?import com.jfoenix.controls.JFXDatePicker?>
<?import com.jfoenix.controls.JFXListView?>
<?import com.jfoenix.controls.JFXRadioButton?>
<?import com.jfoenix.controls.JFXTextField?>
<?import com.jfoenix.controls.JFXTimePicker?>
<?import com.jfoenix.controls.JFXTreeTableView?>
<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView?>
<?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.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>

<StackPane fx:id="meetingStackPane" prefHeight="705.0" prefWidth="1148.0" 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.MeetingController">
   <children>
      <BorderPane fx:id="borderPane" prefHeight="723.0" StackPane.alignment="CENTER">
         <bottom>
            <AnchorPane fx:id="main" BorderPane.alignment="CENTER">
               <children>
                  <JFXTreeTableView fx:id="treeTableView" layoutX="18.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="408.0" prefWidth="1078.0" styleClass="border-curve-blue" AnchorPane.bottomAnchor="12.0" AnchorPane.leftAnchor="18.0" AnchorPane.rightAnchor="12.0" AnchorPane.topAnchor="0.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>
         <center>
            <AnchorPane fx:id="anchorPane" BorderPane.alignment="CENTER">
               <BorderPane.margin>
                  <Insets />
               </BorderPane.margin>
               <children>
                  <AnchorPane fx:id="notiMeetingPane" focusTraversable="true" layoutX="470.0" layoutY="16.0" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="226.0" prefWidth="522.0" AnchorPane.bottomAnchor="57.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="16.0">
                     <padding>
                        <Insets left="20.0" />
                     </padding>
                     <children>
                        <AnchorPane layoutX="45.0" layoutY="83.0" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="170.0" prefWidth="120.0" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="380.0" AnchorPane.topAnchor="80.0">
                           <children>
                              <JFXChipView fx:id="chipView" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="170.0" prefWidth="83.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                                 <styleClass>
                                    <String fx:value="background-5" />
                                    <String fx:value="border-curve-blue" />
                                 </styleClass>
                              </JFXChipView>
                           </children>
                        </AnchorPane>
                        <Label layoutX="50.0" layoutY="14.0" styleClass="label-small" text="Reuniones a notificar" AnchorPane.leftAnchor="5.0" AnchorPane.topAnchor="8.0" />
                        <Label layoutX="213.0" layoutY="10.0" styleClass="label-small" text="Lista de correos" AnchorPane.rightAnchor="188.0" AnchorPane.topAnchor="10.0" />
                        <JFXButton fx:id="loadEmailButton" alignment="CENTER" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" layoutX="412.0" layoutY="6.0" onAction="#loadEmailList" styleClass="button-2" AnchorPane.rightAnchor="75.0" AnchorPane.topAnchor="7.0">
                           <graphic>
                              <MaterialDesignIconView glyphName="FILE_EXPORT" size="15" styleClass="icons-1" />
                           </graphic>
                        </JFXButton>
                        <JFXButton fx:id="addEmailButton" alignment="CENTER" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" layoutX="190.0" layoutY="82.0" onAction="#onAddEmail" styleClass="button-2" text="+" AnchorPane.rightAnchor="297.0" AnchorPane.topAnchor="82.0">
                           <graphic>
                              <FontAwesomeIconView glyphName="PLUS" size="15" styleClass="icons-1" />
                           </graphic>
                        </JFXButton>
                        <JFXButton fx:id="deleteEmailButton" alignment="CENTER" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" layoutX="190.0" layoutY="131.0" onAction="#deleteEmail" styleClass="button-2" AnchorPane.rightAnchor="295.0" AnchorPane.topAnchor="131.0">
                           <graphic>
                              <MaterialDesignIconView glyphName="DELETE" size="15" styleClass="icons-1" />
                           </graphic>
                        </JFXButton>
                        <JFXButton fx:id="addMeetingChip" alignment="CENTER" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" ellipsisString="" layoutX="25.0" layoutY="43.0" onAction="#addChipViews" prefWidth="34.0" styleClass="button-2" AnchorPane.leftAnchor="5.0" AnchorPane.topAnchor="35.0">
                           <graphic>
                              <FontAwesomeIconView glyphName="PLUS" size="15" styleClass="icons-1" />
                           </graphic>
                        </JFXButton>
                        <JFXTextField fx:id="emailTextField" labelFloat="true" layoutX="270.0" layoutY="42.0" onKeyPressed="#addEmailEnter" prefHeight="31.0" prefWidth="268.0" promptText="Correo" AnchorPane.rightAnchor="22.0" AnchorPane.topAnchor="41.0" />
                        <JFXButton fx:id="delMeetingChip" alignment="CENTER" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" layoutX="78.0" layoutY="41.0" onAction="#clearChipView" styleClass="button-2" AnchorPane.leftAnchor="55.0" AnchorPane.topAnchor="35.0">
                           <graphic>
                              <MaterialDesignIconView glyphName="DELETE" size="15" styleClass="icons-1" />
                           </graphic>
                        </JFXButton>
                        <Label fx:id="sizeEmailList" layoutX="295.0" layoutY="9.0" text="0" AnchorPane.rightAnchor="157.0" AnchorPane.topAnchor="9.0" />
                        <AnchorPane layoutX="237.0" layoutY="82.0" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="168.0" prefWidth="270.0" AnchorPane.bottomAnchor="21.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="81.0">
                           <children>
                              <JFXListView fx:id="jfxEmailList" editable="true" prefHeight="166.0" prefWidth="270.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                                 <styleClass>
                                    <String fx:value="background-5" />
                                    <String fx:value="border-curve-blue" />
                                 </styleClass>
                              </JFXListView>
                           </children>
                        </AnchorPane>
                        <JFXButton fx:id="saveEmailButton" alignment="CENTER" buttonType="RAISED" contentDisplay="GRAPHIC_ONLY" layoutX="464.0" layoutY="7.0" onAction="#saveEmailList" styleClass="button-2" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="7.0">
                           <graphic>
                              <MaterialDesignIconView glyphName="IMPORT" size="15" styleClass="icons-1" />
                           </graphic>
                        </JFXButton>
                     </children>
                     <styleClass>
                        <String fx:value="background-5" />
                        <String fx:value="border-curve-blue" />
                     </styleClass>
                  </AnchorPane>
                  <JFXButton fx:id="sendButton" layoutX="513.0" layoutY="298.0" onAction="#onSend" prefHeight="37.0" prefWidth="98.0" styleClass="button-1" text="Enviar" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="21.0" />
               </children>
            </AnchorPane>
         </center>
         <left>
            <AnchorPane BorderPane.alignment="CENTER">
               <BorderPane.margin>
                  <Insets left="20.0" top="10.0" />
               </BorderPane.margin>
               <children>
                  <AnchorPane layoutX="10.0" layoutY="7.0" onKeyPressed="#onUpdateEnter" AnchorPane.bottomAnchor="55.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0">
                     <children>
                        <JFXTextField fx:id="topicJfxtext" alignment="TOP_LEFT" labelFloat="true" layoutX="117.0" layoutY="66.0" prefHeight="29.0" prefWidth="428.0" promptText="Tema" />
                        <JFXDatePicker fx:id="datePicker" defaultColor="#209ee7" layoutX="116.0" layoutY="134.0" overLay="true" prefHeight="30.0" prefWidth="122.0" promptText="Fecha" styleClass="hand-mode" />
                        <JFXTimePicker fx:id="timePicker" defaultColor="#209ee7" editable="true" layoutX="116.0" layoutY="191.0" overLay="true" prefHeight="30.0" prefWidth="122.0" promptText="Hora" styleClass="hand-mode" />
                        <JFXComboBox fx:id="statusJComboBox" focusColor="#209ee7" layoutX="253.0" layoutY="134.0" prefHeight="31.0" prefWidth="157.0" promptText="Estado" />
                        <JFXRadioButton fx:id="informedRadioB" layoutX="426.0" layoutY="149.0" prefHeight="21.0" prefWidth="128.0" styleClass="radioButton" text="Informada" />
                        <JFXTextField fx:id="iDtext" alignment="TOP_LEFT" editable="false" labelFloat="true" layoutX="24.0" layoutY="66.0" prefHeight="29.0" prefWidth="79.0" promptText="ID" />
                        <Label layoutX="24.0" layoutY="14.0" prefHeight="36.0" prefWidth="270.0" styleClass="label-small" text="Información de reunión" />
                     </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="#addMeeting" prefHeight="30.0" prefWidth="100.0" styleClass="button-1" text="Agregar">
                           <HBox.margin>
                              <Insets left="10.0" />
                           </HBox.margin>
                        </JFXButton>
                        <JFXButton fx:id="deleteMeeting" buttonType="RAISED" onAction="#deleteMeeting" prefHeight="30.0" prefWidth="100.0" styleClass="button-1" text="Eliminar">
                           <HBox.margin>
                              <Insets left="10.0" />
                           </HBox.margin>
                        </JFXButton>
                        <JFXButton fx:id="updateMeeting" buttonType="RAISED" onAction="#updateMeeting" 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>