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

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


        if (resultArr.length > 0)
        {
            Label resultsLbl = new Label("Matches found in: ");
            matchedWidget.add(resultsLbl);
            matchedWidget.addStyleName(StaticResourceBundle.INSTANCE.coreCss().searchMetadata());
            resultWidget.add(matchedWidget);
        }

        for (int i = 0; i < resultArr.length; i++)
        {
View Full Code Here


        body.add(streamTitle);

        body.add(new Label("Below are additional ways to subscribe:"));

        FlowPanel options = new FlowPanel();
        options.addStyleName(StaticResourceBundle.INSTANCE.coreCss().followDialogOptions());

        final CheckBox addToStartPage = new CheckBox("Add this Stream to my Start Page");
        final CheckBox bookmarkStream = new CheckBox("Bookmark this stream");
        final CheckBox notifyViaEmail = new CheckBox("Notify me via Email");
View Full Code Here

        }

        body.add(options);

        FlowPanel buttonPanel = new FlowPanel();
        buttonPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().followDialogButtonPanel());

        saveButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().saveChangesButton());
        buttonPanel.add(saveButton);
        buttonPanel.add(closeButton);
View Full Code Here

     * @return the group as a widget.
     */
    public FlowPanel render(final DomainGroupModelView group)
    {
        FlowPanel groupPanel = new FlowPanel();
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().group());
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().listItem());
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().connectionItem());

        groupPanel.add(new AvatarLinkPanel(EntityType.GROUP, group.getShortName(), group
                .getAvatarId(), Size.Small));
View Full Code Here

     */
    public FlowPanel render(final DomainGroupModelView group)
    {
        FlowPanel groupPanel = new FlowPanel();
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().group());
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().listItem());
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().connectionItem());

        groupPanel.add(new AvatarLinkPanel(EntityType.GROUP, group.getShortName(), group
                .getAvatarId(), Size.Small));

View Full Code Here

                        }

                        GadgetMetaDataFetcher fetcher = new GadgetMetaDataFetcher(gadgetDefList);
                        fetcher.fetchMetaData();

                        thisBuffered.addStyleName(StaticResourceBundle.INSTANCE.coreCss().portalBoundary());

                        Session.getInstance().getEventBus().addObserver(ThemeChangedEvent.getEvent(),
                                new Observer<ThemeChangedEvent>()
                                {
                                    public void update(final ThemeChangedEvent arg1)
View Full Code Here

    public FlowPanel render(final DomainGroupModelView group)
    {
        FlowPanel groupPanel = new FlowPanel();
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().group());
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().listItem());
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().connectionItem());

        groupPanel.add(new AvatarLinkPanel(EntityType.GROUP, group.getShortName(), group
                .getAvatarId(), Size.Small));

        FlowPanel groupAbout = new FlowPanel();
View Full Code Here

        groupPanel.add(new AvatarLinkPanel(EntityType.GROUP, group.getShortName(), group
                .getAvatarId(), Size.Small));

        FlowPanel groupAbout = new FlowPanel();
        groupAbout.addStyleName(StaticResourceBundle.INSTANCE.coreCss().connectionItemInfo());

        String url;

        url = Session.getInstance().generateUrl(new CreateUrlRequest(Page.GROUPS, group.getShortName()));
        Hyperlink groupNameLink = new Hyperlink(group.getName(), url);
View Full Code Here

            about.addStyleName(StaticResourceBundle.INSTANCE.coreCss().missionStatement());
            groupAbout.add(about);
        }

        FlowPanel groupMetaData = new FlowPanel();
        groupMetaData.addStyleName(StaticResourceBundle.INSTANCE.coreCss().connectionItemFollowers());

        groupMetaData.add(new HTML("Followers: <span class='" + StaticResourceBundle.INSTANCE.coreCss().light() + "'>"
                + group.getFollowersCount() + "</span>"));
        insertActionSeparator(groupMetaData);
        groupMetaData.add(new HTML("Added: <span class='" + StaticResourceBundle.INSTANCE.coreCss().light() + "'>"
View Full Code Here

            });

        }

        FlowPanel imageContainer = new FlowPanel();
        imageContainer.addStyleName(StaticResourceBundle.INSTANCE.coreCss().imageContainer());

        addStyleName(StaticResourceBundle.INSTANCE.coreCss().gadgetMetaData());

        // Im a gadget.
        if (tabId != null)
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.