Examples of KongaScrollPane


Examples of org.jitterbit.ui.widget.KongaScrollPane

        }
        dialog.setVisible(true);
    }

    private KongaDialog createDialog() {
        KongaScrollPane scroll = WizardStyleDialog.wrapInScroll(ui);
        WizardStyleDialog dlg = new WizardStyleDialog(UiUtils.getActiveWindow(),
                        Strings.getJitterPackString("Import.Title"), scroll);
        JButton ok = dlg.getOKButton();
        ok.setAction(importAction);
        if (ok instanceof KongaButton) {
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

    }

    private JComponent wrapInScrollPane(BoxBuilder col) {
        col.setOpaqueRecursively(false);
        col.setBorder(Empty.border(10));
        KongaScrollPane scroll = new KongaScrollPane(col);
        scroll.makeInconspicuous();
        return scroll;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

     *            if <code>true</code>, <code>p</code> is wrapped in a <code>JScrollPane</code>
     *            before it is added to the page's layout
     */
    public void layoutPage(JPanel p, boolean useScroll, boolean addMouseListener) {
        if (useScroll) {
            KongaScrollPane scroll = new KongaScrollPane(p);
            scroll.makeInconspicuous();
            canvas.add(scroll, BorderLayout.CENTER);
            if (addMouseListener) {
                scroll.addMouseListener(new ContextMenuTrigger());
            }
            page.setEditorBorder(Empty.border());
        } else {
            if (addMouseListener) {
                p.addMouseListener(new ContextMenuTrigger());
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

    }

    @Override
    public void decorate(JComponent view) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        final JScrollPane sp = new KongaScrollPane();
        ui.decorate(new UiCanvas() {

            @Override
            public void display(Component c) {
                sp.setViewportView(c);
            }
        });
        layout.north(getTitlePanel()).center(sp);
        displayer = layout.container();
        BorderLayoutBuilder.from(view).center(displayer);
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

    private JComponent createModeSelectorDecor() {
        return InvisiblePanel.newPanel(modeSelector);
    }

    private JComponent createPrimaryKeyDefinerDecor() {
        return new KongaScrollPane(primaryKeyDefiner);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

        info.append("Issuer: ").append(cert.getIssuerDN().getName()).append("\n\n");
    }
   
    @Override
    public void decorate(UiCanvas canvas) {
        canvas.display(new KongaScrollPane(textArea));
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

    }

    private JComponent createDialogContents() {
        JPanel ui = panel.getInputPanel().getUi();
        UiUtils.setPanelBackgrounds(ui, Colors.NEUTRAL_BACKGROUND);
        return new KongaScrollPane(ui);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

                panel = createNewTypePanel(type);
                JComponent wrapper = BorderLayoutBuilder.fillWith(panel);
                wrapper.setOpaque(true);
                wrapper.setBorder(Empty.border(10, 5, 5, 5));
                UiUtils.setPanelBackgrounds(wrapper, Colors.NEUTRAL_BACKGROUND);
                cards.add(new KongaScrollPane(wrapper), type.name());
                typePanels.put(type, panel);
            }
            return panel;
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

        }
    }

    @Override
    public void decorate(JComponent view) {
        JScrollPane scroll = new KongaScrollPane(BorderLayoutBuilder.fillWith(page));
        BorderLayoutBuilder.from(view).north(titlePanel).center(scroll);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

        return splitPane;
    }

    private JComponent layoutResultArea() {
        testArea.setLabel("Result:");
        return new KongaScrollPane(testArea.asUiProvider());
    }
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.