Package org.zkoss.zul

Examples of org.zkoss.zul.Tabpanel


            Tab ntb = new Tab(funName);
            ntb.setId("funTab_" + funIdStr);
            ntb.setClosable(true);

            Tabpanel ntp = new Tabpanel();
            ntp.setId("funPanel_" + funIdStr);

            ntb.setParent(tbs);
            ntp.setParent(tps);

            Include inc = new Include(funPath);
            inc.setMode("defer");
            inc.setParent(ntp);
View Full Code Here


          tab.setClosable(true);

          tab.setParent(tabs);

          Tabpanels tabpanels = (Tabpanels) center.getFellow("divCenter").getFellow("tabBoxIndexCenter").getFellow("tabsIndexCenter").getFellow("tabpanelsBoxIndexCenter");
          Tabpanel tabpanel = new Tabpanel();
          tabpanel.setHeight("100%");
          tabpanel.setStyle("padding: 0px;");
          tabpanel.setParent(tabpanels);

          /**
           * Create the page and put it in the tabs area. If zul-file
           * is not found, detach the created tab
           */
 
View Full Code Here

    /**
     * We select the list tab and create the components from the zul-file.
     */
    this.tabLoginList.setSelected(true);

    final Tabpanel listTab = (Tabpanel) Path
        .getComponent("/outerIndexWindow/secLoginlogMainWindow/tabPanelLoginList");
    listTab.getChildren().clear();

    final Panel panel = new Panel();
    final Panelchildren pChildren = new Panelchildren();
    panel.appendChild(pChildren);
    listTab.appendChild(panel);

    // call the zul-file and put it in the panelChildren on the tab.
    Executions.createComponents("/WEB-INF/pages/sec_loginlog/secLoginLogList.zul", pChildren, null);

  }
View Full Code Here

   * @throws IOException
   */
  public void onSelect$tabLoginList(Event event) throws IOException {
    logger.debug(event.toString());

    final Tabpanel listTab = (Tabpanel) Path
        .getComponent("/outerIndexWindow/secLoginlogMainWindow/tabPanelLoginList");
    listTab.getChildren().clear();

    final Panel panel = new Panel();
    final Panelchildren pChildren = new Panelchildren();

    panel.appendChild(pChildren);
    listTab.appendChild(panel);

    // call the zul-file and put it on the tab.
    Executions.createComponents("/WEB-INF/pages/sec_loginlog/secLoginLogList.zul", pChildren, null);

  }
View Full Code Here

    // PageSize for the Listboxes
    map.put("rowSizeOrders", new Integer(10));
    map.put("rowSizeOrderPositions", new Integer(10));

    final Tabpanel orderTab = (Tabpanel) Path.getComponent("/window_customerDialog/tabPanelCustomerOrders");
    orderTab.getChildren().clear();

    final Panel panel = new Panel();
    final Panelchildren pChildren = new Panelchildren();

    panel.appendChild(pChildren);
    orderTab.appendChild(panel);

    // call the zul-file and put it on the tab.
    Executions.createComponents("/WEB-INF/pages/order/orderList.zul", pChildren, map);
  }
View Full Code Here

    // PageSize for the Listboxes
    map.put("rowSizeOrders", new Integer(10));
    map.put("rowSizeOrderPositions", new Integer(10));

    Tabpanel chartTab = (Tabpanel) Path.getComponent("/window_customerDialog/tabPanelCustomerDialogChart");
    chartTab.getChildren().clear();

    Panel panel = new Panel();
    Panelchildren pChildren = new Panelchildren();

    panel.appendChild(pChildren);
    chartTab.appendChild(panel);

    // call the zul-file and put it on the tab.
    Executions.createComponents("/WEB-INF/pages/customer/customerChart.zul", pChildren, map);

  }
View Full Code Here

    // } catch (InterruptedException e) {
    // // TODO Auto-generated catch block
    // e.printStackTrace();
    // }

    final Tabpanel listTab = (Tabpanel) Path
        .getComponent("/outerIndexWindow/secLoginlogMainWindow/tabPanelLoginStatistic");
    listTab.getChildren().clear();

    final Panel panel = new Panel();
    final Panelchildren pChildren = new Panelchildren();

    panel.appendChild(pChildren);
    listTab.appendChild(panel);

    // call the zul-file and put it on the tab.
    Executions.createComponents("/WEB-INF/pages/sec_loginlog/secLoginLogStatistic.zul", pChildren, null);

  }
View Full Code Here

          tab.setClosable(true);
          tab.setParent(tabs);

          final Tabpanels tabpanels = (Tabpanels) center.getFellow("divCenter").getFellow("tabBoxIndexCenter").getFellow("tabsIndexCenter")
              .getFellow("tabpanelsBoxIndexCenter");
          final Tabpanel tabpanel = new Tabpanel();
          tabpanel.setHeight("100%");
          tabpanel.setStyle("padding: 0px;");
          tabpanel.setParent(tabpanels);

          /*
           * create the page and put it in the tabs area
           */
          Executions.createComponents(zulFilePathName, tabpanel, null);
View Full Code Here

          tab.setClosable(true);

          tab.setParent(tabs);

          final Tabpanels tabpanels = (Tabpanels) center.getFellow("divCenter").getFellow("tabBoxIndexCenter").getFellow("tabsIndexCenter").getFellow("tabpanelsBoxIndexCenter");
          final Tabpanel tabpanel = new Tabpanel();
          tabpanel.setHeight("100%");
          tabpanel.setStyle("padding: 0px;");
          tabpanel.setParent(tabpanels);

          Executions.createComponents(getZulNavigation(), tabpanel, null);
          tab.setSelected(true);
        }
      } else {
View Full Code Here

          tab.setClosable(true);

          tab.setParent(tabs);

          final Tabpanels tabpanels = (Tabpanels) center.getFellow("divCenter").getFellow("tabBoxIndexCenter").getFellow("tabsIndexCenter").getFellow("tabpanelsBoxIndexCenter");
          final Tabpanel tabpanel = new Tabpanel();
          tabpanel.setHeight("100%");
          tabpanel.setStyle("padding: 0px;");
          tabpanel.setParent(tabpanels);

          Executions.createComponents(getZulNavigation(), tabpanel, null);
          tab.setSelected(true);
        }
      } else {
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.