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

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


       
        // Display Business Area (BA) information
        insertActionSeparator(groupMetaData);
        groupMetaData.add(new InlineLabel("BA: "));
        Label baLabel = new InlineLabel(group.getPersonCreatedByCompanyName());
        baLabel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().connectionItemFollowersData());
        groupMetaData.add(baLabel);
        insertActionSeparator(groupMetaData);
       
        groupMetaData.add(new InlineLabel("Privacy Setting: "));
        Label label = new InlineLabel(group.isPublic() ? "Public" : "Private");
View Full Code Here


        groupMetaData.add(baLabel);
        insertActionSeparator(groupMetaData);
       
        groupMetaData.add(new InlineLabel("Privacy Setting: "));
        Label label = new InlineLabel(group.isPublic() ? "Public" : "Private");
        label.addStyleName(StaticResourceBundle.INSTANCE.coreCss().connectionItemFollowersData());
        groupMetaData.add(label);

        groupAbout.add(groupMetaData);

        // -- actions --
View Full Code Here

     *            Panel to put the separator in.
     */
    private void insertActionSeparator(final Panel panel)
    {
        Label sep = new InlineLabel(BULLET);
        sep.addStyleName(StaticResourceBundle.INSTANCE.coreCss().actionLinkSeparator());
        panel.add(sep);
    }
}
View Full Code Here

        {
            final InlineLabel ellipsis = new InlineLabel("...");
            body.add(ellipsis);

            final InlineLabel more = new InlineLabel("show more");
            more.addStyleName(StaticResourceBundle.INSTANCE.coreCss().showMoreCommentLink());
            more.addStyleName(StaticResourceBundle.INSTANCE.coreCss().linkedLabel());
            more.addClickHandler(new ClickHandler()
            {
                public void onClick(final ClickEvent inEvent)
                {
View Full Code Here

            final InlineLabel ellipsis = new InlineLabel("...");
            body.add(ellipsis);

            final InlineLabel more = new InlineLabel("show more");
            more.addStyleName(StaticResourceBundle.INSTANCE.coreCss().showMoreCommentLink());
            more.addStyleName(StaticResourceBundle.INSTANCE.coreCss().linkedLabel());
            more.addClickHandler(new ClickHandler()
            {
                public void onClick(final ClickEvent inEvent)
                {
                    // remove the truncated segment, ... and "show more"
View Full Code Here

        timestampActions.addStyleName(StaticResourceBundle.INSTANCE.coreCss().commentTimestamp());
        body.add(timestampActions);

        DateFormatter dateFormatter = new DateFormatter(new Date());
        Label dateLink = new InlineLabel(dateFormatter.timeAgo(comment.getTimeSent()));
        dateLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().commentTimestamp());
        timestampActions.add(dateLink);

        Panel actionsPanel = new FlowPanel();
        timestampActions.add(actionsPanel);
View Full Code Here

        timestampActions.add(actionsPanel);

        if (comment.isDeletable())
        {
            Label sep = new InlineLabel("\u2219");
            sep.addStyleName(StaticResourceBundle.INSTANCE.coreCss().actionLinkSeparator());
            actionsPanel.add(sep);

            Label deleteLink = new InlineLabel("Delete");
            deleteLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().delete());
            deleteLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().linkedLabel());
View Full Code Here

            Label sep = new InlineLabel("\u2219");
            sep.addStyleName(StaticResourceBundle.INSTANCE.coreCss().actionLinkSeparator());
            actionsPanel.add(sep);

            Label deleteLink = new InlineLabel("Delete");
            deleteLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().delete());
            deleteLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().linkedLabel());

            actionsPanel.add(deleteLink);

            deleteLink.addClickHandler(new ClickHandler()
View Full Code Here

            sep.addStyleName(StaticResourceBundle.INSTANCE.coreCss().actionLinkSeparator());
            actionsPanel.add(sep);

            Label deleteLink = new InlineLabel("Delete");
            deleteLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().delete());
            deleteLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().linkedLabel());

            actionsPanel.add(deleteLink);

            deleteLink.addClickHandler(new ClickHandler()
            {
View Full Code Here

    {
        FlowPanel mainPanel = new FlowPanel();
        mainPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().titleWrapper());

        InlineLabel fader = new InlineLabel();
        fader.addStyleName(StaticResourceBundle.INSTANCE.coreCss().streamTitleFader());
        mainPanel.add(fader);

        titleLbl.addStyleName(StaticResourceBundle.INSTANCE.coreCss().title());
        mainPanel.add(titleLbl);
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.