Package org.jitterbit.ui.widget.tabbedpane

Examples of org.jitterbit.ui.widget.tabbedpane.KongaTabbedPane$Tabs


        super(expressionArea, statusPanel);
    }

    @Override
    public void addSection(String title, Icon icon, UiProvider ui) {
        KongaTabbedPane tabs = getTabs();
        tabs.addTab(title, icon, ui);
    }
View Full Code Here


        tabs.addTab(title, icon, ui);
    }

    @Override
    public void setDebugUi(ScriptTestUi debugUi) {
        KongaTabbedPane tabs = getTabs();
        testTabIndex = tabs.getTabCount();
        tabs.addTab("&Test", Icons.TEST_ICON_16, debugUi);
    }
View Full Code Here

        tabs.addTab("&Test", Icons.TEST_ICON_16, debugUi);
    }

    private KongaTabbedPane getTabs() {
        if (tabs == null) {
            tabs = new KongaTabbedPane();
            tabs.setInterpretTitlesAsMnemonicStrings(true);
            topBottomSplit = createSplitPane(JSplitPane.VERTICAL_SPLIT, true);
            topBottomSplit.setTopComponent(top);
            topBottomSplit.setBottomComponent(tabs);
            left.center(topBottomSplit);
View Full Code Here

    private final TabListener tabListener;
   
    private List<SearchParametersDefiner> definers;
   
    TabPaneLayout(Container container, Object constraints) {
        tabs = new KongaTabbedPane();
        tabs.setInterpretTitlesAsMnemonicStrings(true);
        tabListener = new TabListener();
        tabs.addChangeListener(tabListener);
        ContainerCanvas.decorate(tabs, container, constraints);
    }
View Full Code Here

    private static final class SwingTabControl implements TabControl {

        private final KongaTabbedPane tabs;

        public SwingTabControl(boolean closeable, Action detachAction, TabReorderHandler reorderer) {
            tabs = new KongaTabbedPane();
            if (!SupportedLookAndFeel.CROSS_PLATFORM.isInstalled()) {
                tabs.setOpaque(true);
                tabs.setBackground(Colors.JITTERBIT_BLUE);
            }
            tabs.setUnselectedTabBackground(Colors.UNSELECTED_TAB_BACKGROUND);
View Full Code Here

            part.serverConnectionChanged(evt);
        }
    }

    private KongaTabbedPane createTabs() {
        KongaTabbedPane tabs = new KongaTabbedPane();
        tabs.setInterpretTitlesAsMnemonicStrings(true);
        for (AdminConsolePart p : parts) {
            JComponent tabUi = createPartUi(p);
            tabs.addTab(p.getTitle(), p.getIcon(), tabUi);
            tabUiToPart.put(tabUi, p);
        }
        tabs.enableTabReordering(new TabOrderHandler());
        tabs.setSelectedIndex(0);
        tabs.addChangeListener(new TabListener());
        return tabs;
    }
View Full Code Here

        private final KongaTabbedPane pane;

        private final Map<String, UiProvider> tabs;

        public Tabs() {
            pane = new KongaTabbedPane();
            pane.setInterpretTitlesAsMnemonicStrings(true);
            tabs = Maps.newHashMap();
        }
View Full Code Here

            fr.dispose();
        }
    }

    private KongaTabbedPane createUI() {
        KongaTabbedPane tabs = new KongaTabbedPane();
        tabs.disableCtrlUp();
        tabs.setUnselectedTabBackground(Colors.UNSELECTED_TAB_BACKGROUND);
        tabs.setCloseable(true);
        tabs.setKeyboardNavigationEnabled(false);
        tabs.enableTabReordering(new Reorderer());
        tabs.setInterpretTitlesAsMnemonicStrings(false);
        for (int n = 1; n <= 10; ++n) {
            tabs.installKeyBinding(new ActivatorKeyAction(n), JComponent.WHEN_IN_FOCUSED_WINDOW);
        }
        return tabs;
    }
View Full Code Here

    private final BiMap<String, Integer> idToIndex;

    private final Map<String, ProjectConsoleSubView> views;
   
    public ProjectConsoleSubViewTabContainer() {
        tabPane = new KongaTabbedPane();
        tabPane.enableTabReordering(new TabReorderHandlerImpl());
        idToIndex = HashBiMap.create();
        views = Maps.newHashMap();
    }
View Full Code Here

        notifications = new Notifications(service);
        controller.setView(new CategoryViewImpl());
    }

    private static KongaTabbedPane createTabs() {
        KongaTabbedPane tabs = new KongaTabbedPane();
        if (!SupportedLookAndFeel.CROSS_PLATFORM.isInstalled()) {
            tabs.setOpaque(true);
            tabs.setBackground(Colors.JITTERBIT_BLUE);
        }
        tabs.disableCtrlUp();
        tabs.setKeyboardNavigationEnabled(false);
        tabs.setInterpretTitlesAsMnemonicStrings(false);
        return tabs;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.tabbedpane.KongaTabbedPane$Tabs

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.