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

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


        sortLabel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().gwtLabel());
        options.add(sortLabel);

        final Anchor dateSort = new Anchor("Recent");
        dateSort.setTitle("Sorted by activity post date.");
        dateSort.addStyleName(StaticResourceBundle.INSTANCE.coreCss().sortOption());
        options.add(dateSort);
        linkMap.put("date", dateSort);

        final Anchor interestingSort = new Anchor("Popular");
        interestingSort.addStyleName(StaticResourceBundle.INSTANCE.coreCss().sortOption());
View Full Code Here


        dateSort.addStyleName(StaticResourceBundle.INSTANCE.coreCss().sortOption());
        options.add(dateSort);
        linkMap.put("date", dateSort);

        final Anchor interestingSort = new Anchor("Popular");
        interestingSort.addStyleName(StaticResourceBundle.INSTANCE.coreCss().sortOption());
        options.add(interestingSort);
        linkMap.put("interesting", interestingSort);

        final Anchor commentSort = new Anchor("Active");
        commentSort.setTitle("Sorted by last comment date");
View Full Code Here

        options.add(interestingSort);
        linkMap.put("interesting", interestingSort);

        final Anchor commentSort = new Anchor("Active");
        commentSort.setTitle("Sorted by last comment date");
        commentSort.addStyleName(StaticResourceBundle.INSTANCE.coreCss().sortOption());
        options.add(commentSort);
        linkMap.put("commentdate", commentSort);

        EventBus.getInstance().addObserver(UpdatedHistoryParametersEvent.class,
                new Observer<UpdatedHistoryParametersEvent>()
View Full Code Here

                    for (ModelView result : event.getResponse().getPagedSet())
                    {
                        final FocusPanel itemContainer = new FocusPanel();
                        final FlowPanel itemPanel = new FlowPanel();
                        final Anchor name = new Anchor();
                        name.addStyleName(StaticResourceBundle.INSTANCE.coreCss().bookmarkSearchName());
                        name.addStyleName(StaticResourceBundle.INSTANCE.coreCss().ellipsis());

                        if (result instanceof PersonModelView)
                        {
                            final PersonModelView person = (PersonModelView) result;
View Full Code Here

                    {
                        final FocusPanel itemContainer = new FocusPanel();
                        final FlowPanel itemPanel = new FlowPanel();
                        final Anchor name = new Anchor();
                        name.addStyleName(StaticResourceBundle.INSTANCE.coreCss().bookmarkSearchName());
                        name.addStyleName(StaticResourceBundle.INSTANCE.coreCss().ellipsis());

                        if (result instanceof PersonModelView)
                        {
                            final PersonModelView person = (PersonModelView) result;
                            itemPanel.add(AvatarLinkPanel.create(person, Size.VerySmall, false));
View Full Code Here

                            {
                                selectItem(itemContainer);
                            }
                        });

                        name.addStyleName(StaticResourceBundle.INSTANCE.coreCss().bookmarkNameLink());
                        name.addStyleName(StaticResourceBundle.INSTANCE.coreCss().ellipsis());
                        itemPanel.add(name);

                        itemContainer.add(itemPanel);
                        resultsPanel.add(itemContainer);
View Full Code Here

                                selectItem(itemContainer);
                            }
                        });

                        name.addStyleName(StaticResourceBundle.INSTANCE.coreCss().bookmarkNameLink());
                        name.addStyleName(StaticResourceBundle.INSTANCE.coreCss().ellipsis());
                        itemPanel.add(name);

                        itemContainer.add(itemPanel);
                        resultsPanel.add(itemContainer);
View Full Code Here

        fileUploadWrapper.add(upload);
        uploadPanel.add(fileUploadWrapper);

        uploadPanel.add(new Label(description));
        Anchor submitButton = new Anchor("");
        submitButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formUploadButton());
        submitButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formButton());

        uploadPanel.add(submitButton);

        hiddenImage = new Image();
View Full Code Here

        uploadPanel.add(fileUploadWrapper);

        uploadPanel.add(new Label(description));
        Anchor submitButton = new Anchor("");
        submitButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formUploadButton());
        submitButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formButton());

        uploadPanel.add(submitButton);

        hiddenImage = new Image();
        hiddenImage.addStyleName(StaticResourceBundle.INSTANCE.coreCss().avatarHiddenOriginal());
View Full Code Here

        Anchor link = new Anchor();
        link.setHref(object.getLinks().get(i).getHref());
        link.setText(object.getLinks().get(i).getHref());
        link.setTarget("_blank");
        link.addStyleName("smalllink");

        attachmentFlow.add(link);
        attachmentswrapper.add(attachment);
      }
    }
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.