当前位置: 首页>>代码示例>>Java>>正文


Java DefaultFormBuilder.appendSeparator方法代码示例

本文整理汇总了Java中com.jgoodies.forms.builder.DefaultFormBuilder.appendSeparator方法的典型用法代码示例。如果您正苦于以下问题:Java DefaultFormBuilder.appendSeparator方法的具体用法?Java DefaultFormBuilder.appendSeparator怎么用?Java DefaultFormBuilder.appendSeparator使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.jgoodies.forms.builder.DefaultFormBuilder的用法示例。


在下文中一共展示了DefaultFormBuilder.appendSeparator方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: appendBannerToPresentation

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
private void appendBannerToPresentation(
   DefaultFormBuilder formBuilder,
   final String text
   ) {
   if(text == null || text.isEmpty()) return;
   formBuilder.appendSeparator(text);
}
 
开发者ID:crisis-economics,项目名称:CRISIS,代码行数:8,代码来源:Page_Parameters.java

示例2: layout

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
public void layout(DefaultFormBuilder builder,
		TextTranslator pTranslator) {
	JLabel label = builder.append(pTranslator.getText(getLabel()));
	builder.append(new JLabel());
	label.setToolTipText(pTranslator.getText(getDescription()));
	builder.appendSeparator();
	builder.append(new JScrollPane(mList), 3);
	// builder.append(mList);
}
 
开发者ID:iwabuchiken,项目名称:freemind_1.0.0_20140624_214725,代码行数:10,代码来源:AutomaticLayout.java

示例3: setup

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
public void setup(final AtsOperator op, DefaultFormBuilder builder) {
    JTextField fiedl = new JTextField("stuff");
    fiedl.setEditable(false);

    AtsOperatorMetadata info = op.getClass().getAnnotation(AtsOperatorMetadata.class);
    String name = op.getClass().getCanonicalName();

    if (info != null) {
        name = info.operatorDesignation();
    }

    fiedl.setText(name);
    fiedl.putClientProperty(SubstanceLookAndFeel.SHOW_EXTRA_WIDGETS, Boolean.TRUE);
    // builder.appendSeparator("Metadata");
    builder.appendSeparator("Basic Properties");
    builder.append("type", fiedl);

    final JTextField nameField = new JTextField(op.getName());

    nameField.addKeyListener(new KeyAdapter() {
        @Override
        public void keyReleased(KeyEvent e) {
            op.setName(nameField.getText());

            if (op instanceof Load || op instanceof Store) {

                // if(op instanceof Load)
                // op.setDirty(true);
                // else // store
                // op.setChidrenDirty(true);

                AtsOperatorGraph.getInstance().connectOperators();

                listener_.propertyChanged();
            }

            AtsOperatorGraphView.getInstance().render();
        }
    });

    builder.append("custom name", nameField);
    builder.appendSeparator("Operator Parameters");
}
 
开发者ID:jdiemke,项目名称:XPTS,代码行数:44,代码来源:PropertyContainer.java

示例4: layout

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
public void layout(DefaultFormBuilder builder, TextTranslator pTranslator) {
	builder.appendSeparator(pTranslator.getText("separator." + getLabel()));
}
 
开发者ID:iwabuchiken,项目名称:freemind_1.0.0_20140624_214725,代码行数:4,代码来源:SeparatorProperty.java

