The Composite Graphics capability consists
of a set of classes that help you to combine simple graphic
objects to build more complex graphic objects according to one of
several possible layouts. You can modify a composite graphic
object dynamically to add or remove child elements. This facility
supports nested composite graphics in which a child element is
itself a composite graphic object.
In Rogue Wave® JViews Diagrammer, a Composite Graphic object is an
instance of IlvSDMCompositeNode. This class is in the
SDM package but it is a subclass of IlvCompositeGraphic which is a JViews
Framework class, see the following class diagram.
A composite graphic is made up of child graphics, which are
positioned according to a composite layout by a Layout Manager, IlvLayoutManager .
Each child can be an IlvGraphic object or itself an IlvCompositeGraphic object.
There are three possible Layout classes:
These classes are in the package ilog.views.graphic.composite.layout.
IlvSDMCompositeNode can have child graphics
in different layers; this feature allows you to keep one child
always on top.
In Rogue Wave JViews Diagrammer, you can create composite graphic
objects through the style sheet, because the CSS
for Java syntax has been extended to handle composite graphics
concepts.