Examples of withEmptyBorder()


Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.withEmptyBorder()

        dlg.setFixedButtonSize(false);
        BorderLayoutBuilder cp = new BorderLayoutBuilder(0, 10);
        cp.center(prompt).south(dlg.getButtonPanel(KongaDialog.OK_CANCEL, 10));
        dlg.getOKButton().setText(prompt.mode.continueLabel);
        dlg.getCancelButton().setText(prompt.mode.cancelLabel);
        cp.withEmptyBorder(10, 10, 10, 10).asContentPaneFor(dlg);
        dlg.setResizable(false);
        dlg.manageLocation(LogoutWhileDebuggingHandler.class);
        dlg.pack();
        dlg.setOkButtonAsDefault();
        return dlg;
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.withEmptyBorder()

    }

    private JComponent createButtonBox() {
        BoxBuilder buttons = BoxBuilder.horizontal();
        buttons.add(selectAllAction).strut(5).add(unselectAllAction).strut(25).add(deleteAction).glue();
        return buttons.withEmptyBorder(5, 5, 5, 5).container();
    }

    @Override
    public void requestFocus() {
        table.requestFocusInWindow();
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.withEmptyBorder()

    }

    private JComponent createButtonBox() {
        BoxBuilder buttons = BoxBuilder.horizontal();
        buttons.add(selectAllAction).strut(5).add(unselectAllAction).strut(25).add(deleteAction).glue();
        return buttons.withEmptyBorder(5, 5, 5, 5).container();
    }

    @Override
    public void requestFocus() {
        displayer.requestFocus();
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.withEmptyBorder()

        }

        private void layoutButtons() {
            BoxBuilder row = BoxBuilder.horizontal();
            row.glue().add(createRestoreDefaultsButton()).strut(10).add(applyButton);
            row.withEmptyBorder(0, 0, 10, 10);
            row.addToParent(panel, BorderLayout.SOUTH);
        }

        private JButton createApplyButton() {
            JButton btn = new KongaButton("&Apply");
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.withEmptyBorder()

        BoxBuilder row = BoxBuilder.horizontal();
        KongaButton testButton = createTestButton();
        row.add(clientHelpButton).strut(10).add(testButton).glue().addAllWithSpace(10, ok, cancel);
        // HACK for bug 1978511:
        int rightBorder = SystemUtils.IS_OS_WINDOWS_VISTA ? 0 : 1;
        return row.withEmptyBorder(10, 0, 10, rightBorder).container();
    }

    private KongaButton createTestButton() {
        Action action = getUi().getTestAction();
        return new KongaButton(action).setUseSmallActionIcon(true);
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.withEmptyBorder()

            JButton saveAll = getSaveAllButton();
            JButton saveNone = getSaveNoneButton();
            JButton cancel = getCancelSaveButton();
            BoxBuilder row = BoxBuilder.horizontal();
            row.glue().strut(60).addAllWithSpace(10, saveAll, saveNone, cancel);
            return row.withEmptyBorder(10, 0, 10, 0).container();
        }

        private JButton getSaveAllButton() {
            JButton b = new KongaButton(PackageResources.SavePrompt.SAVE_ALL);
            b.addActionListener(new ActionListener() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.