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

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


                        }
                    }
                });

        Anchor poweredBy = new Anchor("", "http://www.eurekastreams.org");
        poweredBy.addStyleName(StaticResourceBundle.INSTANCE.coreCss().poweredByEureka());
        navPanel.add(poweredBy);

        panel.add(navPanel);
        panel.add(siteLabelingContainer);
View Full Code Here


     *            click handler.
     */
    public UndoDeleteNotification(final String widgetName, final ClickHandler clickHandler)
    {
        Anchor undoButton = new Anchor("undo delete");
        undoButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().undoNotification());

        this.clear();
        this.add(new HTML("<div>" + widgetName + " has been removed&nbsp</div>"));
        this.add(undoButton);
        undoButton.addClickHandler(clickHandler);
View Full Code Here

                }
            }
        };

        final Anchor transparentLikeLink = new Anchor();
        transparentLikeLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().transparentLikeLink());

        transparentLikeLink.addClickHandler(new ClickHandler()
        {
            public void onClick(final ClickEvent arg0)
            {
View Full Code Here

                        CustomStreamModel.getInstance().delete(view);
                        close();
                    }
                }
            });
            deleteButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().deleteButton());
            form.add(deleteButton);
        }
    }

    /**
 
View Full Code Here

                            String linkUrl = "/#"
                                    + Session.getInstance().generateUrl(
                                            new CreateUrlRequest(Page.PEOPLE, entity.getAccountId()));

                            Anchor name = new Anchor(entity.getDisplayName(), linkUrl, "_BLANK");
                            name.addStyleName(StaticResourceBundle.INSTANCE.coreCss().eurekaConnectBadgeName());

                            Label title = new Label(entity.getTitle());
                            title.addStyleName(StaticResourceBundle.INSTANCE.coreCss().eurekaConnectBadgeTitle());

                            Label company = new Label(entity.getCompanyName());
View Full Code Here

                    Session.getInstance().getEventBus().notifyObservers(new HideNotificationEvent());
                    Dialog.showCentered(new CustomStreamDialogContent(stream));
                    event.stopPropagation();
                }
            });
            editButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().editButton());
            panel.add(editButton);

        }

        Session.getInstance().getEventBus().addObserver(SwitchedToActivityDetailViewEvent.class,
View Full Code Here

            image.addStyleName(StaticResourceBundle.INSTANCE.coreCss().thumbnail());
            main.add(image);
        }

        Anchor primaryLink = new Anchor(props.get("targetTitle"), props.get("targetUrl"), "_blank");
        primaryLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().title());
        main.add(primaryLink);

        FlowPanel sourcePanel = new FlowPanel();
        sourcePanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().url());
        sourcePanel.add(new InlineLabel("source: "));
View Full Code Here

        HorizontalULPanel userNav;
        FlowPanel panel = new FlowPanel();
        FlowPanel navPanel = new FlowPanel();

        Anchor externalLink = new Anchor("EurekaStreams.org", "http://www.eurekastreams.org", "_blank");
        externalLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().navBarButton());

        Hyperlink startPageLink = new Hyperlink("Start", Session.getInstance().generateUrl(
                new CreateUrlRequest(Page.START)));
        startPageLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().navBarButton());
        Hyperlink activityLink = new Hyperlink("Activity", Session.getInstance().generateUrl(
View Full Code Here

                            && event.getResponse().getSupportStreamWebsite().length() > 0)
                     {
           
            Anchor learnMoreLink = new Anchor("Learn", event.getResponse().getSupportStreamWebsite(),
                               "_blank");
            learnMoreLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().navBarButton());  
            learnMoreLinkPanel.add(learnMoreLink);
            learnMoreLinkPanel.addStyleName(
                               StaticResourceBundle.INSTANCE.coreCss().learnmoreHeaderButton());
            mainNav.add(learnMoreLinkPanel);
                     }
View Full Code Here

     * Constructor.
     */
    public StreamFeedLinkWidget()
    {
        final Anchor atomLink = new Anchor();
        atomLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().streamAtomLink());
        atomLink.setTarget("_blank");

        initWidget(atomLink);

        EventBus.getInstance().addObserver(StreamRequestEvent.class, new Observer<StreamRequestEvent>()
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.