Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.Flow


            }
            return null;
        }

        public void layoutIn(WizardPageLayout layout) {
            Flow fieldLayout = Flow.invisible();
            fieldLayout.add(field.getLabel(), field.getInputComponent());
            OneColumnPanel col = new OneColumnPanel();
            col.setInsets(0, 0, 5, 0);
            col.setWeightX(1.0);
            col.add(caption).add(fieldLayout);
            layout.add(col, false, false);
View Full Code Here


        LabelDecorator decorator = TextStyles.DefaultText.asLabelDecorator(null);
        progressPanel.decorateLabel(decorator);
    }

    private JComponent createSearchCapsule() {
        Flow flow = Flow.leading(5, 5);
        flow.add(new KongaButton(startStopAction), createProgressPanelCapsule());
        return flow.container();
    }
View Full Code Here

    public Rectangle getDisplayerBounds() {
        return displayer.getBounds();
    }

    private JComponent createDisplayer() {
        Flow north = Flow.leading(5, 0);
        north.add(iconButton, nameLabel);
        Flow center = Flow.leading(10, 0);
        center.add(progressBar, cancelButton);
        Flow south = Flow.leading(10, 0);
        south.add(messageLabel);
        BorderLayoutBuilder main = new BorderLayoutBuilder();
        main.northToSouth(north, center, south);
        UiUtils.setOpaqueRecursively(main.container(), false);
        return main.container();
    }
View Full Code Here

        return Port.valueOf(port);
    }
   
    @Override
    public void decorate(UiCanvas canvas) {
        Flow row = Flow.invisible();
        JComponent[] comps = getComponentsForLayout();
        row.add(comps[0]).strut(10).add(comps[1]).glue();
        row.decorate(canvas);
    }
View Full Code Here

     * Lays out this <code>DefaultPortDefiner</code> in a <code>DataLocationPanelLayout</code>.
     *
     * @since 3.0.0
     */
    public void addToLayout(DataLocationPanelLayout layout) {
        Flow row = Flow.invisible();
        JComponent[] comps = getComponentsForLayout();
        row.add(comps[0], Box.createHorizontalStrut(10), comps[1]);
        layout.add(null, row.container(), null);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.layout.Flow

Copyright © 2018 www.massapicom. 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.