Package com.smartgwt.client.widgets

Examples of com.smartgwt.client.widgets.Label


    private void prepareHelpSection(SectionStack stack, ServerPlugin plugin) {
        if (plugin.getHelp() != null && plugin.getHelp().length() > 0) {
            SectionStackSection section = new SectionStackSection(MSG.common_title_help());
            section.setExpanded(true);
            Label help = new Label(plugin.getHelp());
            section.setItems(help);

            helpSection = section;
        }
View Full Code Here


        TitleBar titleBar = new TitleBar(MSG.view_admin_administration(), IconEnum.ADMIN.getIcon24x24Path());
        vLayout.addMember(titleBar);

        ProductInfo productInfo = CoreGUI.get().getProductInfo();

        Label label = new Label(MSG.view_admin_landing(productInfo.getShortName()));
        label.setPadding(10);
        vLayout.addMember(label);

        return vLayout;
    }
View Full Code Here

                    operationDefinition.getResultsConfigurationDefinition(), operationHistory.getResults());
                editor.setPreserveTextFormatting(true);
                editor.setReadOnly(true);
                resultsSection.addMember(editor);
            } else {
                Label noResultsLabel = new Label(MSG.view_operationHistoryDetails_noResults());
                noResultsLabel.setHeight(17);
                resultsSection.addMember(noResultsLabel);
            }

            return resultsSection;
        } else {
View Full Code Here

    private void prepareHelpSection(SectionStack stack, Plugin plugin) {
        if (plugin.getHelp() != null && plugin.getHelp().length() > 0) {
            SectionStackSection section = new SectionStackSection(MSG.common_title_help());
            section.setExpanded(true);
            Label help = new Label(plugin.getHelp());
            section.setItems(help);
            stack.addSection(section);
        }
        return;
    }
View Full Code Here

                });
                updateTab(this.ldapGroupsTab, this.ldapGroupSelector);
            } else {
                // LDAP is not configured for this RHQ Server - display a message on the LDAP Groups tab informing the
                // user of this along with a link to the System Settings view.
                Label label = new Label("<b>"
                    + MSG.common_msg_emphasizedNotePrefix()
                    + "</b> "
                    + MSG.view_adminRoles_noLdap("href='#Administration/Configuration/SystemSettings'",
                        MSG.view_adminConfig_systemSettings()));
                label.setWidth100();
                label.setHeight(20);
                label.setPadding(10);
                updateTab(this.ldapGroupsTab, label);
            }
        }

        this.permissionsEditor.redraw();
View Full Code Here

       
        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

    Window window = getErrorWindow();
    window.addItem(content);
    window.draw();
  }
  private Label getErrorLabel(String error) {
    Label label = new Label(error);
    label.setMargin(4);
    label.setHeight100();
    return label;
  }
View Full Code Here

    final Window window = getErrorWindow();
    window.setWidth(350);
    window.setZIndex(ZIndexes.MODAL_WINDOWS);
    VLayout vLayout = new VLayout();
    vLayout.setWidth100();
    Label label = new Label();
    label.setID("queryErrorMessage");
    label.setContents(error);
    label.setMargin(4);
    label.setHeight100();
    label.setWidth100();
    vLayout.addMember(label);
   
    HLayout buttons = new HLayout();
    buttons.setAlign(Alignment.CENTER);
    Button executeQuery = new Button("Open endpoint in new window");
View Full Code Here

      }});
    return moreInfo;
  }
 
  private Label getExplanation(String string){
    Label label = new Label(string);
    label.setWidth100();
    label.setMargin(5);
    return label;
  }
View Full Code Here

    Img warning = new Img();
    warning.setSrc(Imgs.WARNING.get());
    warning.setSize(13);
    warning.setTooltip(warningMessage);

    Label messageLabel = new Label("&nbsp;" + message);
    messageLabel.setAutoHeight();
    messageLabel.setStyleName("queryResultText");
    messageLabel.setWidth(70);
    resultLayout.addMembers(Helper.getHSpacer(), cross, messageLabel, warning, Helper.getHSpacer());
    return resultLayout;
  }
View Full Code Here

TOP

Related Classes of com.smartgwt.client.widgets.Label

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.