Package org.zkoss.zul

Examples of org.zkoss.zul.Panel


    }

    @SuppressWarnings("unchecked")
    private void createPortlet(Map params)
    {
        final Panel topoPanel = (Panel)execution.createComponents("/topoPortlet.zul", null, params);
      
        topoPanel.addEventListener("onClose", new EventListener()
        {
            @Override
            public void onEvent(Event arg0) throws Exception
            {
                portletKeySet.remove(topoPanel.getAttribute("portletKey"));
            }
        });
       
        int leftChildCounter = left.getChildren().size();
        int rightChildCounter = right.getChildren().size();
       
        if (leftChildCounter <= rightChildCounter)
        {
            topoPanel.setParent(left);
        }
        else
        {
            topoPanel.setParent(right);
        }

    }
View Full Code Here


   
   
    @SuppressWarnings("unchecked")
    private void createPortlet2(Map params)
    {
        final Panel topoPanel = (Panel)execution.createComponents("/topoPortlet.zul", null, params);
      
        topoPanel.addEventListener("onClose", new EventListener()
        {
            @Override
            public void onEvent(Event arg0) throws Exception
            {
                portletKeySet.remove(topoPanel.getAttribute("portletKey"));
            }
        });
       
        int leftChildCounter1 = left1.getChildren().size();
        int rightChildCounter1 = right1.getChildren().size();
       
        if (leftChildCounter1 <= rightChildCounter1)
        {
            topoPanel.setParent(left1);
        }
        else
        {
            topoPanel.setParent(right1);
        }
    }
View Full Code Here

    this.tableChildrenButtons.setRowspan(1);
    this.tableChildrenButtons.setWidth("240px");
    this.tableChildrenButtons.setStyle("padding-left: 5px;");
    this.tableChildrenButtons.setParent(this.tableLayout);

    final Panel pb = new Panel();
    pb.setWidth("240px");
    pb.setBorder("none");
    pb.setStyle("align:left; color:red");
    pb.setParent(this.tableChildrenButtons);

    this.panelChildren_Buttons = new Panelchildren();
    this.panelChildren_Buttons.setParent(pb);

    final Separator sep = new Separator();
View Full Code Here

  /**
   * Shows the application news.<br>
   */
  private void showApplicationNews() {

    final Panel panel = new Panel();
    panel.setTitle("");
    panel.setBorder("none");
    panel.setParent(this.tableChildrenRecords);

    final Panelchildren panelchildren = new Panelchildren();
    panelchildren.setParent(panel);
    panelchildren.setStyle("padding: 0px; background-color: #EBEBEB;");

View Full Code Here

  /**
   * Shows the count of records of all tables.<br>
   */
  private void countDemoData() {

    final Panel panel = new Panel();
    panel.setTitle("");
    panel.setWidth("260px");
    panel.setBorder("none");
    panel.setStyle("align:left; color:red; ");
    panel.setParent(this.tableChildrenRecords);

    final Panelchildren panelchildren = new Panelchildren();
    panelchildren.setParent(panel);
    panelchildren.setStyle("background-color: #EBEBEB;");

View Full Code Here

     */
    // Statistic stat = de.forsthaus.statistic.Statistic.getStatistic();
    // new Statistic class since 20.08.2010
    final FDStatistic stat = de.forsthaus.statistic.FDStatistic.getStatistic();

    final Panel panel = new Panel();
    panel.setWidth("400px");
    panel.setBorder("normal");
    panel.setStyle("align:left; color:red;");
    panel.setParent(this.tableChildrenStatistic);

    final Panelchildren panelchildren = new Panelchildren();
    panelchildren.setParent(panel);
    panelchildren.setStyle("background-color: #EBEBEB;");

View Full Code Here

   * Creates and shows the buttons for creating additionally <br>
   * customer demo data.<br>
   */
  private void createButtons() {

    final Panel panel = new Panel();
    // panel.setTitle("Demo Customers");
    panel.setWidth("240px");
    panel.setBorder("normal");
    panel.setStyle("align:left; color:red;");
    panel.setParent(this.panelChildren_Buttons);

    final Panelchildren panelchildren = new Panelchildren();
    panelchildren.setParent(panel);
    panelchildren.setStyle("background-color: #EBEBEB;");

View Full Code Here

   * Creates and shows the Chart for Users online .<br>
   * The number of users are randomly generated.<br>
   */
  private void showUsersOnlineChart() {

    final Panel panel = new Panel();
    panel.setWidth("240px");
    panel.setHeight("265px");
    panel.setBorder("normal");
    panel.setParent(this.panelChildren_Buttons);

    final Panelchildren panelchildren = new Panelchildren();
    panelchildren.setParent(panel);
    panelchildren.setStyle("background-color: #EBEBEB;");

View Full Code Here

      // clears the old content
      tabPanelID.getChildren().clear();

      // TabPanel acepts only a Panel/PanelChildren
      final Panel panel = new Panel();
      final Panelchildren pChildren = new Panelchildren();

      panel.appendChild(pChildren);
      tabPanelID.appendChild(panel);

      // call the zul-file and put it on the tab.
      Executions.createComponents(zulFilePathName, pChildren, map);
    }
View Full Code Here

    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

TOP

Related Classes of org.zkoss.zul.Panel

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.