|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 |
|
3 |
| -<?import javafx.geometry.*?> |
4 |
| -<?import javafx.scene.control.*?> |
5 |
| -<?import javafx.scene.layout.*?> |
6 |
| -<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="br.com.pirilampo.controller.MainController"> |
| 3 | +<?import javafx.geometry.Insets?> |
| 4 | +<?import javafx.scene.control.Button?> |
| 5 | +<?import javafx.scene.control.Label?> |
| 6 | +<?import javafx.scene.control.ProgressBar?> |
| 7 | +<?import javafx.scene.control.Separator?> |
| 8 | +<?import javafx.scene.control.TextField?> |
| 9 | +<?import javafx.scene.layout.ColumnConstraints?> |
| 10 | +<?import javafx.scene.layout.GridPane?> |
| 11 | +<?import javafx.scene.layout.RowConstraints?> |
| 12 | + |
| 13 | +<?import javafx.scene.control.ToggleGroup?> |
| 14 | +<?import javafx.scene.control.RadioButton?> |
| 15 | +<GridPane |
| 16 | + vgap="10.0" |
| 17 | + maxHeight="-Infinity" |
| 18 | + maxWidth="-Infinity" |
| 19 | + minHeight="-Infinity" |
| 20 | + minWidth="-Infinity" |
| 21 | + prefHeight="600.0" |
| 22 | + prefWidth="600.0" |
| 23 | + xmlns="http://javafx.com/javafx/8.0.112" |
| 24 | + xmlns:fx="http://javafx.com/fxml/1" |
| 25 | + fx:controller="br.com.pirilampo.controller.MainController" |
| 26 | +> |
7 | 27 | <fx:define>
|
8 |
| - <ToggleGroup fx:id="rdoLayoutPdf"/> |
| 28 | + <ToggleGroup fx:id="rdoLayoutPdf" /> |
9 | 29 | </fx:define>
|
10 | 30 | <columnConstraints>
|
11 | 31 | <ColumnConstraints hgrow="ALWAYS" />
|
|
18 | 38 | <RowConstraints prefHeight="30.0" vgrow="ALWAYS" />
|
19 | 39 | <RowConstraints prefHeight="30.0" vgrow="ALWAYS" />
|
20 | 40 | <RowConstraints prefHeight="30.0" vgrow="ALWAYS" />
|
| 41 | + <RowConstraints vgrow="ALWAYS" /> |
21 | 42 | <RowConstraints prefHeight="30.0" vgrow="ALWAYS" />
|
22 | 43 | <RowConstraints prefHeight="40.0" vgrow="ALWAYS" />
|
23 | 44 | <RowConstraints prefHeight="30.0" vgrow="ALWAYS" />
|
|
30 | 51 | <RowConstraints prefHeight="30.0" vgrow="ALWAYS" />
|
31 | 52 | <RowConstraints prefHeight="40.0" vgrow="ALWAYS" />
|
32 | 53 | <RowConstraints prefHeight="40.0" vgrow="ALWAYS" />
|
33 |
| - <RowConstraints /> |
| 54 | + <RowConstraints /> |
34 | 55 | </rowConstraints>
|
35 |
| - <children> |
36 |
| - <Label style="-fx-font-size: 12px; -fx-font-weight: bolder" text="Dados do Projeto" GridPane.rowIndex="0" /> |
37 |
| - <Label text="Nome:" GridPane.rowIndex="1" /> |
38 |
| - <TextField fx:id="txtNome" text="Pirilampo" GridPane.rowIndex="2" /> |
39 |
| - <Label text="Versão:" GridPane.rowIndex="3" /> |
40 |
| - <TextField fx:id="txtVersao" text="1.0" GridPane.rowIndex="4" /> |
41 |
| - <Label text="Layout PDF:" GridPane.rowIndex="5" /> |
42 |
| - <RadioButton toggleGroup="$rdoLayoutPdf" text="Retrato" userData="R" mnemonicParsing="false" selected="true" GridPane.rowIndex="6"/> |
43 |
| - <RadioButton toggleGroup="$rdoLayoutPdf" text="Paisagem" userData="P" mnemonicParsing="false" GridPane.rowIndex="6"> |
44 |
| - <GridPane.margin> |
45 |
| - <Insets left="100.0" /> |
46 |
| - </GridPane.margin> |
47 |
| - </RadioButton> |
48 |
| - <Separator prefWidth="200.0" GridPane.rowIndex="7" /> |
| 56 | + <padding> |
| 57 | + <Insets bottom="14.0" left="14.0" right="14.0" top="14.0" /> |
| 58 | + </padding> |
| 59 | + <Label style="-fx-font-size: 12px; -fx-font-weight: bolder" text="Dados do Projeto" GridPane.rowIndex="0" /> |
| 60 | + <Label text="Nome:" GridPane.rowIndex="1" /> |
| 61 | + <TextField fx:id="txtNome" text="Pirilampo" GridPane.rowIndex="2" /> |
| 62 | + <Label text="Versão:" GridPane.rowIndex="3" /> |
| 63 | + <TextField fx:id="txtVersao" text="1.0" GridPane.rowIndex="4" /> |
| 64 | + <Label text="Layout PDF:" GridPane.rowIndex="5" /> |
| 65 | + <RadioButton toggleGroup="$rdoLayoutPdf" text="Retrato" userData="R" mnemonicParsing="false" selected="true" GridPane.rowIndex="6"/> |
| 66 | + <RadioButton toggleGroup="$rdoLayoutPdf" text="Paisagem" userData="P" mnemonicParsing="false" GridPane.rowIndex="6"> |
| 67 | + <GridPane.margin> |
| 68 | + <Insets left="100.0"/> |
| 69 | + </GridPane.margin> |
| 70 | + </RadioButton> |
49 | 71 |
|
50 |
| - <Label style="-fx-font-size: 12px; -fx-font-weight: bolder" text="Compilar Feature Individual" GridPane.rowIndex="8" /> |
51 |
| - <Label text="Feature:" GridPane.rowIndex="9" /> |
52 |
| - <TextField fx:id="txtFeatureSrc" maxWidth="400.0" GridPane.rowIndex="10" /> |
53 |
| - <Button fx:id="btnSelecionarFeature" onAction="#selecionarFeature" text="Selecionar" GridPane.rowIndex="10"> |
| 72 | + <GridPane hgap="10.0" GridPane.rowIndex="7"> |
| 73 | + <columnConstraints> |
| 74 | + <ColumnConstraints hgrow="ALWAYS" /> |
| 75 | + <ColumnConstraints hgrow="ALWAYS" /> |
| 76 | + <ColumnConstraints hgrow="ALWAYS" /> |
| 77 | + </columnConstraints> |
| 78 | + <rowConstraints> |
| 79 | + <RowConstraints prefHeight="30.0" vgrow="ALWAYS" /> |
| 80 | + <RowConstraints prefHeight="30.0" vgrow="ALWAYS" /> |
| 81 | + </rowConstraints> |
| 82 | + <Label text="Cor Menu:" GridPane.columnIndex="0" /> |
| 83 | + <Label text="Nome menu Raiz:" GridPane.columnIndex="1" /> |
| 84 | + <Label text="Logo:" GridPane.columnIndex="2" /> |
| 85 | + <TextField fx:id="txtCorMenu" GridPane.columnIndex="0" GridPane.rowIndex="1" /> |
| 86 | + <TextField fx:id="txtRootMenuNome" GridPane.columnIndex="1" GridPane.rowIndex="1" /> |
| 87 | + <TextField fx:id="txtBrandSrc" maxWidth="100.0" GridPane.columnIndex="2" GridPane.rowIndex="1" /> |
| 88 | + <Button fx:id="btnBrandSrc" onAction="#selecionarBrand" text="Selecionar" GridPane.columnIndex="2" GridPane.rowIndex="1"> |
54 | 89 | <GridPane.margin>
|
55 |
| - <Insets left="414.0" /> |
| 90 | + <Insets left="114.0" /> |
56 | 91 | </GridPane.margin>
|
57 | 92 | </Button>
|
58 |
| - <Button fx:id="btnFeatureGerarHtml" onAction="#featureGerarHtml" text="Gerar HTML" GridPane.rowIndex="11" /> |
59 |
| - <Button fx:id="btnFeatureGerarPdf" onAction="#featureGerarPdf" text="Gerar PDF" GridPane.rowIndex="11"> |
60 |
| - <GridPane.margin> |
61 |
| - <Insets left="100.0" /> |
62 |
| - </GridPane.margin> |
63 |
| - </Button> |
64 |
| - <Separator prefWidth="200.0" GridPane.rowIndex="12" /> |
| 93 | + </GridPane> |
65 | 94 |
|
66 |
| - <Label style="-fx-font-size: 12px; -fx-font-weight: bolder" text="Compilar Várias Feature" GridPane.rowIndex="13" /> |
67 |
| - <Label text="Pasta:" GridPane.rowIndex="14" /> |
68 |
| - <TextField fx:id="txtPastaSrc" maxWidth="400.0" GridPane.rowIndex="15" /> |
69 |
| - <Button fx:id="btnSelecionarPasta" onAction="#selecionarPasta" text="Selecionar" GridPane.rowIndex="15"> |
70 |
| - <GridPane.margin> |
71 |
| - <Insets left="414.0" /> |
72 |
| - </GridPane.margin> |
73 |
| - </Button> |
74 |
| - <Button fx:id="btnPastaGerarHtml" onAction="#pastaGerarHtml" text="Gerar HTML" GridPane.rowIndex="16" /> |
75 |
| - <Button fx:id="btnPastaGerarPdf" onAction="#pastaGerarPdf" text="Gerar PDF" GridPane.rowIndex="16"> |
76 |
| - <GridPane.margin> |
77 |
| - <Insets left="100.0" /> |
78 |
| - </GridPane.margin> |
79 |
| - </Button> |
80 |
| - <ProgressBar fx:id="progressBar" maxHeight="-Infinity" maxWidth="1.7976931348623157E308" progress="0.0" GridPane.rowIndex="18" /> |
81 |
| - </children> |
82 |
| - <padding> |
83 |
| - <Insets bottom="14.0" left="14.0" right="14.0" top="14.0" /> |
84 |
| - </padding> |
| 95 | + <Separator prefWidth="200.0" GridPane.rowIndex="8" /> |
| 96 | + |
| 97 | + <Label style="-fx-font-size: 12px; -fx-font-weight: bolder" text="Compilar Feature Individual" GridPane.rowIndex="9" /> |
| 98 | + <Label text="Feature:" GridPane.rowIndex="10" /> |
| 99 | + <TextField fx:id="txtFeatureSrc" maxWidth="400.0" GridPane.rowIndex="11" /> |
| 100 | + <Button fx:id="btnSelecionarFeature" onAction="#selecionarFeature" text="Selecionar" GridPane.rowIndex="11"> |
| 101 | + <GridPane.margin> |
| 102 | + <Insets left="414.0" /> |
| 103 | + </GridPane.margin> |
| 104 | + </Button> |
| 105 | + <Button fx:id="btnFeatureGerarHtml" onAction="#featureGerarHtml" text="Gerar HTML" GridPane.rowIndex="12" /> |
| 106 | + <Button fx:id="btnFeatureGerarPdf" onAction="#featureGerarPdf" text="Gerar PDF" GridPane.rowIndex="12"> |
| 107 | + <GridPane.margin> |
| 108 | + <Insets left="100.0" /> |
| 109 | + </GridPane.margin> |
| 110 | + </Button> |
| 111 | + <Separator prefWidth="200.0" GridPane.rowIndex="13" /> |
| 112 | + |
| 113 | + <Label style="-fx-font-size: 12px; -fx-font-weight: bolder" text="Compilar Várias Feature" GridPane.rowIndex="14" /> |
| 114 | + <Label text="Pasta:" GridPane.rowIndex="15" /> |
| 115 | + <TextField fx:id="txtPastaSrc" maxWidth="400.0" GridPane.rowIndex="16" /> |
| 116 | + <Button fx:id="btnSelecionarPasta" onAction="#selecionarPasta" text="Selecionar" GridPane.rowIndex="16"> |
| 117 | + <GridPane.margin> |
| 118 | + <Insets left="414.0" /> |
| 119 | + </GridPane.margin> |
| 120 | + </Button> |
| 121 | + <Button fx:id="btnPastaGerarHtml" onAction="#pastaGerarHtml" text="Gerar HTML" GridPane.rowIndex="17" /> |
| 122 | + <Button fx:id="btnPastaGerarPdf" onAction="#pastaGerarPdf" text="Gerar PDF" GridPane.rowIndex="17"> |
| 123 | + <GridPane.margin> |
| 124 | + <Insets left="100.0" /> |
| 125 | + </GridPane.margin> |
| 126 | + </Button> |
| 127 | + <ProgressBar fx:id="progressBar" maxHeight="-Infinity" maxWidth="1.7976931348623157E308" progress="0.0" GridPane.rowIndex="19" /> |
85 | 128 | </GridPane>
|
0 commit comments