Lines Matching refs:panel

66  * This is the panel that contains the Data Options: the suffix dn, whether to
84 * Constructor of the panel.
87 * Application represented by this panel the fields of the panel.
153 JPanel panel = new JPanel(new GridBagLayout());
154 panel.setOpaque(false);
158 addBackendTypeSection(panel, gbc);
159 addBaseDNSection(panel, gbc);
169 panel.add(getLabel(FieldName.DATA_OPTIONS), gbc);
176 panel.add(createRadioButtonPanel(), gbc);
178 addVerticalGlue(panel);
180 return panel;
183 private void addBackendTypeSection(final JPanel panel, final GridBagConstraints gbc)
190 panel.add(getLabel(FieldName.BACKEND_TYPE), gbc);
210 panel.add(auxPanel, gbc);
213 private void addBaseDNSection(final JPanel panel, final GridBagConstraints gbc)
220 panel.add(getLabel(FieldName.DIRECTORY_BASE_DN), gbc);
229 panel.add(auxPanel, gbc);
246 panel.add(Box.createHorizontalGlue(), gbc);
253 panel.add(noBaseDNLabel, gbc);
257 * Returns and creates the radio buttons panel.
259 * @return the radio buttons panel.
263 JPanel panel = new JPanel(new GridBagLayout());
265 panel.setOpaque(false);
271 panel.add(getRadioButton(NewSuffixOptions.Type.LEAVE_DATABASE_EMPTY), gbc);
273 panel.add(getRadioButton(NewSuffixOptions.Type.CREATE_BASE_ENTRY), gbc);
274 panel.add(getRadioButton(NewSuffixOptions.Type.IMPORT_FROM_LDIF_FILE), gbc);
281 panel.add(auxPanel, gbc);
284 panel.add(getRadioButton(NewSuffixOptions.Type.IMPORT_AUTOMATICALLY_GENERATED_DATA), gbc);
291 panel.add(auxPanel, gbc);
293 return panel;
297 * Returns the number entries panel.
299 * @return the number entries panel.
303 JPanel panel;
307 panel = new JPanel(new GridBagLayout());
308 panel.setOpaque(false);
312 panel.add(getLabel(FieldName.NUMBER_ENTRIES), gbc);
317 panel.add(getField(FieldName.NUMBER_ENTRIES), gbc);
322 panel.add(Box.createHorizontalGlue(), gbc);
324 return panel;
328 * Creates a panel with a field and a browse button.
334 * @return the created panel.