Package com.smartgwt.client.widgets.layout

Examples of com.smartgwt.client.widgets.layout.HLayout


            public void onClick(ClickEvent clickEvent) {
                createNewGroup(modalWindow, form);
            }
        });

        HLayout buttons = new HLayout(10);
        buttons.setLayoutAlign(Alignment.CENTER);
        buttons.addMember(create);
        buttons.addMember(cancel);
        layout.addMember(buttons);
        modalWindow.addItem(layout);
        modalWindow.show();
        name.focusInItem();
    }
View Full Code Here


        }
        ldapGroupSettings.setItems(groupSearch, groupMember, groupQueryPagingItem, groupQueryPagingCountItem,
            groupUsePosixGroupsItem);

        // orient both panels next to each other
        HLayout panel = new HLayout();
        {
            panel.addMember(availableGroupDetails);
            DynamicForm spacerWrapper = new DynamicForm();
            spacerWrapper.setItems(new SpacerItem());
            panel.addMember(spacerWrapper);
            panel.addMember(ldapGroupSettings);
        }
        availableFilterForm.addChild(panel);

        final long ldapGroupSelectorRequestId = System.currentTimeMillis();
View Full Code Here

                System.err.println("--- UNCAUGHT EXCEPTION ---");
                t.printStackTrace();
            }
        });
       
        HLayout hLayout = new HLayout();
        hLayout.setMargin(10);

        // *************** Add widgets to hLayout here. ****************
        Label label = new Label("Hello world!");
        hLayout.addMember(label);

        hLayout.draw();
    }
View Full Code Here

          }
        });
      }
    });
   
    HLayout hLayout = new HLayout();
    hLayout.setMembersMargin(5);

    hLayout.addMember(saveButton);
    //hLayout.setAlign(Alignment.CENTER);
   
   
    VLayout vLayout = new VLayout();
View Full Code Here

     
    });
   
   
    HLayout hLayout = new HLayout();
    hLayout.setMembersMargin(5);

    hLayout.addMember(loginButton);
    hLayout.addMember(createButton);
    hLayout.setAlign(Alignment.CENTER);
    VLayout vLayout = new VLayout();
    vLayout.setLayoutMargin(10);
    vLayout.setMembersMargin(5);
    vLayout.addMember(form);
    vLayout.addMember(remember_form);
View Full Code Here

  /**
   * Add controls (e.g. 'add new tab') to the tab bar
   */
  private void addTabControls() {
    controls = new HLayout();
    controls.setBackgroundColor("white");
    controlsSpacer = new LayoutSpacer();
    controlsSpacer.setWidth100();
    controls.addMember(controlsSpacer);
    controls.setWidth(INDENT_TABBAR_START - 2);
View Full Code Here

   
    layout.addMember(hlayout);
  }
 
  private void drawHtml5LocalStorage() {
    HLayout hlayout = new HLayout();
    hlayout.setHeight(ROW_HEIGHT);
   
    hlayout.addMember(getIcon(html5StorageSupported));
    hlayout.addMember(getRowName("Local Storage"));
    if (html5StorageSupported) {
      hlayout.addMember(getExplanation("Supported by your browser. Allows for client-side caching, resulting in faster page loads"));
    } else {
      hlayout.addMember(getExplanation("Not supported by your browser. This results in slightly slower page loads, as client-side caching is not possible"));
    }
    hlayout.addMember(getLink(URL_COMPATIBILTIES_LOCAL_STORAGE));
   
    layout.addMember(hlayout);
  }
View Full Code Here

    VLayout layout = new VLayout();
    layout.addMember(Helper.getVSpacer());
   
    layout.addMember(getLinkText());
   
    HLayout belowLink = new HLayout();
    belowLink.setMargin(4);
   
    if (view.getSettings().useBitly()) {
      belowLink.addMember(getShortenUrlButton());
    }
   
    layout.addMember(belowLink);
   
    layout.addMember(Helper.getVSpacer());
View Full Code Here

   
    layout.addMember(hlayout);
  }
 
  private void drawDownloadFunctionality() {
    HLayout hlayout = new HLayout();
    hlayout.setHeight(ROW_HEIGHT);
   
    hlayout.addMember(getIcon(downloadFileSupported));
    hlayout.addMember(getRowName("Clientside File Downloads"));
    if (downloadFileSupported) {
      hlayout.addMember(getExplanation("Supported by your browser. Allows you to download query results to file"));
    } else {
      hlayout.addMember(getExplanation("Not supported by your browser. You are not able to download query results to file"));
    }
   
    hlayout.addMember(getLink(URL_COMPATIBILITIES_DOWNLOAD_FILE));
   
    layout.addMember(hlayout);
  }
View Full Code Here

   
    layout.addMember(hlayout);
  }
 
  private void drawDownloadFilenameFunctionality() {
    HLayout hlayout = new HLayout();
    hlayout.setHeight(ROW_HEIGHT);
   
    hlayout.addMember(getIcon(downloadAttributeSupported));
    hlayout.addMember(getRowName("Download attributes"));
    if (downloadAttributeSupported) {
      hlayout.addMember(getExplanation("Supported by your browser. This allows the files you download to have 'sensible' names, instead of a long unrecognizable ID"));
    } else {
      hlayout.addMember(getExplanation("Not supported by your browser. Files you download will have a strange ID as filename, instead of a more sensible name"));
    }
   
    hlayout.addMember(getLink(URL_COMPATIBILITIES_DOWNLOAD_ATTRIBUTE));
   
    layout.addMember(hlayout);
  }
View Full Code Here

TOP

Related Classes of com.smartgwt.client.widgets.layout.HLayout

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.