Examples of KongaScrollPane


Examples of org.jitterbit.ui.widget.KongaScrollPane

            listenForChanges();
            UiUtils.setPanelBackgrounds(panel, Colors.NEUTRAL_BACKGROUND);
        }

        public JComponent getUi() {
            return new KongaScrollPane(panel);
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

        selectionModel = new DefaultGraphSelectionModel();
        selectionModel.addSelectionListener(modelListener);
        selectionActions = Maps.newHashMap();
        selectionModel.addSelectionListener(new SelectionActionUpdater());
        setModel(data);
        scroll = new KongaScrollPane(canvas);
        scroll.setBackground(Color.WHITE);
        dropHandler = new NoDropHandler();
        inputListeners = new CopyOnWriteArrayList<GraphInputListener>();
        mouseEventDispatcher = new MouseEventDispatcher();
        setNavigationOrder(null);
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

        JComponent north = getNorthComponent();
        JComponent center = getCenterComponent();
        buttonPanel.setBorder(Empty.border(10));
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.northToSouth(north, center, buttonPanel);
        JScrollPane scroll = new KongaScrollPane(layout.container());
        setContentPane(scroll);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

    }

    private void createButtons(List<? extends AdminConsolePart> parts) {
        for (final AdminConsolePart p : parts) {
            final JToggleButton b = createButton(p);
            KongaScrollPane scroll = new KongaScrollPane(p);
            scroll.getViewport().setOpaque(false);
            contentPane.add(scroll, b.getText());
            buttons.add(b);
        }
        ButtonUtils.addActionListener(new Switcher(), buttons);
        ButtonUtils.makeMutuallyExclusive(buttons);
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

        tabs.addChangeListener(new TabListener());
        return tabs;
    }
   
    private JComponent createPartUi(AdminConsolePart p) {
        KongaScrollPane scroll = new KongaScrollPane(p);
        scroll.getViewport().setOpaque(false);
        return scroll;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

        return tabs;
    }

    private void addConsolePanelToTabPane(JTabbedPane tabs) {
        JComponent consoleButtons = createConsoleLaunchingPanel();
        tabs.addTab(getString("ControlPanel.Consoles.Title"), new KongaScrollPane(consoleButtons));
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

public class UiProviderTestFrame extends JFrame {
   
    public UiProviderTestFrame(final UiProvider provider) {
        super("Test Frame"); //$NON-NLS-1$
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setContentPane(new KongaScrollPane(provider));
        addWindowListener(new WindowAdapter() {

            @Override
            public void windowOpened(WindowEvent e) {
                provider.requestFocus();
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

    /**
     * Returns the container wrapped in a <code>JScrollPane</code>.
     *
     */
    public JScrollPane inScrollPane() {
        return new KongaScrollPane(container());
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

            JComponent c = BorderLayoutBuilder.fillWith(o);
            c.setOpaque(true);
            UiUtils.setPanelBackgrounds(c, SELECTED_BACKGROUND);
            c.setBorder(Empty.border(24, 32, 20, 32));
            if (o.needsExternalScroll()) {
                KongaScrollPane scroll = new KongaScrollPane(c);
                scroll.setBorder(new LineBorder(SELECTED_BACKGROUND));
                return scroll;
            }
            return c;
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.KongaScrollPane

        col.add(TextStyles.AdminHintBold.makeLabel(Strings.get("EditWsdl.Conflicts.Caption")));
        JLabel caption = new JLabel(Strings.get("EditWsdl.Conflicts.Message"));
        col.add(caption);
        col.setBorder(Empty.border(3));
        col.setBackground(Color.WHITE);
        parent.add(new KongaScrollPane(col));
    }
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.