|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.application.helpers.ResourceLoaderWrapper
Wrapper around org.tigris.gef.util.ResourceLoader. Necessary since ArgoUML needs some extra init
Field Summary | |
protected static javax.swing.ImageIcon |
_ActionStateIcon
|
protected static javax.swing.ImageIcon |
_BranchIcon
|
protected static javax.swing.ImageIcon |
_CommentIcon
|
protected static javax.swing.ImageIcon |
_DeepIcon
|
protected static javax.swing.ImageIcon |
_FinalStateIcon
|
protected static javax.swing.ImageIcon |
_ForkIcon
|
protected java.util.Hashtable |
_iconCache
|
protected static javax.swing.ImageIcon |
_InitialStateIcon
|
protected static javax.swing.ImageIcon |
_JoinIcon
|
protected static javax.swing.ImageIcon |
_RealizeIcon
|
protected static javax.swing.ImageIcon |
_ShallowIcon
|
protected static javax.swing.ImageIcon |
_SignalIcon
|
protected static javax.swing.ImageIcon |
_StateIcon
|
Constructor Summary | |
ResourceLoaderWrapper()
Constructor for ResourceLoaderWrapper. |
Method Summary | |
void |
addResourceExtension(java.lang.String extension)
Wrapped method |
void |
addResourceLocation(java.lang.String location)
Wrapped method |
boolean |
containsExtension(java.lang.String extension)
Wrapped method |
boolean |
containsLocation(java.lang.String location)
Wrapped method |
static ResourceLoaderWrapper |
getResourceLoaderWrapper()
Returns the singleton instance |
boolean |
isInCache(java.lang.String resource)
Wrapped method |
javax.swing.Icon |
lookupIcon(java.lang.Object value)
|
javax.swing.ImageIcon |
lookupIconResource(java.lang.String resource)
Wrapped method |
javax.swing.ImageIcon |
lookupIconResource(java.lang.String resource,
java.lang.ClassLoader loader)
Wrapped method |
javax.swing.ImageIcon |
lookupIconResource(java.lang.String resource,
java.lang.String desc)
Wrapped method |
javax.swing.ImageIcon |
lookupIconResource(java.lang.String resource,
java.lang.String desc,
java.lang.ClassLoader loader)
Wrapped method |
void |
removeResourceExtension(java.lang.String extension)
Wrapped method |
void |
removeResourceLocation(java.lang.String location)
Wrapped method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static javax.swing.ImageIcon _ActionStateIcon
protected static javax.swing.ImageIcon _StateIcon
protected static javax.swing.ImageIcon _InitialStateIcon
protected static javax.swing.ImageIcon _DeepIcon
protected static javax.swing.ImageIcon _ShallowIcon
protected static javax.swing.ImageIcon _ForkIcon
protected static javax.swing.ImageIcon _JoinIcon
protected static javax.swing.ImageIcon _BranchIcon
protected static javax.swing.ImageIcon _FinalStateIcon
protected static javax.swing.ImageIcon _RealizeIcon
protected static javax.swing.ImageIcon _SignalIcon
protected static javax.swing.ImageIcon _CommentIcon
protected java.util.Hashtable _iconCache
Constructor Detail |
public ResourceLoaderWrapper()
Method Detail |
public static ResourceLoaderWrapper getResourceLoaderWrapper()
public void addResourceExtension(java.lang.String extension)
extension
- public void addResourceLocation(java.lang.String location)
location
- public boolean containsExtension(java.lang.String extension)
extension
-
public boolean containsLocation(java.lang.String location)
location
-
public boolean isInCache(java.lang.String resource)
resource
-
public javax.swing.ImageIcon lookupIconResource(java.lang.String resource)
resource
-
public javax.swing.ImageIcon lookupIconResource(java.lang.String resource, java.lang.ClassLoader loader)
resource
- loader
-
public javax.swing.ImageIcon lookupIconResource(java.lang.String resource, java.lang.String desc)
resource
- desc
-
public javax.swing.ImageIcon lookupIconResource(java.lang.String resource, java.lang.String desc, java.lang.ClassLoader loader)
resource
- desc
- loader
-
public void removeResourceExtension(java.lang.String extension)
extension
- public void removeResourceLocation(java.lang.String location)
location
- public javax.swing.Icon lookupIcon(java.lang.Object value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20030829) | ArgoUML Project Home | ArgoUML Cookbook |