Examples of withEmptyBorder()


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

        this.overlay = createOverlay();
    }

    private OverlayDecorator createOverlay() {
        BorderLayoutBuilder cp = new BorderLayoutBuilder(getUi());
        cp.withEmptyBorder(10, 10, 10, 10);
        OverlayDecorator overlay = new OverlayDecorator(cp, getSuggestedTitle()) {

            @Override
            protected void onCancel() {
                handleCancel();
View Full Code Here

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

        }
       
        private void layoutDialog(KongaDialog dialog) {
            BorderLayoutBuilder layout = layout();
            layout.south(getButtons(dialog));
            layout.withEmptyBorder(10, 10, 10, 10).asContentPaneFor(dialog);
        }
       
        private JComponent getButtons(KongaDialog dialog) {
            JPanel buttons = dialog.getButtonPanel(KongaDialog.CLOSE_ONLY, 0);
            dialog.setCloseButtonAsDefault();
View Full Code Here

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

        private KongaDialog createDialog() {
            KongaDialog dlg = new KongaDialog(UiUtils.getActiveWindow(), "Potential Conflict");
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10).north(
                            createCaption()).south(createButtons(dlg));
            layout.withEmptyBorder(10, 10, 10, 10).asContentPaneFor(dlg);
            dlg.pack();
            dlg.setResizable(false);
            dlg.manageLocation(OperationGraphManager.class);
            return dlg;
        }
View Full Code Here

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

            };
            JPanel buttons = dlg.getButtonPanel(KongaDialog.OK_CANCEL, 10);
            buttons.setBorder(Empty.border(10, 0, 10, 0));
            BorderLayoutBuilder cp = new BorderLayoutBuilder(0, 5);
            cp.center(createMainArea()).south(buttons);
            cp.withEmptyBorder(10, 10, 10, 10);
            cp.asContentPaneFor(dlg);
            dlg.setOkButtonAsDefault();
            dlg.getOKButton().setEnabled(false);
            return dlg;
        }
View Full Code Here

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

        ctrl.install(list);
    }

    private UiProvider createDisplayer() {
        BorderLayoutBuilder cp = new BorderLayoutBuilder(0, 2);
        cp.withEmptyBorder(5, 10, 5, 10);
        cp.northToSouth(getString("Trashcan.ViewUi.Caption"), trashCanContent, reviveAction);
        return cp;
    }

    private List<IntegrationEntity> getSelectedEntities() {
View Full Code Here

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

   
    @Override
    public void decorate(UiCanvas canvas) {
        Grid buttonPanel = new Grid(0, COLUMNS, 3, 3).addAll(buttons);
        BorderLayoutBuilder layout = new BorderLayoutBuilder(buttonPanel);
        layout.withEmptyBorder(10, 0, 10, 0);
        layout.decorate(canvas);
    }

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

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

    }

    private void createDialogUi(ErrorLogEntry error) {
        displayer = createDisplayer(error);
        BorderLayoutBuilder cp = new BorderLayoutBuilder(displayer);
        cp.withEmptyBorder(10, 10, 10, 10);
        cp.asContentPaneFor(this);
    }

    private ErrorLogEntryDisplayer createDisplayer(ErrorLogEntry error) {
        ErrorLogEntryDisplayer ui = ExceptionDisplayerFactory.createDisplayer();
View Full Code Here

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

    }

    private void layoutDialog() {
        BorderLayoutBuilder cp = new BorderLayoutBuilder(getUi());
        getUi().setButtonPanel(createDialogButtons());
        cp.withEmptyBorder(10, 10, 10, 10);
        cp.asContentPaneFor(dialog);
        dialog.pack();
        setInitialSizeAndLocation();
    }
View Full Code Here

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

        }
    }
   
    private static void layoutDialog(KongaDialog dlg, UiProvider content, KongaDialog.ButtonMode mode) {
        BorderLayoutBuilder cp = new BorderLayoutBuilder(content);
        cp.withEmptyBorder(10, 10, 10, 10);
        cp.south(createButtonPanel(dlg, mode));
        cp.asContentPaneFor(dlg);
    }

    private static JComponent createButtonPanel(KongaDialog dlg, KongaDialog.ButtonMode mode) {
View Full Code Here

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

            column.setInsets(0, 5, 15, 0);
            column.setWeightX(1.0);
            column.setOpaque(false, false);
            BorderLayoutBuilder wrapper = BorderLayoutBuilder.from(getUi(), 0, 10);
            wrapper.north(InvisiblePanel.newPanel(topGrid)).center(column);
            wrapper.withEmptyBorder(10, 5, 0, 5);
        }

        public Layout addToTopGrid(InputField f) {
            return addToTopGrid(f.getLabel(), f.getInputComponent());
        }
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.