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

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


    public InfoBox(final String token, final String title, final String description) {
        String linkId = IdHelper.asId(getClass(), "_" + token);
        HTMLPanel panel = new HTMLPanel(TEMPLATES.infoBox(linkId, description));
        InlineHyperlink hyperlink = new InlineHyperlink(title, token);
        hyperlink.addStyleName("homepage-link");
        panel.add(hyperlink, linkId);

        initWidget(panel);
    }
}
View Full Code Here


        String linkId = IdHelper.asId(id + "_", getClass(), "_" + "link");
        HTMLPanel panel = new HTMLPanel(TEMPLATES.body(body, linkId));
        panel.addStyleName("homepage-content-box-body");
        InlineHyperlink hyperlink = new InlineHyperlink(linkTitle, linkTarget);
        hyperlink.addStyleName("homepage-link");
        panel.add(hyperlink, linkId);
        dp.add(panel);

        initWidget(dp);
        setStyleName("homepage-content-box");
View Full Code Here

        String linkId = IdHelper.asId(id + "_", getClass(), "_" + "link");
        HTMLPanel panel = new HTMLPanel(TEMPLATES.body(body, linkId));
        panel.addStyleName("homepage-content-box-body");
        InlineHyperlink hyperlink = new InlineHyperlink(linkTitle, linkTarget);
        hyperlink.addStyleName("homepage-link");
        panel.add(hyperlink, linkId);
        dp.add(panel);

        initWidget(dp);
        setStyleName("homepage-content-box");
View Full Code Here

        String linkId = IdHelper.asId(getClass(), "_" + token);
        HTMLPanel panel = new HTMLPanel(TEMPLATES.infoBox(linkId, description));
        panel.getElement().setId(IdHelper.asId(getClass(), "_info-box"));
        panel.addStyleName("homepage-info-box");
        InlineHyperlink hyperlink = new InlineHyperlink(title, token);
        hyperlink.addStyleName("homepage-link");
        panel.add(hyperlink, linkId);

        initWidget(panel);
    }
}
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.