Package org.zkoss.zul

Examples of org.zkoss.zul.Borderlayout


    panel.setWidth("100%");
    panel.setParent(div);
    final Panelchildren panelchildren = new Panelchildren();
    panelchildren.setParent(panel);

    final Borderlayout bl = new Borderlayout();
    bl.setHeight(this.maxlistBoxHeight + "px");
    bl.setParent(panelchildren);
    final Center center = new Center();
    center.setParent(bl);
    center.setBorder("0");

    this.lbTotalCount = new Listbox();
View Full Code Here


    panel.setWidth("100%");
    panel.setParent(div);
    final Panelchildren panelchildren = new Panelchildren();
    panelchildren.setParent(panel);

    final Borderlayout bl = new Borderlayout();
    bl.setHeight(this.maxlistBoxHeight + "px");
    bl.setParent(panelchildren);
    final Center center = new Center();
    center.setParent(bl);
    center.setBorder("0");

    this.lbMonthlyCount = new Listbox();
View Full Code Here

    panel.setParent(div);

    final Panelchildren panelchildren = new Panelchildren();
    panelchildren.setParent(panel);

    final Borderlayout bl = new Borderlayout();
    bl.setHeight(this.maxlistBoxHeight + "px");
    bl.setParent(panelchildren);
    final Center center = new Center();
    center.setParent(bl);
    center.setBorder("0");

    this.lbDailyCount = new Listbox();
View Full Code Here

    this.setTitle(this._title);
    this.setVisible(true);
    this.setClosable(true);

    // Borderlayout
    Borderlayout bl = new Borderlayout();
    bl.setHeight("100%");
    bl.setWidth("100%");
    bl.setParent(this);

    Center center = new Center();
    center.setBorder("none");
    center.setFlex(true);
    center.setParent(bl);

    // Borderlayout
    Borderlayout bl2 = new Borderlayout();
    bl2.setHeight("100%");
    bl2.setWidth("100%");
    bl2.setParent(center);

    North north2 = new North();
    north2.setBorder("none");
    north2.setHeight("26px");
    north2.setParent(bl2);
View Full Code Here

    btnRefresh.setTooltiptext(Labels.getLabel("btnRefresh.tooltiptext"));
    btnRefresh.addEventListener("onClick", new BtnClickListener());
    btnRefresh.setParent(hboxSameButtonsHeight);

    // body
    Borderlayout bl = new Borderlayout();
    bl.setHeight(getModulHeight() + "px");
    bl.setParent(plc);
    Center ct = new Center();
    ct.setSclass("FDCenterNoBorder");
    ct.setStyle("background-color: white");
    ct.setFlex(true);
    ct.setParent(bl);
View Full Code Here

    cap.setParent(pl);
    Panelchildren plc = new Panelchildren();
    plc.setParent(pl);

    // body
    Borderlayout bl = new Borderlayout();
    bl.setHeight(getModulHeight() + "px");
    bl.setParent(plc);
    Center ct = new Center();
    ct.setSclass("FDCenterNoBorder");
    ct.setStyle("background-color: white");
    ct.setParent(bl);
View Full Code Here

    Toolbar toolbarRight = new Toolbar();
    toolbarRight.setStyle("float:right; border-style: none;");
    toolbarRight.setParent(hbox);

    // body
    Borderlayout bl = new Borderlayout();
    bl.setHeight(getModulHeight() + "px");
    bl.setParent(plc);
    Center ct = new Center();
    ct.setSclass("FDCenterNoBorder");
    ct.setStyle("background-color: white");
    ct.setParent(bl);
View Full Code Here

      final int workWithTabs = 1;

      if (workWithTabs == 1) {

        /* get an instance of the borderlayout defined in the zul-file */
        final Borderlayout bl = (Borderlayout) Path.getComponent("/outerIndexWindow/borderlayoutMain");
        /* get an instance of the searched CENTER layout area */
        final Center center = bl.getCenter();

        final Tabs tabs = (Tabs) center.getFellow("divCenter").getFellow("tabBoxIndexCenter").getFellow("tabsIndexCenter");

        // Check if the tab is already open, if not than create them
        Tab checkTab = null;
        try {
          checkTab = (Tab) tabs.getFellow("tab_" + this.getId());
          checkTab.setSelected(true);
        } catch (final ComponentNotFoundException ex) {
          // Ignore if can not get tab.
        }

        if (checkTab == null) {

          final Tab tab = new Tab();
          tab.setId("tab_" + this.getId());
          tab.setLabel(this.getLabel().trim());
          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 {
        /* get an instance of the borderlayout defined in the zul-file */
        final Borderlayout bl = (Borderlayout) Path.getComponent("/outerIndexWindow/borderlayoutMain");
        /* get an instance of the searched CENTER layout area */
        final Center center = bl.getCenter();
        /* clear the center child comps */
        center.getChildren().clear();
        /*
         * create the page and put it in the center layout area
         */
 
View Full Code Here

  @Override
  public void onEvent(Event event) throws Exception {
    try {
      /* get an instance of the borderlayout defined in the zul-file */
      Borderlayout bl = (Borderlayout) Path.getComponent("/outerIndexWindow/borderlayoutMain");
      /* get an instance of the searched CENTER layout area */
      Center center = bl.getCenter();
      /* clear the center child comps */
      center.getChildren().clear();
      /*
       * create the page and put it in the center layout area
       */
 
View Full Code Here

      final int workWithTabs = 1;

      if (workWithTabs == 1) {

        /* get an instance of the borderlayout defined in the zul-file */
        final Borderlayout bl = (Borderlayout) Path.getComponent("/outerIndexWindow/borderlayoutMain");
        /* get an instance of the searched CENTER layout area */
        final Center center = bl.getCenter();

        final Tabs tabs = (Tabs) center.getFellow("divCenter").getFellow("tabBoxIndexCenter").getFellow("tabsIndexCenter");

        // Check if the tab is already open, if not than create them
        Tab checkTab = null;
        try {
          checkTab = (Tab) tabs.getFellow("tab_" + this.getId());
          checkTab.setSelected(true);
        } catch (final ComponentNotFoundException ex) {
          // Ignore if can not get tab.
        }

        if (checkTab == null) {
          final Tab tab = new Tab();
          tab.setId("tab_" + this.getId());
          tab.setLabel(this.getLabel().trim());
          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 {
        /* get an instance of the borderlayout defined in the zul-file */
        final Borderlayout bl = (Borderlayout) Path.getComponent("/outerIndexWindow/borderlayoutMain");
        /* get an instance of the searched CENTER layout area */
        final Center center = bl.getCenter();
        /* clear the center child comps */
        center.getChildren().clear();
        /*
         * create the page and put it in the center layout area
         */
 
View Full Code Here

TOP

Related Classes of org.zkoss.zul.Borderlayout

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.