示例5: ExportSortingPrefsTab

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
public ExportSortingPrefsTab(JabRefPreferences prefs) {
    this.prefs = prefs;
    FormLayout layout = new FormLayout("4dlu, left:pref, 4dlu, fill:pref", "");
    DefaultFormBuilder builder = new DefaultFormBuilder(layout);
    builder.leadingColumnOffset(1);

    // EXPORT SORT ORDER
    // create Components
    exportInOriginalOrder = new JRadioButton(Localization.lang("Export entries in their original order"));
    exportInTableOrder = new JRadioButton(Localization.lang("Export in current table sort order"));
    exportInSpecifiedOrder = new JRadioButton(Localization.lang("Export entries ordered as specified"));

    ButtonGroup buttonGroup = new ButtonGroup();
    buttonGroup.add(exportInOriginalOrder);
    buttonGroup.add(exportInTableOrder);
    buttonGroup.add(exportInSpecifiedOrder);

    ActionListener listener = new ActionListener() {

        @Override
        public void actionPerformed(ActionEvent e) {
            boolean selected = e.getSource() == exportInSpecifiedOrder;
            exportOrderPanel.setEnabled(selected);
        }
    };
    exportInOriginalOrder.addActionListener(listener);
    exportInTableOrder.addActionListener(listener);
    exportInSpecifiedOrder.addActionListener(listener);

    // create GUI
    builder.appendSeparator(Localization.lang("Export sort order"));
    builder.append(exportInOriginalOrder, 1);
    builder.nextLine();
    builder.append(exportInTableOrder, 1);
    builder.nextLine();
    builder.append(exportInSpecifiedOrder, 1);
    builder.nextLine();

    exportOrderPanel = new SaveOrderConfigDisplay();
    builder.append(exportOrderPanel.getPanel());
    builder.nextLine();

    // COMBINE EVERYTHING
    JPanel pan = builder.getPanel();
    pan.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
    setLayout(new BorderLayout());
    add(pan, BorderLayout.CENTER);
}
 
开发者ID:JabRef,项目名称:jabref,代码行数:49,代码来源:ExportSortingPrefsTab.java

示例6: AdvancedTab

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
public AdvancedTab(JabRefPreferences prefs) {
    preferences = prefs;
    remotePreferences = prefs.getRemotePreferences();

    useRemoteServer = new JCheckBox(Localization.lang("Listen for remote operation on port") + ':');
    useIEEEAbrv = new JCheckBox(Localization.lang("Use IEEE LaTeX abbreviations"));
    remoteServerPort = new JTextField();
    useCaseKeeperOnSearch = new JCheckBox(Localization.lang("Add {} to specified title words on search to keep the correct case"));
    useUnitFormatterOnSearch = new JCheckBox(Localization.lang("Format units by adding non-breaking separators and keeping the correct case on search"));

    FormLayout layout = new FormLayout
            ("1dlu, 8dlu, left:pref, 4dlu, fill:3dlu",//, 4dlu, fill:pref",// 4dlu, left:pref, 4dlu",
                    "");
    DefaultFormBuilder builder = new DefaultFormBuilder(layout);
    JPanel pan = new JPanel();

    builder.appendSeparator(Localization.lang("Remote operation"));
    builder.nextLine();
    builder.append(new JPanel());
    builder.append(new JLabel("<html>"
            + Localization.lang("This feature lets new files be opened or imported into an "
                    + "already running instance of JabRef<BR>instead of opening a new instance. For instance, this "
                    + "is useful when you open a file in JabRef<br>from your web browser."
                    + "<BR>Note that this will prevent you from running more than one instance of JabRef at a time.")
            + "</html>"));
    builder.nextLine();
    builder.append(new JPanel());

    JPanel p = new JPanel();
    p.add(useRemoteServer);
    p.add(remoteServerPort);
    p.add(new HelpAction(HelpFile.REMOTE).getHelpButton());
    builder.append(p);

    // IEEE
    builder.nextLine();
    builder.appendSeparator(Localization.lang("Search %0", "IEEEXplore"));
    builder.nextLine();
    builder.append(new JPanel());
    builder.append(useIEEEAbrv);

    builder.nextLine();
    builder.appendSeparator(Localization.lang("Import conversions"));
    builder.nextLine();
    builder.append(pan);
    builder.append(useCaseKeeperOnSearch);
    builder.nextLine();
    builder.append(pan);
    builder.append(useUnitFormatterOnSearch);

    pan = builder.getPanel();
    pan.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
    setLayout(new BorderLayout());
    add(pan, BorderLayout.CENTER);

}
 
开发者ID:JabRef,项目名称:jabref,代码行数:57,代码来源:AdvancedTab.java

