Update of /cvsroot/squirrel-sql/mavenize/thirdparty-non-maven/ilf-gpl-1.6.1/src/main/java/net/infonode/gui/icon
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv4128/thirdparty-non-maven/ilf-gpl-1.6.1/src/main/java/net/infonode/gui/icon
Added Files:
EmptyIcon.java package.html
Log Message:
pom and Source for thirdparty dependency. Maven central requires a valid source code repository for artifacts that it hosts. This project has none, so we host it here for the time being.
--- NEW FILE: package.html ---
<html>
<body>
Icon classes and interfaces
</body>
</html>
--- NEW FILE: EmptyIcon.java ---
/*
* Copyright (C) 2004 NNL Technology AB
* Visit www.infonode.net for information about InfoNode(R)
* products and how to contact NNL Technology AB.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston,
* MA 02111-1307, USA.
*/
// $Id: EmptyIcon.java,v 1.1 2010/01/26 21:09:41 manningr Exp $
package net.infonode.gui.icon;
import javax.swing.*;
import java.awt.*;
/**
* @author Jesper Nordenberg
* @version $Revision: 1.1 $ $Date: 2010/01/26 21:09:41 $
*/
public class EmptyIcon implements Icon {
public static final EmptyIcon INSTANCE = new EmptyIcon();
private EmptyIcon() {
}
public void paintIcon(Component c, Graphics g, int x, int y) {
}
public int getIconWidth() {
return 0;
}
public int getIconHeight() {
return 0;
}
}
|