Package com.salas.bb.utils.uif

Examples of com.salas.bb.utils.uif.LinkLabel


     *
     * @return label.
     */
    private Component createGuideLabel(final IGuide guide, final IFeed feed)
    {
        LinkLabel label = LinkLabel.create(guide.getTitle(), new GuideClickAction(guide, guide.getID()));
        label.addMouseListener(new GuidePopupAdapter(guide, -1)
        {
            @Override
            protected Map<String, Action> getActions()
            {
                Map<String, Action> actions = super.getActions();
View Full Code Here


     */
    private void initComponents()
    {
        fetchTagsAction = new FetchSharedTagsAction();

        tfTitle = new LinkLabel();
        tfDescription = new JTextField();
        tfExtended = new JTextField();
        tfTags = new JTextField();
        lbSharedTags = new JLabel();

View Full Code Here

     *
     * @return lable.
     */
    protected JLabel createGuideLabel(IGuide guide)
    {
        LinkLabel label = LinkLabel.create(guide.getTitle(), new GuideClickAction(guide, guide.getID()));
        label.addMouseListener(new GuidePopupAdapter(guide, -1));
        return label;
    }
View Full Code Here

     *
     * @return lable.
     */
    protected JLabel createGuideLabel(long id, String title)
    {
        LinkLabel label = LinkLabel.create(title, new GuideClickAction(null, id));
        label.addMouseListener(new GuidePopupAdapter(null, id));
        return label;
    }
View Full Code Here

     *
     * @return lable.
     */
    protected JLabel createFeedLabel(IFeed feed)
    {
        LinkLabel label = LinkLabel.create(feed.getTitle(), new FeedClickAction(feed, feed.getID()));
        label.addMouseListener(new FeedPopupAdapter(feed, -1));
        return label;
    }
View Full Code Here

     *
     * @return lable.
     */
    protected JLabel createFeedLabel(long id, String title)
    {
        LinkLabel label = LinkLabel.create(title, new FeedClickAction(null, id));
        label.addMouseListener(new FeedPopupAdapter(null, id));
        return label;
    }
View Full Code Here

        taDescription = new JTextArea(initialDescription);
        taDescription.setLineWrap(true);
        taDescription.setWrapStyleWord(true);

        URL siteURL = feed.getSiteURL();
        tfSiteUrl = new LinkLabel();
        tfSiteUrl.setText(siteURL == null ? null : siteURL.toString());
        tfSiteUrl.setLink(siteURL);
        URL xmlURL = feed.getXmlURL();
        tfXmlUrl = new JTextField(xmlURL == null ? null : xmlURL.toString());
View Full Code Here

                    ? Strings.message("feedback.success")
                    : Strings.message("feedback.failure"));

                if (sent)
                {
                    LinkLabel linkLabel = new LinkLabel(Strings.message("feedback.forum"),
                        "http://forum.blogbridge.com/viewforum.php?id=" + forumId);
                    linkLabel.setForeground(LinkLabel.HIGHLIGHT_COLOR);

                    builder.appendUnrelatedComponentsGapRow(2);
                    builder.append(Strings.message("feedback.please.visit"));
                    builder.append(linkLabel, 1, CellConstraints.CENTER, CellConstraints.DEFAULT);
                }
View Full Code Here

    {
        BBFormBuilder builder = new BBFormBuilder("7dlu, pref:grow");
        builder.setDefaultDialogBorder();

        // Service link
        LinkLabel lnkService = new LinkLabel(
            Strings.message("spw.learn.more"),
            ResourceUtils.getString("server.plans.url"));
        lnkService.setForeground(LinkLabel.HIGHLIGHT_COLOR);

        String message = Strings.message("tweetthis.unavailable.1");
        builder.append(ComponentsFactory.createWrappedMultilineLabel(message), 2);

        builder.appendUnrelatedComponentsGapRow(2);
View Full Code Here

        } else
        {
            taWording = ComponentsFactory.createWrappedMultilineLabel(
                Strings.message("installer.service.wording.missing"));

            lbReadMore = new LinkLabel(Strings.message("installer.service.read.more"),
                ResourceUtils.getString("server.plans.url"));

            tfUseEmail = new JTextField();
            tfUsePassword = new JPasswordField();


            lnkSignup = new LinkLabel(Strings.message("service.registration.signup"),
                ResourceUtils.getString("server.signup.url"));
            lnkSignup.setForeground(LinkLabel.HIGHLIGHT_COLOR);
        }
    }
View Full Code Here

TOP

Related Classes of com.salas.bb.utils.uif.LinkLabel

Copyright © 2018 www.massapicom. 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.