示例7: ImportSettingsTab

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
public ImportSettingsTab(JabRefPreferences prefs) {
    this.prefs = Objects.requireNonNull(prefs);

    setLayout(new BorderLayout());
    FormLayout layout = new FormLayout("1dlu, 8dlu, left:pref, 4dlu, fill:3dlu");
    radioButtonNoMeta = new JRadioButton(Localization.lang("Create blank entry linking the PDF"));
    radioButtonXmp = new JRadioButton(Localization.lang("Create entry based on XMP-metadata"));
    radioButtonPDFcontent = new JRadioButton(Localization.lang("Create entry based on content"));
    radioButtononlyAttachPDF = new JRadioButton(Localization.lang("Only attach PDF"));
    ButtonGroup bg = new ButtonGroup();
    bg.add(radioButtonNoMeta);
    bg.add(radioButtonXmp);
    bg.add(radioButtonPDFcontent);
    bg.add(radioButtononlyAttachPDF);

    useDefaultPDFImportStyle = new JCheckBox(
            Localization.lang("Always use this PDF import style (and do not ask for each import)"));

    fileNamePattern = new JTextField(50);
    fileDirPattern = new JTextField(50);
    selectFileNamePattern = new JButton(Localization.lang("Choose pattern"));
    selectFileNamePattern.addActionListener(e -> openFilePatternMenu());

    DefaultFormBuilder builder = new DefaultFormBuilder(layout);
    JPanel pan = new JPanel();

    builder.appendSeparator(Localization.lang("Default import style for drag and drop of PDFs"));
    builder.nextLine();
    builder.append(pan);
    builder.append(radioButtonNoMeta);
    builder.nextLine();
    builder.append(pan);
    builder.append(radioButtonXmp);
    builder.nextLine();
    builder.append(pan);
    builder.append(radioButtonPDFcontent);
    builder.nextLine();
    builder.append(pan);
    builder.append(radioButtononlyAttachPDF);
    builder.nextLine();
    builder.append(pan);
    builder.append(useDefaultPDFImportStyle);
    builder.nextLine();

    builder.appendSeparator(Localization.lang("Default PDF file link action"));
    builder.nextLine();
    builder.append(pan);

    JPanel pan2 = new JPanel();
    JLabel lab = new JLabel(Localization.lang("Filename format pattern").concat(":"));
    pan2.add(lab);
    pan2.add(fileNamePattern);
    pan2.add(selectFileNamePattern);
    builder.append(pan2);

    JPanel pan3 = new JPanel();
    JLabel lbfileDirPattern = new JLabel(Localization.lang("File directory pattern").concat(":"));
    pan3.add(lbfileDirPattern);
    pan3.add(fileDirPattern);

    builder.nextLine();
    builder.append(pan);
    builder.append(pan3);

    pan = builder.getPanel();
    pan.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
    add(pan, BorderLayout.CENTER);
}
 
开发者ID:JabRef,项目名称:jabref,代码行数:69,代码来源:ImportSettingsTab.java

示例8: appendKeyGeneratorSettings

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
private void appendKeyGeneratorSettings() {
    ButtonGroup bg = new ButtonGroup();
    bg.add(letterStartA);
    bg.add(letterStartB);
    bg.add(alwaysAddLetter);

    // Build a panel for checkbox settings:
    FormLayout layout = new FormLayout
            ("1dlu, 8dlu, left:pref, 8dlu, left:pref", "");
    JPanel pan = new JPanel();
    DefaultFormBuilder builder = new DefaultFormBuilder(layout);
    builder.appendSeparator(Localization.lang("Key generator settings"));

    builder.nextLine();
    builder.append(pan);
    builder.append(autoGenerateOnImport);
    builder.append(letterStartA);
    builder.nextLine();
    builder.append(pan);
    builder.append(warnBeforeOverwriting);
    builder.append(letterStartB);
    builder.nextLine();
    builder.append(pan);
    builder.append(dontOverwrite);
    builder.append(alwaysAddLetter);
    builder.nextLine();
    builder.append(pan);
    builder.append(generateOnSave);
    builder.nextLine();
    builder.append(pan);
    builder.append(Localization.lang("Replace (regular expression)") + ':');
    builder.append(Localization.lang("by") + ':');

    builder.nextLine();
    builder.append(pan);
    builder.append(keyPatternRegex);
    builder.append(keyPatternReplacement);

    builder.getPanel().setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
    con.gridx = 1;
    con.gridy = 3;
    con.gridwidth = GridBagConstraints.REMAINDER;
    con.weightx = 1;
    con.fill = GridBagConstraints.BOTH;
    gbl.setConstraints(builder.getPanel(), con);
    add(builder.getPanel());

    dontOverwrite.addChangeListener(e ->
    // Warning before overwriting is only relevant if overwriting can happen:
    warnBeforeOverwriting.setEnabled(!dontOverwrite.isSelected()));
}
 
