Package org.noos.xing.mydoggy

Examples of org.noos.xing.mydoggy.ToolWindowTab


            }
        }

        SwingUtil.repaint(tabContainer);

        ToolWindowTab firstTab = null;
        if (nextTabCol != -1) {
            for (Component component : tabContainer.getComponents()) {
                if (component instanceof TabButton) {
                    TabButton tabButton = (TabButton) component;
                    TableLayoutConstraints constraints = containerLayout.getConstraints(tabButton);
View Full Code Here


                public CloseAllTabAction() {
                    super(resourceManager.getString("@@tool.tab.closeAll"));
                }

                public void actionPerformed(ActionEvent e) {
                    ToolWindowTab selectedTab = null;

                    for (ToolWindowTab tab : toolWindow.getToolWindowTabs()) {
                        if (tab.isSelected()) {
                            selectedTab = tab;
                            continue;
View Full Code Here

        public boolean toolWindowTabRemoving(ToolWindowTabEvent event) {
            return true;
        }

        public void toolWindowTabRemoved(ToolWindowTabEvent event) {
            ToolWindowTab nextTab = removeTab(event.getToolWindowTab(), true);

            if (event.getToolWindowTab().isSelected()) {
                ToolWindowTab[] tabs = toolWindow.getToolWindowTabs();
                if (tabs.length > 0) {
                    if (nextTab != null)
                        nextTab.setSelected(true);
                    else
                        tabs[0].setSelected(true);
                } else {
                    selectedTab = null;
                    selecTabButton = null;
View Full Code Here

                        SwingUtil.repaint(this);
                    }
                }
            } else if ("minimized".equals(property)) {
                if (evt.getNewValue() == Boolean.TRUE) {
                    ToolWindowTab nextTab = removeTab(tab, false);
                    if (nextTab != null)
                        nextTab.setSelected(true);
                } else {
                    addTab(this);
                }
            } else if ("ensureVisible".equals(property)) {
                ensureVisible();               
View Full Code Here

    }

    protected class TabSelectedPropertyChangeListener implements PropertyChangeListener {

        public void propertyChange(PropertyChangeEvent evt) {
            ToolWindowTab tab = (ToolWindowTab) evt.getSource();
            if (evt.getNewValue() == Boolean.TRUE) {
                if (selectedTab != null)
                    selectedTab.setSelected(false);
                selectedTab = tab;
            }
View Full Code Here

TOP

Related Classes of org.noos.xing.mydoggy.ToolWindowTab

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.