org.nuiton.widget
Class IconFactory
java.lang.Object
org.nuiton.widget.IconFactory
public class IconFactory
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_instance
protected static IconFactory _instance
APPEARANCE
public static final String APPEARANCE
- See Also:
- Constant Field Values
APPOINTMENT
public static final String APPOINTMENT
- See Also:
- Constant Field Values
ARROW1DOWN
public static final String ARROW1DOWN
- See Also:
- Constant Field Values
ARROW1LEFT
public static final String ARROW1LEFT
- See Also:
- Constant Field Values
ARROW1RIGHT
public static final String ARROW1RIGHT
- See Also:
- Constant Field Values
ARROW1UP
public static final String ARROW1UP
- See Also:
- Constant Field Values
ARROW2DOWN
public static final String ARROW2DOWN
- See Also:
- Constant Field Values
ARROW2LEFT
public static final String ARROW2LEFT
- See Also:
- Constant Field Values
ARROW2RIGHT
public static final String ARROW2RIGHT
- See Also:
- Constant Field Values
ARROW2UP
public static final String ARROW2UP
- See Also:
- Constant Field Values
ATTACH
public static final String ATTACH
- See Also:
- Constant Field Values
CANCEL
public static final String CANCEL
- See Also:
- Constant Field Values
CLOSE
public static final String CLOSE
- See Also:
- Constant Field Values
FIND
public static final String FIND
- See Also:
- Constant Field Values
FONTS
public static final String FONTS
- See Also:
- Constant Field Values
FULLSCREEN
public static final String FULLSCREEN
- See Also:
- Constant Field Values
HELP
public static final String HELP
- See Also:
- Constant Field Values
IDEA
public static final String IDEA
- See Also:
- Constant Field Values
INFO
public static final String INFO
- See Also:
- Constant Field Values
LINK
public static final String LINK
- See Also:
- Constant Field Values
MAIL
public static final String MAIL
- See Also:
- Constant Field Values
MAILGET
public static final String MAILGET
- See Also:
- Constant Field Values
MAILNEW
public static final String MAILNEW
- See Also:
- Constant Field Values
MAILSEND
public static final String MAILSEND
- See Also:
- Constant Field Values
NEW
public static final String NEW
- See Also:
- Constant Field Values
NOFULLSCREEN
public static final String NOFULLSCREEN
- See Also:
- Constant Field Values
OK
public static final String OK
- See Also:
- Constant Field Values
OPEN
public static final String OPEN
- See Also:
- Constant Field Values
PRINT
public static final String PRINT
- See Also:
- Constant Field Values
QUIT
public static final String QUIT
- See Also:
- Constant Field Values
REDO
public static final String REDO
- See Also:
- Constant Field Values
RESET
public static final String RESET
- See Also:
- Constant Field Values
RUN
public static final String RUN
- See Also:
- Constant Field Values
SAVE
public static final String SAVE
- See Also:
- Constant Field Values
SAVEAS
public static final String SAVEAS
- See Also:
- Constant Field Values
SPELLCHECK
public static final String SPELLCHECK
- See Also:
- Constant Field Values
STOP
public static final String STOP
- See Also:
- Constant Field Values
TIME
public static final String TIME
- See Also:
- Constant Field Values
UNDO
public static final String UNDO
- See Also:
- Constant Field Values
iconURLs
protected org.apache.commons.collections.map.IdentityMap iconURLs
cache
protected static transient org.apache.commons.collections.map.ReferenceIdentityMap cache
IconFactory
protected IconFactory()
getInstance
protected static IconFactory getInstance()
getIcon
public static Icon getIcon(Object iconId)
- Retourne l'icone demandé.
- Parameters:
iconId - l'identifiant de l'icon, il doit exister, par exemple
IconFactory.getIcon(IconFactory.UNDO) et non pas
IconFactory.getIcon("UNDO")
- Returns:
- null si l'icon n'a pas public etre retrouve alors qu'il devrait
exister.
- Throws:
IllegalArgumentException - si l'idendifiant de l'icon n'existe pas
main
public static void main(String[] args)
Copyright © 2004-2010 CodeLutin. All Rights Reserved.