| Styling > Using Cascading Style Sheets > Customizing the Icon of User-Defined Business Objects |
Customizing the Icon of User-Defined Business Objects |
INDEX
PREVIOUS
NEXT
|
This use case shows you how to customize the icon used to represent your business objects. It applies to the tree and table graphic components.
Customizing icon parameters in the graphic representation of a user-defined business object is based on the following properties of the graphic representation:
The CSS selector in this use case is defined based on the object identifier as shown in the following example.
#id {
icon: '@|image("customer.png")';
iconVisible: true;
}
In this example, the business object with the object identifier id will use the icon customer.png.
object."CustomIltNetworkElement/site" {
iconVisible: true;
icon: '@|image("site.png")';
}
In this example, the table cells in the column site will display the icon site.png for objects of the class CustomIltNetworkElement.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. All rights reserved. Legal terms. | PREVIOUS NEXT |