Examples of enableTabReordering()


Examples of org.jitterbit.ui.widget.tabbedpane.KongaTabbedPane.enableTabReordering()

        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

Examples of org.jitterbit.ui.widget.tabbedpane.KongaTabbedPane.enableTabReordering()

        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
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.