开发者ID:JabRef,项目名称:jabref,代码行数:52,代码来源:BibtexKeyPatternPrefTab.java

示例9: initializeConnectionForm

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
public void initializeConnectionForm() {
	DefaultFormBuilder builder = createForm();
	connectionPanel = builder.getPanel();
	mainTabbedPane.add(connectionPanel);
	
	builder.appendSeparator(i18n.tr("HylaFAX Server"));
	
	hostnameTextField = new JTextField(Constants.DEFAULT_COLUMNS);
	settingMediator.add(Settings.HOSTNAME, hostnameTextField);
	hostnameLabel = builder.append("", hostnameTextField, 3);
	builder.nextLine();
	
	portSpinnerModel = new SpinnerNumberModel();
	portSpinnerModel.setMinimum(PortRange.MIN_PORT);
	portSpinnerModel.setMaximum(PortRange.MAX_PORT);
	settingMediator.add(Settings.PORT, portSpinnerModel);
	portSpinner = new JSpinner(portSpinnerModel);
	portSpinner.setEditor(new JSpinner.NumberEditor(portSpinner, "#"));
	portLabel = builder.append("", portSpinner);
	builder.nextLine();
	
	usePassiveCheckBox = new JCheckBox();
	settingMediator.add(Settings.USE_PASSIVE, usePassiveCheckBox);
	builder.append("", usePassiveCheckBox, 3);
	builder.nextLine();

	builder.appendSeparator(i18n.tr("Authentication"));
	
	usernameTextField = new JTextField(Constants.DEFAULT_COLUMNS);
	settingMediator.add(Settings.USERNAME, usernameTextField);
	usernameLabel = builder.append("", usernameTextField, 3);
	builder.nextLine();

	passwordInfoLabel = new JLabel();
	passwordInfoLabel.setForeground(Color.RED);
	builder.append(passwordInfoLabel, 5);
	builder.nextLine();

	passwordTextField = new JPasswordField(Constants.DEFAULT_COLUMNS);
	settingMediator.add(Settings.PASSWORD, passwordTextField);
	passwordLabel = builder.append("", passwordTextField, 3);
	builder.nextLine();
	
	adminModeCheckBox = new JCheckBox();
	settingMediator.add(Settings.ADMIN_MODE, adminModeCheckBox);		
	adminPasswordTextField = new JPasswordField(Constants.DEFAULT_COLUMNS);
	settingMediator.add(Settings.ADMIN_PASSWORD, adminPasswordTextField);
	builder.append(adminModeCheckBox); builder.append(adminPasswordTextField, 3);
	builder.nextLine();

	adminModeCheckBox.addItemListener(new EnableListener(adminPasswordTextField));
	
	builder.appendSeparator(i18n.tr("Status Update"));

	updateOnStartupCheckBox = new JCheckBox();
	settingMediator.add(Settings.UPDATE_ON_STARTUP, updateOnStartupCheckBox);
	builder.append(updateOnStartupCheckBox, 4);
	builder.nextLine();

	autoUpdateCheckBox = new JCheckBox();
	autoUpdateCheckBox.setEnabled(false);
	settingMediator.add(Settings.DO_AUTO_UPDATE, autoUpdateCheckBox);
	// the auto updater is error prone, therefore it has been disabled
	// until fixed
	//builder.append(autoUpdateCheckBox, 4);
	builder.nextLine();
	
	autoUpdateIntervalModel = new SpinnerNumberModel(1, 1, Integer.MAX_VALUE, 30);
	settingMediator.add(Settings.AUTO_UPDATE_INTERVAL, autoUpdateIntervalModel);
	autoUpdateIntervalSpinner = new JSpinner(autoUpdateIntervalModel);
	autoUpdateIntervalSpinner.setEditor(new JSpinner.NumberEditor(autoUpdateIntervalSpinner, "# s"));
	//autoUpdateIntervalLabel = builder.append("", autoUpdateIntervalSpinner);
	autoUpdateIntervalLabel = new JLabel();
	builder.nextLine();		

	autoUpdateCheckBox.addItemListener(new EnableListener(autoUpdateIntervalSpinner));
}
 
