public class TestIconLoader extends java.lang.Object implements IconLoader
| Constructor and Description |
|---|
TestIconLoader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
loadIconForClass(java.lang.String className,
NamedObj context)
Load an icon for a class in a particular context.
|
public TestIconLoader()
public boolean loadIconForClass(java.lang.String className, NamedObj context) throws java.lang.Exception
loadIconForClass in interface IconLoaderclassName - The name of the class for which the icon is
to be loaded.context - The context in which the icon is loaded.java.lang.Exception - If there is a problem adding
the icon.MoMLParser.getIconLoader(),
MoMLParser.setIconLoader(IconLoader)