Package org.zkoss.zul

Examples of org.zkoss.zul.Tabpanel


        }
        return !model.getTemplate().isLeaf();
    }

    public void reloadBudget() {
        Tabpanel tabPanel = (Tabpanel) editWindow
                .getFellow("tabPanelGeneralData");
        Util.reloadBindings(tabPanel);
    }
View Full Code Here


            chartTabs.appendChild(new Tab(_("Load")));
            chartComponent.appendChild(chartTabs);
            chartTabs.setWidth("124px");

            Tabpanels chartTabpanels = new Tabpanels();
            Tabpanel loadChartPannel = new Tabpanel();
            // avoid adding Timeplot since it has some pending issues
            CompanyPlanningModel.appendLoadChartAndLegend(loadChartPannel,
                    timePlot);
            chartTabpanels.appendChild(loadChartPannel);
            chartComponent.appendChild(chartTabpanels);
View Full Code Here

    private void setOrderElementModel(IOrderElementModel orderElementModel) {
        this.orderElementModel = orderElementModel;
    }

    public void clearAll() {
        Tabpanel tabPanel = (Tabpanel) self.getFellow("tabPanelDetails");
        Util.createBindingsFor(tabPanel);
        Util.reloadBindings(tabPanel);
        clear();
    }
View Full Code Here

        return timeplot;
    }

    private Tabpanel createLoadTimeplotTab(
            Timeplot loadChart) {
        Tabpanel result = new Tabpanel();
        appendLoadChartAndLegend(result, loadChart);
        return result;
    }
View Full Code Here

    }

    private Tabpanel createEarnedValueTab(
            Timeplot chartEarnedValueTimeplot,
            OrderEarnedValueChartFiller earnedValueChartFiller) {
        Tabpanel result = new Tabpanel();
        appendEarnedValueChartAndLegend(result, chartEarnedValueTimeplot,
                earnedValueChartFiller);
        return result;
    }
View Full Code Here

    private void setupChartAndItsContent(final Planner planner,
           final Tabbox chartComponent) {
        Timeplot chartLoadTimeplot = createEmptyTimeplot();

        appendTab(chartComponent, appendLoadChartAndLegend(new Tabpanel(), chartLoadTimeplot));

        setupChart(chartLoadTimeplot, new CompanyLoadChartFiller(), planner);

        chartComponent.getTabs().getLastChild().addEventListener(Events.ON_SELECT, new EventListener() {
            @Override
View Full Code Here

            @Override
            public Void execute() {
                Timeplot chartEarnedValueTimeplot = createEmptyTimeplot();
                CompanyEarnedValueChartFiller earnedValueChartFiller = new CompanyEarnedValueChartFiller();
                earnedValueChartFiller.calculateValues(planner.getTimeTracker().getRealInterval());
                Tabpanel earnedValueTabpanel = new Tabpanel();

                appendEarnedValueChartAndLegend(earnedValueTabpanel, chartEarnedValueTimeplot, earnedValueChartFiller);
                appendTab(chartComponent, earnedValueTabpanel);
                Chart chart = setupChart(chartEarnedValueTimeplot, earnedValueChartFiller, planner);
                setEventListenerConfigurationCheckboxes(chart);

                Writer out = new StringWriter();
                try {
                    earnedValueTabpanel.redraw(out);
                } catch (IOException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
                }
View Full Code Here

        setupJiraSynchronizationController();
        setupTimSynchronizationController();
    }

    public void reloadOrderDetailsTab() {
        Tabpanel tabPanel = (Tabpanel) editWindow
                .getFellow("tabPanelGeneralData");
        Util.createBindingsFor(tabPanel);
        Util.reloadBindings(tabPanel);
    }
View Full Code Here

TOP

Related Classes of org.zkoss.zul.Tabpanel

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.