Lines Matching refs:gbc

156     GridBagConstraints gbc = new GridBagConstraints();
158 addBackendTypeSection(panel, gbc);
159 addBaseDNSection(panel, gbc);
164 gbc.gridwidth = GridBagConstraints.RELATIVE;
165 gbc.weightx = 0.0;
166 gbc.insets.top = UIFactory.TOP_INSET_PRIMARY_FIELD + additionalInset;
167 gbc.insets.left = 0;
168 gbc.anchor = GridBagConstraints.NORTHWEST;
169 panel.add(getLabel(FieldName.DATA_OPTIONS), gbc);
171 gbc.weightx = 1.0;
172 gbc.fill = GridBagConstraints.HORIZONTAL;
173 gbc.insets.top = UIFactory.TOP_INSET_PRIMARY_FIELD;
174 gbc.insets.left = UIFactory.LEFT_INSET_PRIMARY_FIELD;
175 gbc.gridwidth = GridBagConstraints.REMAINDER;
176 panel.add(createRadioButtonPanel(), gbc);
183 private void addBackendTypeSection(final JPanel panel, final GridBagConstraints gbc)
185 gbc.gridwidth = GridBagConstraints.RELATIVE;
186 gbc.weightx = 0.0;
187 gbc.insets.top = 0;
188 gbc.insets.left = 0;
189 gbc.anchor = GridBagConstraints.WEST;
190 panel.add(getLabel(FieldName.BACKEND_TYPE), gbc);
194 gbc.gridwidth = GridBagConstraints.RELATIVE;
195 gbc.insets = UIFactory.getEmptyInsets();
196 gbc.fill = GridBagConstraints.HORIZONTAL;
197 gbc.weightx = 0.0;
198 auxPanel.add(backendTypeComboBox, gbc);
200 gbc.gridwidth = GridBagConstraints.REMAINDER;
201 gbc.insets.left = UIFactory.LEFT_INSET_BROWSE;
202 gbc.weightx = 1.0;
203 gbc.fill = GridBagConstraints.HORIZONTAL;
204 auxPanel.add(Box.createHorizontalGlue(), gbc);
206 gbc.weightx = 1.0;
207 gbc.fill = GridBagConstraints.HORIZONTAL;
208 gbc.insets.left = UIFactory.LEFT_INSET_PRIMARY_FIELD;
209 gbc.gridwidth = GridBagConstraints.REMAINDER;
210 panel.add(auxPanel, gbc);
213 private void addBaseDNSection(final JPanel panel, final GridBagConstraints gbc)
215 gbc.gridwidth = GridBagConstraints.RELATIVE;
216 gbc.weightx = 0.0;
217 gbc.insets.top = UIFactory.TOP_INSET_PRIMARY_FIELD;
218 gbc.insets.left = 0;
219 gbc.anchor = GridBagConstraints.WEST;
220 panel.add(getLabel(FieldName.DIRECTORY_BASE_DN), gbc);
224 gbc.weightx = 1.0;
225 gbc.fill = GridBagConstraints.HORIZONTAL;
226 gbc.insets.top = UIFactory.TOP_INSET_PRIMARY_FIELD;
227 gbc.insets.left = UIFactory.LEFT_INSET_PRIMARY_FIELD;
228 gbc.gridwidth = GridBagConstraints.REMAINDER;
229 panel.add(auxPanel, gbc);
231 gbc.gridwidth = GridBagConstraints.RELATIVE;
232 gbc.insets = UIFactory.getEmptyInsets();
233 gbc.weightx = 0.0;
234 auxPanel.add(getField(FieldName.DIRECTORY_BASE_DN), gbc);
236 gbc.gridwidth = GridBagConstraints.REMAINDER;
237 gbc.weightx = 1.0;
238 gbc.fill = GridBagConstraints.HORIZONTAL;
239 auxPanel.add(Box.createHorizontalGlue(), gbc);
241 gbc.gridwidth = GridBagConstraints.RELATIVE;
242 gbc.weightx = 0.0;
243 gbc.insets.top = 0;
244 gbc.insets.left = 0;
245 gbc.anchor = GridBagConstraints.WEST;
246 panel.add(Box.createHorizontalGlue(), gbc);
248 gbc.insets.top = 3;
249 gbc.insets.left = UIFactory.LEFT_INSET_PRIMARY_FIELD;
250 gbc.gridwidth = GridBagConstraints.REMAINDER;
253 panel.add(noBaseDNLabel, gbc);
264 GridBagConstraints gbc = new GridBagConstraints();
267 gbc.gridwidth = GridBagConstraints.REMAINDER;
268 gbc.insets = UIFactory.getEmptyInsets();
269 gbc.weightx = 1.0;
270 gbc.fill = GridBagConstraints.HORIZONTAL;
271 panel.add(getRadioButton(NewSuffixOptions.Type.LEAVE_DATABASE_EMPTY), gbc);
272 gbc.insets.top = UIFactory.TOP_INSET_RADIOBUTTON;
273 panel.add(getRadioButton(NewSuffixOptions.Type.CREATE_BASE_ENTRY), gbc);
274 panel.add(getRadioButton(NewSuffixOptions.Type.IMPORT_FROM_LDIF_FILE), gbc);
278 gbc.insets = UIFactory.getEmptyInsets();
279 gbc.insets.top = UIFactory.TOP_INSET_RADIO_SUBORDINATE;
280 gbc.insets.left = UIFactory.LEFT_INSET_RADIO_SUBORDINATE;
281 panel.add(auxPanel, gbc);
283 gbc.insets.left = 0;
284 panel.add(getRadioButton(NewSuffixOptions.Type.IMPORT_AUTOMATICALLY_GENERATED_DATA), gbc);
288 gbc.insets = UIFactory.getEmptyInsets();
289 gbc.insets.top = UIFactory.TOP_INSET_SECONDARY_FIELD;
290 gbc.insets.left = UIFactory.LEFT_INSET_RADIO_SUBORDINATE;
291 panel.add(auxPanel, gbc);
305 GridBagConstraints gbc = new GridBagConstraints();
309 gbc.gridwidth = 3;
310 gbc.insets = UIFactory.getEmptyInsets();
311 gbc.weightx = 0.0;
312 panel.add(getLabel(FieldName.NUMBER_ENTRIES), gbc);
314 gbc.gridwidth--;
315 gbc.weightx = 0.1;
316 gbc.insets.left = UIFactory.LEFT_INSET_SECONDARY_FIELD;
317 panel.add(getField(FieldName.NUMBER_ENTRIES), gbc);
319 gbc.gridwidth = GridBagConstraints.REMAINDER;
320 gbc.weightx = 1.0;
321 gbc.fill = GridBagConstraints.HORIZONTAL;
322 panel.add(Box.createHorizontalGlue(), gbc);