Examples of glue()


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

    @Override
    public void decorate(UiCanvas canvas) {
        if (includeBulkSelectionButtons) {
            BoxBuilder buttons = BoxBuilder.horizontal();
            buttons.glue().addAllWithSpace(5, getSelectAllAction(), getUnselectAllAction());
            new BorderLayoutBuilder(0, 5).center(table).south(buttons).decorate(canvas);
        } else {
            table.decorate(canvas);
        }
    }
View Full Code Here

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

        topLeft.addAll(gettingStarted, linkArea);
        BorderLayoutBuilder left = new BorderLayoutBuilder();
        left.north(topLeft).south(dontForget);
        JCheckBox doNotShowAgain = createDoNotShowAgainCheck();
        BoxBuilder doNotShowAgainRow = BoxBuilder.horizontal();
        doNotShowAgainRow.glue().add(doNotShowAgain);
        JComponent videoIcon = createVideoIcon();
        BorderLayoutBuilder right = new BorderLayoutBuilder(0, 16);
        right.north(doNotShowAgainRow).center(videoIcon);
        BoxBuilder box = BoxBuilder.horizontal();
        box.addAllWithSpace(20, left, right);
View Full Code Here

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

            throw new RuntimeException("The client configuration does not contain any connect wizards.");
        } else {
            sections.addAll(standard, salesforce);
        }
        BoxBuilder centerAnchor = BoxBuilder.horizontal().setOpaque(false);
        centerAnchor.glue().add(sections).glue();
        BorderLayoutBuilder northAnchor = new BorderLayoutBuilder().setOpaque(false);
        northAnchor.north(centerAnchor);
        return northAnchor.container();
    }
View Full Code Here

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

        if (title != null) {
            KongaLabel titleLabel = KongaLabel.withMnemonic(title);
            titleLabel.setLabelFor(tree);
            row.add(titleLabel);
        }
        row.glue().addAllWithSpace(5, expandAll, collapseAll);
        row.decorate(canvas);
    }

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

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

        }
    }

    private void layoutComponents() {
        BoxBuilder layout = BoxBuilder.horizontal(this);
        layout.glue().addAllWithSpace(2, hourBox, ":", minuteBox);
        if (showSeconds) {
            layout.strut(2).addAllWithSpace(2, ":", secondBox);
        }
        if (mode == TWELVE_HOUR_MODE) {
            layout.strut(5).add(amPmBox);
View Full Code Here

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

            layout.strut(2).addAllWithSpace(2, ":", secondBox);
        }
        if (mode == TWELVE_HOUR_MODE) {
            layout.strut(5).add(amPmBox);
        }
        layout.glue();
    }

    /**
     * Returns the selected hour. This will be in the range 1-12 in <code>TWELVE_HOUR_MODE</code>,
     * and in the 0-23 range in <code>TWENTYFOUR_HOUR_MODE</code>.
View Full Code Here

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

                if (buttonOrientation == ButtonOrientation.LEADING) {
                    layout.addAll(button, titleLabel);
                } else {
                    layout.addAll(titleLabel, button);
                }
                layout.glue();
            }

            private KongaButton createTitleLabel(String title) {
                KongaButton b = new KongaButton(title);
                b.setOpaque(false);
View Full Code Here

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

        BoxBuilder tb = BoxBuilder.horizontal().bottomAligned().setOpaque(false);
        JLabel label = createTitleLabel();
        int margin = new Helper().getLeftMargin(label);
        tb.rigid(margin);
        tb.add(label);
        tb.glue().addAllWithSpace(10, buttons);
        return tb;
    }

    private JLabel createTitleLabel() {
        JLabel label = new JLabel(title);
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.