Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* #%L
* JAXX :: Extra Widgets
* %%
* Copyright (C) 2004 - 2017 CodeLutin
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 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 Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
/* *
* IconFactory.java
*
* Created: Jul 29, 2004
*
* @author Cédric Pineau
*
* @version $Revision$
*
* Last update : $Date$ by : $Author$
*/
package org.nuiton.jaxx.widgets.extra;
import org.apache.commons.collections4.map.AbstractReferenceMap;
import org.apache.commons.collections4.map.ReferenceIdentityMap;
import org.nuiton.util.Resource;
import javax.swing.Icon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.WindowConstants;
import java.util.IdentityHashMap;
import java.util.Map;
public class IconFactory {
protected static IconFactory _instance = null;
protected static IconFactory getInstance() {
if (_instance == null) {
_instance = new IconFactory();
}
return _instance;
}
public static final String APPEARANCE = "APPEARANCE";
public static final String APPOINTMENT = "APPOINTMENT";
public static final String ARROW1DOWN = "DOWN";
public static final String ARROW1LEFT = "LEFT";
public static final String ARROW1RIGHT = "RIGHT";
public static final String ARROW1UP = "UP";
public static final String ARROW2DOWN = "DOWN";
public static final String ARROW2LEFT = "LEFT";
public static final String ARROW2RIGHT = "RIGHT";
public static final String ARROW2UP = "UP";
public static final String ATTACH = "ATTACH";
public static final String CANCEL = "CANCEL";
public static final String CLOSE = "CLOSE";
public static final String FIND = "FIND";
public static final String FONTS = "FONTS";
public static final String FULLSCREEN = "FULLSCREEN";
public static final String HELP = "HELP";
public static final String IDEA = "IDEA";
public static final String INFO = "INFO";
public static final String LINK = "LINK";
public static final String MAIL = "MAIL";
public static final String MAILGET = "MAILGET";
public static final String MAILNEW = "MAILNEW";
public static final String MAILSEND = "MAILSEND";
public static final String NEW = "NEW";
public static final String NOFULLSCREEN = "NOFULLSCREEN";
public static final String OK = "OK";
public static final String OPEN = "OPEN";
public static final String PRINT = "PRINT";
public static final String QUIT = "QUIT";
public static final String REDO = "REDO";
public static final String RESET = "RESET";
public static final String RUN = "RUN";
public static final String SAVE = "SAVE";
public static final String SAVEAS = "SAVEAS";
public static final String SPELLCHECK = "SPELLCHECK";
public static final String STOP = "STOP";
public static final String TIME = "TIME";
public static final String UNDO = "UNDO";
protected final Map