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

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


    private AvatarLinkPanel(final EntityType entityType,
            final String entityUniqueId, final Size size,
                final AvatarWidget avatar, final boolean allowBadge)
    {
        Panel main = new FlowPanel();
        main.addStyleName(StaticResourceBundle.INSTANCE.coreCss().avatar());
        initWidget(main);

        Page page;
        switch (entityType)
        {
View Full Code Here


        dontShowAgain = new BasicCheckBoxFormElement(null, ((Long) tutorialVideo.getEntityId()).toString(),
                "Don't show this again", false, false);

        textContent.setHTML("<b>" + tutorialVideo.getInnerContentTitle() + "</b><br/>"
                + tutorialVideo.getInnerContent());
        textDiv.addStyleName(StaticResourceBundle.INSTANCE.coreCss().content_text());

        body.addStyleName(StaticResourceBundle.INSTANCE.coreCss().optoutableVideoModal());
        body.add(dontShowAgain);
        body.add(breakdiv);
        body.add(textDiv);
View Full Code Here

     * Builds the UI.
     */
    private void setupWidgets()
    {
        final FlowPanel lookupPanelContainer = new FlowPanel();
        lookupPanelContainer.addStyleName(StaticResourceBundle.INSTANCE.coreCss().lookupContainer());

        final FlowPanel lookupPanel = new FlowPanel();

        Label lookupDesc = new Label("Enter the last name, first name of the user you want to lookup. "
                + "If there are greater than 50 results, please enter more of the last name and first name.");
View Full Code Here

                + "If there are greater than 50 results, please enter more of the last name and first name.");
        lookupDesc.addStyleName(StaticResourceBundle.INSTANCE.coreCss().lookupDescription());

        lookupPanelContainer.add(lookupDesc);

        lookupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().lookup());

        final FlowPanel lastNamePanel = new FlowPanel();
        lastNamePanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().searchList());

        lastNamePanel.add(lastName);
View Full Code Here

        lookupPanelContainer.add(lookupDesc);

        lookupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().lookup());

        final FlowPanel lastNamePanel = new FlowPanel();
        lastNamePanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().searchList());

        lastNamePanel.add(lastName);

        search = new Hyperlink("Search", History.getToken());
        search.addStyleName(StaticResourceBundle.INSTANCE.coreCss().searchListButton());
View Full Code Here

        results.addStyleName(StaticResourceBundle.INSTANCE.coreCss().results());
        results.setVisibleItemCount(5);
        lookupPanel.add(results);

        final FlowPanel buttonArea = new FlowPanel();
        buttonArea.addStyleName(StaticResourceBundle.INSTANCE.coreCss().buttonArea());

        select = new Hyperlink("Select", History.getToken());
        select.addStyleName(StaticResourceBundle.INSTANCE.coreCss().lookupSelectButtonInactive());
        buttonArea.add(select);
View Full Code Here

                }, true);

        this.add(bottomPager);

        FlowPanel clear = new FlowPanel();
        clear.addStyleName(StaticResourceBundle.INSTANCE.coreCss().clear());
        this.add(clear);
    }

    /**
     * Constructor.
 
View Full Code Here

        navPanel.add(poweredBy);

        panel.add(navPanel);
        panel.add(siteLabelingContainer);

        navPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().footerNav());
        siteLabelingContainer.addStyleName(StaticResourceBundle.INSTANCE.coreCss().siteLabeling());
        panel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().footerBar());
        SystemSettingsModel.getInstance().fetch(null, true);
    }
View Full Code Here

                main.add(followPanel);
            }
            else
            {
                Panel panel = new FlowPanel();
                panel.addStyleName(style.followControlsPanel());
                panel.addStyleName(style.multi());
                panel.add(followPanel);

                final Label block = new Label();
                block.addStyleName(style.blockButton());
View Full Code Here

            }
            else
            {
                Panel panel = new FlowPanel();
                panel.addStyleName(style.followControlsPanel());
                panel.addStyleName(style.multi());
                panel.add(followPanel);

                final Label block = new Label();
                block.addStyleName(style.blockButton());
                block.setTitle("Block this suggestion");
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.