Package com.google.gwt.user.client.ui

Examples of com.google.gwt.user.client.ui.VerticalPanel.addStyleName()


    @Override
    public Widget asWidget() {

        VerticalPanel desc = new VerticalPanel();
        desc.addStyleName("metric-container");
        if(embeddedUse)
            desc.add(new HTML("<h3 class='metric-label-embedded'>" + title + "</h3>"));
        else
            desc.add(new HTML("<h3 class='metric-label'>" + title + "</h3>"));
View Full Code Here


        // ----------------------
        // view panel

        VerticalPanel viewPanel = new VerticalPanel();
        viewPanel.setStyleName("fill-layout-width");
        viewPanel.addStyleName("form-view-panel");

        if(toolsCallback!=null)
        {

            edit = new HTML("<i class='icon-edit'></i>&nbsp; Edit");
View Full Code Here

        // ----------------------
        // edit panel

        VerticalPanel editPanel = new VerticalPanel();
        editPanel.setStyleName("fill-layout-width");
        editPanel.addStyleName("form-edit-panel");

        if(toolsCallback!=null)
        {
            final HTML editDisabled = new HTML("<i class='icon-edit'></i>&nbsp; Edit");
            editDisabled.setStyleName("form-edit-button-disabled");
View Full Code Here

        });

        tableTools.addToolButtonRight(removeBtn);

        VerticalPanel formPanel = new VerticalPanel();
        formPanel.addStyleName("fill-layout-width");

        formPanel.add(helpPanel.asWidget());
        formPanel.add(formTools.asWidget());
        formPanel.add(form.asWidget());
View Full Code Here

    public Widget asWidget() {

        VerticalPanel layout = new VerticalPanel();
        layout.getElement().setAttribute("title", "Select Server Instance");
        layout.setStyleName("fill-layout-width");
        layout.addStyleName("lhs-selector");
        layout.getElement().setAttribute("style","padding:4px;margin-top:10px");

        hostServerTable = new HostServerTable(this);

        hostServerTable.setPopupWidth(400);
View Full Code Here

    // We can set the id of a widget by accessing its Element
    closeButton.getElement().setId("closeButton");
    final Label textToServerLabel = new Label();
    final HTML serverResponseLabel = new HTML();
    VerticalPanel dialogVPanel = new VerticalPanel();
    dialogVPanel.addStyleName("dialogVPanel");
    dialogVPanel.add(new HTML("<b>Sending name to the server:</b>"));
    dialogVPanel.add(textToServerLabel);
    dialogVPanel.add(new HTML("<br><b>Server replies:</b>"));
    dialogVPanel.add(serverResponseLabel);
    dialogVPanel.setHorizontalAlignment(VerticalPanel.ALIGN_RIGHT);
View Full Code Here

   {
      WizardResources res = WizardResources.INSTANCE;
      WizardResources.Styles styles = res.styles();
     
      VerticalPanel mainWidget = new VerticalPanel();
      mainWidget.addStyleName(styles.mainWidget());
     
      headerPanel_ = new LayoutPanel();
      headerPanel_.addStyleName(styles.headerPanel());
     
      // layout consants
View Full Code Here

  
   @Override
   protected Widget createMainWidget()
   {    
      VerticalPanel mainPanel = new VerticalPanel();
      mainPanel.addStyleName(
         CodeSearchResources.INSTANCE.styles().codeSearchDialogMainWidget());
      codeSearch_ = pCodeSearch_.get();
      codeSearch_.setObserver(this);
      mainPanel.add(codeSearch_.getSearchWidget());
      return mainPanel;
View Full Code Here

   protected Widget createMainWidget()
   {
      Styles styles = RESOURCES.styles();
     
      VerticalPanel panel = new VerticalPanel();
      panel.addStyleName(styles.mainWidget());
     
      VerticalPanel namePanel = new VerticalPanel();
      namePanel.setWidth("100%");
    
      // path
View Full Code Here

     
      passphrasePanel1.add(txtPassphrase_);
      passphrasePanel.add(passphrasePanel1);
     
      VerticalPanel passphrasePanel2 = new VerticalPanel();
      passphrasePanel2.addStyleName(styles.lastSection());
      Label passphraseLabel2 = new Label("Confirm:");
      passphraseLabel2.addStyleName(styles.entryLabel());
      passphrasePanel2.add(passphraseLabel2);
      txtConfirmPassphrase_ = new PasswordTextBox();
      txtConfirmPassphrase_.addStyleName(styles.passphraseConfirm());
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.