Graphic objects display as many details as
possible within the limits of the display area and without loss
of readability.
The network component uses only composite
graphic objects. The graphic objects are created by the view
renderer, which calls the appropriate object renderers to obtain
the composite graphic objects. The view determines which object
renderer is required to draw the graphic object that translates a
particular representation object or attribute from the style
sheet properties.
The following basic variations of graphic
object exist in the network component:
Nodes—Nodes
are the basic graphic objects and they are represented as
network elements according to the conventions of the governing
standards, such as ITU-T or ANSI, and the appropriate
protocols.
Links—Links
are the connections between nodes.
End-user interaction with a graphic object
is handled by an object interactor. Object interactors handle the
gestures of an end user when performing a task. Gestures consist
of one or more mouse events to perform one task.
Graphic object classes
The graphic representation of each object displayed in the
network component is implemented through the
IlpGraphic interface.
JViews TGO provides
predefined network graphic objects that are produced by the
default network component renderer. You can customize the
rendering of the objects through CSS.
For custom business objects,
JViews TGO provides a
default representation with a set of properties that can be
customized to better represent your objects. If you prefer, you
can also specify a new graphic representation by defining an
IlvGraphic
class in the CSS. For more information, refer to
Customizing user-defined business objects.
You can also refer to
<installDir> /samples/network/compositeGraphic
to see how to create a new object representation by using the
Rogue Wave® JViews composite graphics feature.
Predefined business objects already have
a specific graphic representation that can only be changed
through CSS customization by setting the object properties.
You can customize the graphic representation by adding new
decorations. To see how to add new decorations to the objects
using CSS, look at the decoration sample at
<installDir> /samples/network/decoration.