An icon is a visual representation of an entity. Three such visual
representations are supported here. A background figure is returned
by the createBackgroundFigure() method. This figure is specified by
an attribute named "_iconDescription" of the container, if there is one.
If there is no such attribute, then a default icon is used.
The createFigure() method returns this same background figure, but
decorated with a label giving the name of the container, unless the
container contains a parameter named "_hideName" with value true.
The createIcon() method returns a Swing icon given by an attribute named
"_smallIconDescription", if there is one. If there is no such
attribute, then the icon is simply a small representation of the
background figure.
<p>
The XML schema used in the "_iconDescription" and "_smallIconDescription"
attributes is SVG (scalable vector graphics), although currently Diva
only supports a small subset of SVG.
Steve Neuendorffer, John Reekie, Contributors: Edward A. Lee, Chad Berkley (Kepler)
$Id: XMLIcon.java 70402 2014-10-23 00:52:20Z cxh $
Ptolemy II 2.0
Yellow (neuendor)
Red (johnr)