Examples of BorderLayout


Examples of org.zkoss.zul.Borderlayout

   * Creates the MainMenu as TreeMenu as default. <br>
   */
  private void createMainTreeMenu(Event event) {

    // get an instance of the borderlayout defined in the index.zul-file
    Borderlayout bl = (Borderlayout) Path.getComponent("/outerIndexWindow/borderlayoutMain");

    // get an instance of the searched west layout area
    West west = bl.getWest();
    west.setFlex(true);
    // clear the WEST child comps
    west.getChildren().clear();

    HashMap<String, Object> map = new HashMap<String, Object>();
View Full Code Here

Examples of tripleplay.ui.layout.BorderLayout

        public final boolean useGroups;
        public final float gaps;
        public final Map<String, Element<?>> edges = Maps.newHashMap();

        public Panel (boolean useGroups, float gaps) {
            super(new BorderLayout(gaps));
            this.useGroups = useGroups;
            this.gaps = gaps;

            add(newSection(NORTH, BorderLayout.NORTH, 0xFFFFFF00, 2).addStyles(Style.VALIGN.top));
            add(newSection(SOUTH, BorderLayout.SOUTH, 0xFFFFCC33, 2).addStyles(Style.VALIGN.bottom));
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.