Package org.jitterbit.ui.layout

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


    @Override
    public void decorate(UiCanvas canvas) {
        JLabel label = createLabel();
        BoxBuilder row = BoxBuilder.horizontal();
        row.addAll(label, field);
        row.decorate(canvas);
    }

    private JLabel createLabel() {
        JLabel label = KongaLabel.withMnemonic("&Filter: ");
        label.setLabelFor(field);
View Full Code Here


        BoxBuilder row = BoxBuilder.horizontal();
        makeOver(label);
        row.add(label).glue().add(createCloseButton());
        row.setBackground(Colors.JITTERBIT_ORANGE);
        row.setBorder(new BorderBuilder().line().empty(4));
        row.decorate(canvas);
    }

    private static void makeOver(JLabel label) {
        WizardStyleSheet.SMALL_CAPTION_STYLE.makeOver(label);
        label.setForeground(Color.WHITE);
View Full Code Here

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

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

        if (label != null) {
            label.setLabelFor(field);
            row.add(label);
        }
        row.add(field);
        row.decorate(canvas);
    }

    @Override
    public void requestFocus() {
        field.requestFocusInWindow();
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.