Package com.salas.bb.utils.uif

Examples of com.salas.bb.utils.uif.LinkLabel.addMouseListener()


     * @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


     * @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;
    }

    /**
     * Creates a clickable label for guide.
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;
    }

    /**
     * Creates a clickable label for feeds.
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;
    }

    /**
     * Creates a clickable label for feeds.
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;
    }

    /** Feed click action that reports the event to the click callback. */
    private class FeedClickAction extends AbstractAction
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.