| Graphic Components > Equipment Component > Introducing the Equipment Component |
Introducing the Equipment Component |
INDEX
PREVIOUS
NEXT
|
The equipment component is based on the Swing equipment component. It allows you to display shelves, cards, ports and LEDs connected by links on top of a background map.
The equipment component is connected to a data source from which it obtains the business objects to be displayed. By default, the equipment component 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 equipment 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 equipment component is implemented by the class IlpEquipment, which is a Swing JComponent that can be directly inserted into a panel (JPanel).
IlpEquipment provides the API for the most common uses of the equipment component, such as:
getDataSource(), setDataSource()
getSelectionModel(), setSelectionModel(), addSelectionObject(), removeSelectionObject(), clearSelection(), isObjectSelected(), getSelectedObject(), getSelectedObjects()
setViewInteractor(), getViewInteractor()
getAdapter()
setFilter(), getFilter()
IlpEquipment 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 Equipment Component of this section.
The information presented in this section is based on samples of typical equipment applications.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. All rights reserved. Legal terms. | PREVIOUS NEXT |