public interface IconLoader
MoMLParser| Modifier and Type | Method and Description |
|---|---|
boolean |
loadIconForClass(java.lang.String className,
NamedObj context)
Load an icon for a class in a particular context.
|
boolean loadIconForClass(java.lang.String className, NamedObj context) throws java.lang.Exception
className - 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)