Package org.jitterbit.ui.layout

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


   
    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 3);
        layout.north("Select the chunking node:").center(tree);
        layout.decorate(canvas);
    }

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


    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder ui = new BorderLayoutBuilder(0, 5);
        ui.north(layoutNorthPart()).center(table).setOpaqueRecursively(false);
        ui.decorate(canvas);
    }

    private Object layoutNorthPart() {
        if (HideIncompatibleProjectsSwitch.ENABLED) {
            BoxBuilder row = BoxBuilder.horizontal();
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10);
        layout.northToSouth(layoutCaption(), layoutSelector(), layoutTree());
        layout.decorate(canvas);
    }

    private UiProvider layoutCaption() {
        TextStyle labelStyle = WizardStyleSheet.MEDIUM_CAPTION_STYLE;
        JLabel itemLabel = labelStyle.makeLabel("");
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.north(console).center(createSplitPane());
        layout.decorate(canvas);
    }

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

            checkBoxes.add(selectors.get(s));
        }
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 8);
        layout.center(checkBoxes).east(InvisiblePanel.newPanel(quickSelectors));
        layout.setBorder(StyleSheet.getDefaultTitleBorder(PackageResources.LogStatusFilter.LABEL));
        layout.decorate(canvas);
    }

    private static Collection<LogStatus> displayOrder() {
        return Arrays.asList(
                LogStatus.SUCCESS,
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder p = new BorderLayoutBuilder(0, 5);
        p.north(fileSelector).south(includeInProjectOption);
        p.decorate(canvas);
    }

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

            JComponent selector = InvisiblePanel.newPanel(getSelector());
            selector.setBorder(Empty.border(0, 25, 0, 0));
            layout.west(selector);
            layout.south(getRequiresRestartNote());
            layout.setBorder(StyleSheet.getDefaultTitleBorder("Look & Feel"));
            layout.decorate(canvas);
        }

        @Override
        protected Layout getRadioButtonLayout() {
            return Layout.ONE_COLUMN;
View Full Code Here

    @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() {
        buttons[0].requestFocusInWindow();
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10);
        layout.center(table).south(globalLevelSelector.getUi());
        layout.decorate(canvas);
    }

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

    public final void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        JComponent southToolBar = createSouthToolBar();
        layout.center(textPane).south(southToolBar);
        layout.setOpaqueRecursively(false);
        layout.decorate(canvas);
    }

    private JComponent createSouthToolBar() {
        BoxBuilder tb = BoxBuilder.horizontal();
        tb.addAll(actions);
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.