Examples of Center


Examples of org.zkoss.zul.Center

    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();
    this.lbDailyCount.setVflex(true);
    this.lbDailyCount.setMultiple(false);
    this.lbDailyCount.setWidth("99.5%");
View Full Code Here

Examples of org.zkoss.zul.Center

    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);
    // Paging
    this._paging = new Paging();
    this._paging.setDetailed(true);
    this._paging.addEventListener("onPaging", new OnPagingEventListener());
    this._paging.setPageSize(getPageSize());
    this._paging.setParent(north2);

    Center center2 = new Center();
    center2.setBorder("none");
    center2.setFlex(true);
    center2.setParent(bl2);
    // Div Center area
    Div divCenter2 = new Div();
    divCenter2.setWidth("100%");
    divCenter2.setHeight("100%");
    divCenter2.setParent(center2);
View Full Code Here

Examples of org.zkoss.zul.Center

    // 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);

    Grid grid = new Grid();
    grid.setSclass("GridLayoutSmartBorderDashed");
    grid.setParent(ct);
View Full Code Here

Examples of org.zkoss.zul.Center

    // 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);

    anIFrame = new Iframe();
    anIFrame.setHeight("100%");
    anIFrame.setWidth("100%");
    anIFrame.setScrolling(getScrolling());
View Full Code Here

Examples of org.zkoss.zul.Center

      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
         */
        Executions.createComponents(getZulNavigation(), center, null);
      }
View Full Code Here

Examples of org.zkoss.zul.Center

  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
       */
      Executions.createComponents(getZulNavigation(), center, null);

View Full Code Here

Examples of org.zkoss.zul.Center

      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
         */
        Executions.createComponents(getZulNavigation(), center, null);
      }
View Full Code Here

Examples of weka.filters.unsupervised.attribute.Center

  public PLSFilter() {
    super();
   
    // setup pre-processing
    m_Missing = new ReplaceMissingValues();
    m_Filter  = new Center();
  }
View Full Code Here

Examples of weka.filters.unsupervised.attribute.Center

     
      switch (m_Preprocessing) {
  case PREPROCESSING_CENTER:
    m_ClassMean   = instances.meanOrMode(instances.classIndex());
    m_ClassStdDev = 1;
    m_Filter      = new Center();
    ((Center) m_Filter).setIgnoreClass(true);
          break;
  case PREPROCESSING_STANDARDIZE:
    m_ClassMean   = instances.meanOrMode(instances.classIndex());
    m_ClassStdDev = StrictMath.sqrt(instances.variance(instances.classIndex()));
View Full Code Here

Examples of weka.filters.unsupervised.attribute.Center

    }
   
    double[] att = new double[m_trainInstances.numInstances()];
   
    // now center the data by subtracting the mean
    m_centerFilter = new Center();
    m_centerFilter.setInputFormat(m_trainInstances);
    m_trainInstances = Filter.useFilter(m_trainInstances, m_centerFilter);
   
    // now compute the covariance matrix
    m_correlation = new double[m_numAttribs][m_numAttribs];
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.