| Graphic Components > Network Component > Introducing the Network Component |
Introducing the Network Component |
INDEX
PREVIOUS
NEXT
|
The network component is based on the Swing network component. It allows you to display data in the form of a graph representing nodes connected by links on top of a background map. The nodes may appear collapsed or expanded to reveal their child objects.
The network component is connected to a data source, from which it obtains the business objects to be displayed. By default, the network displays all the objects contained in the data source. However, it is also possible to restrict the contents displayed by:
Objects that do not have a parent are displayed as root nodes, while the others are displayed under their parent.
The network component offers the following notable features:
expansion (see Customizing the Expansion of Business Objects in the Styling documentation). More advanced customization can be performed at the adapter level (see Expansion strategy).
The network component is implemented by the class IlpNetwork, which is a Swing JComponent that can be directly inserted into a panel (JPanel).
IlpNetwork provides the API for the most common uses of the network component, such as:
getDataSource(), setDataSource()
getSelectionModel(), setSelectionModel(), addSelectionObject(), removeSelectionObject(), clearSelection(), isObjectSelected(), getSelectedObject(), getSelectedObjects()
setViewInteractor(), getViewInteractor()
getAdapter()
setFilter(), getFilter()
IlpNetwork also acts as a façade for a number of lower-level components that it contains. These components provide more detailed APIs and advanced services. They are described in Architecture of the Network Component of this section.
The information presented in this section is based on samples of typical network applications.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. All rights reserved. Legal terms. | PREVIOUS NEXT |