Package org.zkoss.ganttz.extensions

Examples of org.zkoss.ganttz.extensions.ITab


        });
    }

    private void changeTab(ModeType oldType, ModeType newType) {
        ITab previousTab = tabs.get(oldType);
        previousTab.hide();
        ITab newTab = tabs.get(newType);
        newTab.show();
    }
View Full Code Here


        }
    }

    @Override
    public String getName() {
        ITab currentTab = getCurrentTab();
        return currentTab == null ? "" : currentTab.getName();
    }
View Full Code Here

        return currentTab == null ? "" : currentTab.getName();
    }

    @Override
    public String getCssClass() {
        ITab currentTab = getCurrentTab();
        return currentTab == null ? "hidden" : currentTab.getCssClass();
    }
View Full Code Here

    }

    @Override
    public void hide() {
        beingShown = false;
        ITab currentTab = getCurrentTab();
        if (currentTab != null) {
            currentTab.hide();
        }
    }
View Full Code Here

        }
    }

    @Override
    public void show() {
        ITab currentTab = getCurrentTab();
        if (currentTab != null && !beingShown) {
            currentTab.show();
        }
        beingShown = true;
    }
View Full Code Here

TOP

Related Classes of org.zkoss.ganttz.extensions.ITab

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.