|
6 | 6 | </Component> |
7 | 7 | </NonVisualComponents> |
8 | 8 | <Properties> |
9 | | - <Property name="defaultCloseOperation" type="int" value="3"/> |
| 9 | + <Property name="defaultCloseOperation" type="int" value="2"/> |
| 10 | + <Property name="title" type="java.lang.String" value="Atualizar Matéria-Prima"/> |
10 | 11 | </Properties> |
11 | 12 | <SyntheticProperties> |
12 | 13 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> |
13 | | - <SyntheticProperty name="generateCenter" type="boolean" value="false"/> |
| 14 | + <SyntheticProperty name="generateCenter" type="boolean" value="true"/> |
14 | 15 | </SyntheticProperties> |
| 16 | + <Events> |
| 17 | + <EventHandler event="windowOpened" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowOpened"/> |
| 18 | + </Events> |
15 | 19 | <AuxValues> |
16 | 20 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> |
17 | 21 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> |
|
34 | 38 | <Component id="lblNomeMateriaPrima" min="-2" max="-2" attributes="0"/> |
35 | 39 | <EmptySpace min="0" pref="0" max="32767" attributes="0"/> |
36 | 40 | </Group> |
37 | | - <Group type="102" attributes="0"> |
38 | | - <Group type="103" groupAlignment="0" attributes="0"> |
39 | | - <Component id="lblDescricaoMateriaPrima" min="-2" max="-2" attributes="0"/> |
40 | | - <Component id="lblUnidadeMedidaMateriaPrima" alignment="0" min="-2" max="-2" attributes="0"/> |
41 | | - </Group> |
42 | | - <EmptySpace max="32767" attributes="0"/> |
43 | | - <Component id="cbSelecionarMateriaPrima" min="-2" pref="291" max="-2" attributes="0"/> |
44 | | - <EmptySpace max="-2" attributes="0"/> |
45 | | - </Group> |
46 | 41 | <Group type="102" alignment="0" attributes="0"> |
47 | 42 | <Group type="103" groupAlignment="0" attributes="0"> |
48 | 43 | <Component id="lblTipoMateriaPrima" alignment="0" min="-2" max="-2" attributes="0"/> |
49 | 44 | <Component id="lblValorMateriaPrima" alignment="0" min="-2" max="-2" attributes="0"/> |
50 | 45 | </Group> |
51 | 46 | <EmptySpace min="-2" pref="101" max="-2" attributes="0"/> |
52 | 47 | <Group type="103" groupAlignment="0" attributes="0"> |
53 | | - <Group type="102" alignment="0" attributes="0"> |
54 | | - <EmptySpace min="0" pref="0" max="32767" attributes="0"/> |
| 48 | + <Group type="102" attributes="0"> |
| 49 | + <Component id="cbTipoMateriaPrima" min="-2" pref="217" max="-2" attributes="0"/> |
| 50 | + <EmptySpace max="32767" attributes="0"/> |
55 | 51 | <Component id="btnAtualizar" min="-2" pref="112" max="-2" attributes="0"/> |
56 | 52 | <EmptySpace min="-2" pref="55" max="-2" attributes="0"/> |
57 | 53 | <Component id="btnVoltar" min="-2" pref="103" max="-2" attributes="0"/> |
|
60 | 56 | <Group type="102" attributes="0"> |
61 | 57 | <Group type="103" groupAlignment="0" attributes="0"> |
62 | 58 | <Group type="103" groupAlignment="0" max="-2" attributes="0"> |
63 | | - <Component id="TxtDescricaoMateriaPrima" alignment="0" max="32767" attributes="0"/> |
| 59 | + <Component id="txtDescricaoMateriaPrima" alignment="0" max="32767" attributes="0"/> |
64 | 60 | <Component id="txtNomeMateriaPrima" alignment="0" pref="312" max="32767" attributes="0"/> |
65 | 61 | </Group> |
66 | | - <Component id="cbUnidadeMedidaMateriaPrima" alignment="0" min="-2" pref="217" max="-2" attributes="0"/> |
67 | | - <Component id="cbTipoMateriaPrima" min="-2" pref="217" max="-2" attributes="0"/> |
68 | 62 | <Component id="txtValorMateriaPrima" min="-2" pref="217" max="-2" attributes="0"/> |
69 | 63 | </Group> |
70 | 64 | <EmptySpace pref="68" max="32767" attributes="0"/> |
|
73 | 67 | </Group> |
74 | 68 | </Group> |
75 | 69 | </Group> |
| 70 | + <Group type="102" attributes="0"> |
| 71 | + <Group type="103" groupAlignment="0" attributes="0"> |
| 72 | + <Group type="102" alignment="0" attributes="0"> |
| 73 | + <Component id="lblUnidadeMedidaMateriaPrima" min="-2" max="-2" attributes="0"/> |
| 74 | + <EmptySpace max="-2" attributes="0"/> |
| 75 | + <Component id="cbUnidadeMedidaMateriaPrima" min="-2" pref="217" max="-2" attributes="0"/> |
| 76 | + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> |
| 77 | + </Group> |
| 78 | + <Group type="102" attributes="0"> |
| 79 | + <Group type="103" groupAlignment="0" attributes="0"> |
| 80 | + <Component id="lblDescricaoMateriaPrima" min="-2" max="-2" attributes="0"/> |
| 81 | + <Component id="lblQuantidade" alignment="0" min="-2" max="-2" attributes="0"/> |
| 82 | + </Group> |
| 83 | + <EmptySpace min="-2" pref="45" max="-2" attributes="0"/> |
| 84 | + <Component id="txtQuantidade" min="-2" pref="217" max="-2" attributes="0"/> |
| 85 | + <EmptySpace pref="148" max="32767" attributes="0"/> |
| 86 | + <Group type="103" groupAlignment="0" attributes="0"> |
| 87 | + <Component id="cbSelecionarMateriaPrima" alignment="1" min="-2" pref="291" max="-2" attributes="0"/> |
| 88 | + <Component id="lblSelecioneMateriaPrima" alignment="1" min="-2" max="-2" attributes="0"/> |
| 89 | + </Group> |
| 90 | + </Group> |
| 91 | + </Group> |
| 92 | + <EmptySpace max="-2" attributes="0"/> |
| 93 | + </Group> |
76 | 94 | </Group> |
77 | 95 | </Group> |
78 | | - <Group type="102" alignment="1" attributes="0"> |
79 | | - <EmptySpace max="32767" attributes="0"/> |
80 | | - <Component id="lblSelecioneMateriaPrima" min="-2" max="-2" attributes="0"/> |
81 | | - <EmptySpace max="-2" attributes="0"/> |
82 | | - </Group> |
83 | 96 | </Group> |
84 | 97 | </DimensionLayout> |
85 | 98 | <DimensionLayout dim="1"> |
|
107 | 120 | </Group> |
108 | 121 | <Group type="103" groupAlignment="0" attributes="0"> |
109 | 122 | <Component id="lblDescricaoMateriaPrima" alignment="0" min="-2" max="-2" attributes="0"/> |
110 | | - <Component id="TxtDescricaoMateriaPrima" alignment="0" min="-2" pref="176" max="-2" attributes="0"/> |
| 123 | + <Component id="txtDescricaoMateriaPrima" alignment="0" min="-2" pref="176" max="-2" attributes="0"/> |
111 | 124 | </Group> |
112 | | - <EmptySpace type="separate" max="-2" attributes="0"/> |
113 | | - <Group type="103" groupAlignment="1" attributes="0"> |
114 | | - <Component id="txtValorMateriaPrima" min="-2" pref="36" max="-2" attributes="0"/> |
115 | | - <Component id="lblValorMateriaPrima" min="-2" max="-2" attributes="0"/> |
| 125 | + <EmptySpace min="-2" pref="26" max="-2" attributes="0"/> |
| 126 | + <Group type="103" groupAlignment="3" attributes="0"> |
| 127 | + <Component id="lblValorMateriaPrima" alignment="3" min="-2" max="-2" attributes="0"/> |
| 128 | + <Component id="txtValorMateriaPrima" alignment="3" min="-2" pref="36" max="-2" attributes="0"/> |
116 | 129 | </Group> |
117 | 130 | <EmptySpace max="-2" attributes="0"/> |
118 | | - <Component id="lblSelecioneMateriaPrima" min="-2" max="-2" attributes="0"/> |
119 | | - <EmptySpace max="-2" attributes="0"/> |
120 | | - <Group type="103" groupAlignment="0" attributes="0"> |
121 | | - <Group type="102" alignment="1" attributes="0"> |
122 | | - <Group type="103" groupAlignment="1" max="-2" attributes="0"> |
123 | | - <Component id="cbUnidadeMedidaMateriaPrima" pref="25" max="32767" attributes="0"/> |
124 | | - <Component id="cbSelecionarMateriaPrima" max="32767" attributes="0"/> |
125 | | - </Group> |
126 | | - <EmptySpace min="-2" pref="33" max="-2" attributes="0"/> |
127 | | - <Group type="103" groupAlignment="3" attributes="0"> |
128 | | - <Component id="cbTipoMateriaPrima" alignment="3" min="-2" pref="28" max="-2" attributes="0"/> |
129 | | - <Component id="lblTipoMateriaPrima" alignment="3" min="-2" max="-2" attributes="0"/> |
130 | | - </Group> |
| 131 | + <Group type="103" groupAlignment="1" attributes="0"> |
| 132 | + <Group type="102" attributes="0"> |
| 133 | + <Component id="lblSelecioneMateriaPrima" min="-2" max="-2" attributes="0"/> |
| 134 | + <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> |
| 135 | + <Component id="cbSelecionarMateriaPrima" min="-2" pref="25" max="-2" attributes="0"/> |
| 136 | + </Group> |
| 137 | + <Group type="103" groupAlignment="3" attributes="0"> |
| 138 | + <Component id="lblQuantidade" alignment="3" min="-2" max="-2" attributes="0"/> |
| 139 | + <Component id="txtQuantidade" alignment="3" min="-2" pref="36" max="-2" attributes="0"/> |
131 | 140 | </Group> |
132 | | - <Component id="lblUnidadeMedidaMateriaPrima" min="-2" max="-2" attributes="0"/> |
133 | 141 | </Group> |
134 | | - <EmptySpace min="-2" pref="21" max="-2" attributes="0"/> |
| 142 | + <EmptySpace min="-2" pref="36" max="-2" attributes="0"/> |
| 143 | + <Group type="103" groupAlignment="3" attributes="0"> |
| 144 | + <Component id="lblUnidadeMedidaMateriaPrima" alignment="3" min="-2" max="-2" attributes="0"/> |
| 145 | + <Component id="cbUnidadeMedidaMateriaPrima" alignment="3" pref="25" max="32767" attributes="0"/> |
| 146 | + </Group> |
| 147 | + <EmptySpace type="separate" max="-2" attributes="0"/> |
135 | 148 | <Group type="103" groupAlignment="0" max="-2" attributes="0"> |
| 149 | + <Component id="btnAtualizar" pref="45" max="32767" attributes="0"/> |
136 | 150 | <Component id="btnVoltar" pref="45" max="32767" attributes="0"/> |
137 | | - <Component id="btnAtualizar" alignment="0" max="32767" attributes="0"/> |
| 151 | + <Group type="103" alignment="0" groupAlignment="3" attributes="0"> |
| 152 | + <Component id="cbTipoMateriaPrima" alignment="3" min="-2" pref="28" max="-2" attributes="0"/> |
| 153 | + <Component id="lblTipoMateriaPrima" alignment="3" min="-2" max="-2" attributes="0"/> |
| 154 | + </Group> |
138 | 155 | </Group> |
139 | | - <EmptySpace pref="67" max="32767" attributes="0"/> |
| 156 | + <EmptySpace pref="56" max="32767" attributes="0"/> |
140 | 157 | </Group> |
141 | 158 | </Group> |
142 | 159 | </DimensionLayout> |
|
211 | 228 | <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<TipoMateriaPrimaModel>"/> |
212 | 229 | </AuxValues> |
213 | 230 | </Component> |
214 | | - <Component class="javax.swing.JTextField" name="TxtDescricaoMateriaPrima"> |
215 | | - <Events> |
216 | | - <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="TxtDescricaoMateriaPrimaActionPerformed"/> |
217 | | - </Events> |
| 231 | + <Component class="javax.swing.JTextField" name="txtDescricaoMateriaPrima"> |
218 | 232 | </Component> |
219 | 233 | <Component class="javax.swing.JButton" name="btnAtualizar"> |
220 | 234 | <Properties> |
|
233 | 247 | <StringArray count="0"/> |
234 | 248 | </Property> |
235 | 249 | </Properties> |
| 250 | + <Events> |
| 251 | + <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="cbSelecionarMateriaPrimaItemStateChanged"/> |
| 252 | + </Events> |
236 | 253 | <AuxValues> |
237 | 254 | <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<MateriaPrimaModel>"/> |
238 | 255 | </AuxValues> |
|
244 | 261 | <Component class="javax.swing.JComboBox" name="cbUnidadeMedidaMateriaPrima"> |
245 | 262 | <Properties> |
246 | 263 | <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> |
247 | | - <StringArray count="1"> |
248 | | - <StringItem index="0" value=" "/> |
249 | | - </StringArray> |
| 264 | + <StringArray count="0"/> |
250 | 265 | </Property> |
251 | 266 | </Properties> |
252 | 267 | <AuxValues> |
|
258 | 273 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> |
259 | 274 | <Font name="Segoe UI" size="18" style="1"/> |
260 | 275 | </Property> |
261 | | - <Property name="text" type="java.lang.String" value="Atualizar Matéria-Prima"/> |
| 276 | + <Property name="text" type="java.lang.String" value="Selecione a Matéria-Prima"/> |
| 277 | + </Properties> |
| 278 | + </Component> |
| 279 | + <Component class="javax.swing.JLabel" name="lblQuantidade"> |
| 280 | + <Properties> |
| 281 | + <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> |
| 282 | + <Font name="Segoe UI" size="18" style="1"/> |
| 283 | + </Property> |
| 284 | + <Property name="text" type="java.lang.String" value="Quantidade"/> |
262 | 285 | </Properties> |
263 | 286 | </Component> |
| 287 | + <Component class="javax.swing.JTextField" name="txtQuantidade"> |
| 288 | + </Component> |
264 | 289 | </SubComponents> |
265 | 290 | </Form> |
0 commit comments