Package org.zkoss.zul

Examples of org.zkoss.zul.Space


   *
   * @param event
   */
  public void onCreate$winUserBar(Event event) {

    Space space;

    winUserBar.setBorder("none");

    Hbox hbox = new Hbox();
    hbox.setParent(winUserBar);

    userLabel = new Label();
    userLabel.setStyle("text-align: right; font-size: 10px;");
    userLabel.setParent(hbox);
    userLabelText = new Label();
    userLabelText.setStyle("padding-left: 2px; text-align: right; color: blue; font-size: 10px;");
    userLabelText.setParent(hbox);

    tenantLabel = new Label();
    tenantLabel.setStyle("text-align: right; font-size: 10px;");
    tenantLabel.setParent(hbox);
    tenantLabelText = new Label();
    tenantLabelText.setStyle("padding-left: 2px; text-align: right; color: blue; font-size: 10px;");
    tenantLabelText.setParent(hbox);

    officeLabel = new Label();
    officeLabel.setStyle("text-align: right; font-size: 10px;");
    officeLabel.setParent(hbox);
    officeLabelText = new Label();
    officeLabelText.setStyle("padding-left: 2px; text-align: right; color: blue; font-size: 10px;");
    officeLabelText.setParent(hbox);

    space = new Space();
    space.setWidth("5px");
    space.setParent(hbox);
  }
View Full Code Here


    Toolbarbutton toolbarbutton;

    final Panelchildren gb = (Panelchildren) getMainMenuWindow().getFellowIfAny("panelChildren_menu");

    Space space = new Space();
    space.setHeight("5px");
    space.setParent(gb);

    // Hbox for the expand/collapse buttons
    final Hbox hbox = new Hbox();
    // hbox.setStyle("backgound-color: " + bgColorInner);
    hbox.setParent(gb);
View Full Code Here

TOP

Related Classes of org.zkoss.zul.Space

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.