Examples of north()


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

    public void decorate(UiCanvas canvas) {
        if (refreshAction == null) {
            list.decorate(canvas);
        } else {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(5, 0);
            layout.north(InvisiblePanel.newPanel(new KongaButton(refreshAction))).center(list);
            layout.decorate(canvas);
        }
    }

    @Override
View Full Code Here

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

        private void layoutTable() {
            BorderLayoutBuilder tableLayout = new BorderLayoutBuilder(0, 5);
            BoxBuilder north = BoxBuilder.horizontal();
            north.addAllWithSpace(10, startAction, stopAction, statusPanel);
            tableLayout.north(north).center(resultTable);
            layout.center(tableLayout);
        }

        private void layoutSouth() {
            BoxBuilder south = BoxBuilder.horizontal();
View Full Code Here

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

        return monitor;
    }

    private void displayActivityMonitor(long opInstanceId) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.north(activityMonitorControl);
        activityMonitorUi = layout.container();
        addToUi(activityMonitorUi);
        activityMonitorControl.start(opInstanceId);
    }
View Full Code Here

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

            return split;
        }

        private void layoutTextArea() {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 3);
            layout.north(layoutToolbar()).center(textArea);
            sections.getSplitPane().setTopComponent(layout);
        }

        private UiProvider layoutToolbar() {
            BoxBuilder row = BoxBuilder.horizontal().setAlignmentY(Component.BOTTOM_ALIGNMENT);
View Full Code Here

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

        return dlg;
    }
   
    private void createContentPane(KongaDialog dialog) {
        BorderLayoutBuilder cp = new BorderLayoutBuilder();
        cp.north(getCaption()).center(selector).south(getDialogButtons(dialog));
        cp.setBorder(Empty.border(10, 10, 20, 10)).asContentPaneFor(dialog);
    }
   
    private JComponent getCaption() {
        JLabel caption = new JLabel(PackageResources.PropertiesDialog.CAPTION);
View Full Code Here

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

    }
   
    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.north(Flow.leading().add(header).container());
        JScrollPane scrollPane = new JScrollPane(displayer);
        scrollPane.getVerticalScrollBar().setUnitIncrement(10);
        scrollPane.getHorizontalScrollBar().setUnitIncrement(10);
        layout.center(scrollPane);
        layout.decorate(canvas);
View Full Code Here

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

    private void layoutPage() {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        JComponent navDisplayer = navigationControl.getDisplayer();
        FocusUtils.makeComponentMouseFocusable(navDisplayer);
        layout.north(navDisplayer).center(displayer);
        setDisplayPanel(layout.container());
    }

}
View Full Code Here

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

    }

    private JComponent doLayout() {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 4);
        layout.setBackground(Color.WHITE).setBorder(new BorderBuilder().etched().empty(2));
        layout.north(sectionLabel);
        OneColumnPanel col = new OneColumnPanel();
        col.setOpaque(false, false).setBorder(Empty.border(0, 12, 0, 12));
        col.setWeightX(1.0);
        col.setInsets(0, 0, 4, 0);
        col.addAll(progressBar, messageLabel);
View Full Code Here

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

            dialog = null;
        }

        private BorderLayoutBuilder layout() {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10);
            layout.north("The values have been replaced.");
            JButton undo = createUndoButton();
            JButton close = createCloseButton();
            dialog.setFocusedComponent(close);
            BoxBuilder buttons = BoxBuilder.horizontal();
            buttons.add(undo).glue().add(close);
View Full Code Here

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

    }

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.north(logMonitor);
        ProgressTracker m = getProgressMonitor();
        if (m != null) {
            JComponent wrapper = BorderLayoutBuilder.fillWith(m);
            wrapper.setBorder(Empty.border(4));
            layout.south(wrapper);
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.