开发者ID:Distrotech,项目名称:jhylafax,代码行数:78,代码来源:SettingsDialog.java

示例10: initializePathForm

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
public void initializePathForm() {
	DefaultFormBuilder builder = createForm();
	pathsPanel = builder.getPanel();
	mainTabbedPane.add(pathsPanel);
	
	builder.appendSeparator(i18n.tr("Programs"));
	
	viewerPathFileChooserPanel = new ExecutableChooserPanel(Constants.DEFAULT_COLUMNS);
	viewerPathFileChooserPanel.setDialogParent(this);
	viewerPathLabel = builder.append("", viewerPathFileChooserPanel, 3);
	builder.nextLine();
	
	docViewerPathFileChooserPanel = new ExecutableChooserPanel(Constants.DEFAULT_COLUMNS);
	docViewerPathFileChooserPanel.setDialogParent(this);
	docViewerPathLabel = builder.append("", docViewerPathFileChooserPanel, 3);
	builder.nextLine();
	
	builder.appendSeparator(i18n.tr("Address Book"));
	
	customizeAddressBookCheckBox = new JCheckBox();
	settingMediator.add(Settings.CUSTOMIZE_ADDRESS_BOOK_FILENAME, customizeAddressBookCheckBox);
	builder.append(customizeAddressBookCheckBox, 5);
	builder.nextLine();		
	
	addressBookPathFileChooserPanel = new FileChooserPanel(Constants.DEFAULT_COLUMNS);
	settingMediator.add(Settings.ADDRESS_BOOK_FILENAME, addressBookPathFileChooserPanel.getTextField());
	addressBookPathFileChooserPanel.setDialogParent(this);
	builder.append(addressBookPathFileChooserPanel, 5);
	builder.nextLine();
	
	customizeAddressBookCheckBox.addItemListener(new EnableListener(addressBookPathFileChooserPanel));
	
	builder.appendSeparator(i18n.tr("Cover"));
	
	internalCoverRadionButton = new JRadioButton();
	internalCoverRadionButton.setSelected(true);
	builder.append(internalCoverRadionButton, 5);
	builder.nextLine();
	
	externalCoverRadionButton = new JRadioButton();
	externalCoverPathFileChooserPanel = new FileChooserPanel(Constants.DEFAULT_COLUMNS);
	externalCoverPathFileChooserPanel.setEnabled(false);
	externalCoverPathFileChooserPanel.setDialogParent(this);
	builder.append(externalCoverRadionButton, 5);
	builder.nextLine();
	
	externalCoverRadionButton.addItemListener(new EnableListener(externalCoverPathFileChooserPanel));
	
	builder.append(externalCoverPathFileChooserPanel, 5);
	builder.nextLine();
	
	ButtonGroup buttonGroup = new ButtonGroup();
	buttonGroup.add(internalCoverRadionButton);
	buttonGroup.add(externalCoverRadionButton);
	
	sendCoverAsDocumentCheckBox = new JCheckBox();
	settingMediator.add(Settings.SEND_COVER_AS_DOCUMENT, sendCoverAsDocumentCheckBox);
	builder.append(sendCoverAsDocumentCheckBox, 5);
	builder.nextLine();
}
 
开发者ID:Distrotech,项目名称:jhylafax,代码行数:61,代码来源:SettingsDialog.java

