ptolemy.moml
Interface IconLoader
public interface IconLoader
Interface for loading icons.
- Since:
- Ptolemy II 5.2
- Version:
- $Id: IconLoader.java 57040 2010-01-27 20:52:32Z cxh $
- Author:
- Edward A. Lee, Christopher Brooks
- See Also:
MoMLParser
- Accepted Rating:
- Proposed Rating:
Method Summary |
boolean |
loadIconForClass(java.lang.String className,
NamedObj context)
Load an icon for a class in a particular context. |
loadIconForClass
boolean loadIconForClass(java.lang.String className,
NamedObj context)
throws java.lang.Exception
- Load an icon for a class in a particular context.
- Parameters:
className
- The name of the class for which the icon is
to be loaded.context
- The context in which the icon is loaded.
- Returns:
- true if the icon was successfully loaded.
- Throws:
java.lang.Exception
- If there is a problem adding
the icon.