Package org.jdesktop.swingx.action

Examples of org.jdesktop.swingx.action.LinkAction


        super(component, dataModel, fieldName, AUTO_VALIDATE_NONE);
    }

    protected void setComponent(JComponent component) {
        button = (JButton) component;
        linkAction = new LinkAction(null);
        button.setAction(linkAction);

    }
View Full Code Here


    }
   
    private LinkAction createReadMoreLink() {
        LinkModel readMoreLink = new LinkModel("Read More...");
        readMoreLink.setURLString(getHowToURLString());
        LinkAction linkAction = new LinkAction(readMoreLink);
        linkAction.setVisitingDelegate(new FramedEditorPaneLinkVisitor());
        URL url = getClass().getResource("/toolbarButtonGraphics/general/Information16.gif");
//        linkAction.putValue(Action.SMALL_ICON, new ImageIcon(url));
        return linkAction;
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.swingx.action.LinkAction

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.