示例11: JobPanel

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
public JobPanel(boolean border) {
	FormLayout layout = new FormLayout("left:max(40dlu;pref), 3dlu, pref, pref:grow, min:grow", "");
	DefaultFormBuilder builder = new DefaultFormBuilder(layout, this);
	if (border) {
		builder.setDefaultDialogBorder();
	}
	builder.appendSeparator(i18n.tr("Sender"));
	
	fullnameTextField = new JTextField(DEFAULT_COLUMNS);
	fullnameLabel = builder.append("", fullnameTextField, 3);
	builder.nextLine();

	emailTextField = new JTextField(DEFAULT_COLUMNS);
	emailLabel = builder.append("", emailTextField, 3);
	builder.nextLine();
	
	builder.appendSeparator(i18n.tr("Parameter"));

	notificationModel = new DefaultComboBoxModel();
	JComboBox notificationComboBox = new JComboBox(notificationModel);
	notificationLabel = builder.append("", notificationComboBox, 2);
	builder.nextLine();
	
	resolutionModel = new DefaultComboBoxModel();
	JComboBox resolutionComboBox = new JComboBox(resolutionModel);
	resolutionLabel = builder.append("", resolutionComboBox, 2);
	builder.nextLine();

	priorityModel = new SpinnerNumberModel(0, 0, 255, 1);
	prioritySpinner = new JSpinner(priorityModel);
	priorityLabel = builder.append("", prioritySpinner);
	builder.nextLine();
	
	maxTriesSpinner = new JSpinner(new SpinnerNumberModel(1, 1, 255, 1));
	maxTriesLabel = builder.append("", maxTriesSpinner);
	builder.nextLine();
	
	maxDialsSpinner = new JSpinner(new SpinnerNumberModel(1, 1, 255, 1));
	maxDialsLabel = builder.append("", maxDialsSpinner);
	builder.nextLine();
	
	paperModel = new DefaultComboBoxModel();
	JComboBox paperComboBox = new JComboBox(paperModel);
	paperLabel = builder.append("", paperComboBox, 2);
}
 
开发者ID:Distrotech,项目名称:jhylafax,代码行数:46,代码来源:JobPanel.java

示例12: buildPanel

import com.jgoodies.forms.builder.DefaultFormBuilder; //导入方法依赖的package包/类
/**
 * Genereate an instance of the UI's JPanel.
 * 
 * @return The JPanel for the UI.
 */
public JComponent buildPanel ()
{
    
    // Create all UI elements
    initComponents();
    
    // Create a reusable cell constraints object
    CellConstraints cc = new CellConstraints();
    
    // Prepare master layout
    FormLayout layout = new FormLayout (
        "right:pref, 4dlu, pref:grow, 4dlu, pref, 4dlu, right:pref, 4dlu, pref:grow, 4dlu, pref", 
        "");
    
    DefaultFormBuilder builder = new DefaultFormBuilder(layout);
    builder.setDefaultDialogBorder();
    
    // Add elements to master layout
    builder.appendSeparator("General");
    builder.append("Scenario Name:", scenarioName, 9);
    builder.nextLine();
    
    builder.appendSeparator("Total Volume");
    builder.append("Minimum:", minVolume, minVolumeUnits);
    builder.append("Maximum:", maxVolume, maxVolumeUnits);
    builder.nextLine();
    
    builder.appendSeparator("Delivery Schedule");
    builder.append("Volume:", deliveryVolume, deliveryVolumeUnits);
    builder.nextLine();
    builder.append("Minimum Interval:", deliveryMinIntervals, 3);
    builder.append("Maximum Interval:", deliveryMaxIntervals, 3);
    builder.nextLine();
    
    builder.appendSeparator("Users");
    builder.append("Minimum Users:", minUsers, 3);
    builder.append("Maximum Users:", maxUsers, 3);
    builder.nextLine();
    builder.append("Minimum Types:", minUserTypes, 3);
    builder.append("Maximum Types:", maxUserTypes, 3);
    builder.nextLine();
    
    builder.appendSeparator("Network Properties");
    builder.append("Geographic Distribution:", geographicDistribution, 3);
    builder.append("Access Policy:", accessPolicy, 3);
    builder.nextLine();
    
    builder.appendSeparator("Perfomance Requirements");
    builder.append("Consistency:", consistency, 3);
    builder.append("Dependability:", dependability, 3);
    builder.append("Scalability:", scalability, 3);
    builder.append("Efficiency:", efficiency, 3);
    builder.nextLine();
    
    builder.appendSeparator("Data Types");
    builder.append("Data:", dataTypesData, 3);
    builder.nextLine();
    builder.append("Metadata:", dataTypesMetadata, 3);
    
    builder.nextLine();
    builder.append(ButtonBarFactory.buildOKCancelBar(save, cancel), 11);
    
    return builder.getPanel();
}
 
开发者ID:chrismattmann,项目名称:disco,代码行数:70,代码来源:ScenarioEditorView.java


注:本文中的com.jgoodies.forms.builder.DefaultFormBuilder.appendSeparator方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。