NewsFeedTool.java :  » Swing-Library » wings3 » desktop » Java Open Source

Java Open Source » Swing Library » wings3 
wings3 » desktop » NewsFeedTool.java
package desktop;

import org.wings.SURLIcon;

public class NewsFeedTool
    implements DesktopTool
{

    private SURLIcon icon;
    private String text = "";

    public DesktopItem getItem() {
        return new NewsFeedItem();
    }

    public DesktopItem getExistingItem(String name) {
        return new NewsFeedItem(name);
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public SURLIcon getIcon() {
        return icon;
    }

    public void setIcon(SURLIcon icon) {
        this.icon = icon;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.