|| | |||Browse by category|
How do I make sure that certain types of IltObject are always drawn on top of another type of IltObject?
This type of issue is commonly addressed with the use of the JViews TGO layering mechanism.
To make sure that the instances of a type
MyIltObjectOne are drawn on top of the instances of a type
MyIltObjectTwo, start by creating a layer for your
MyIltObjectOne objects and another layer for your
MyIltObjectTwo objects. Then, make sure that the
MyIltObjectOne layer is in a higher position or index than the
As a result, the
MyIltObjectOne objects should be drawn on top of the
MyIltObjectTwo objects and not below them.
Refer to the following ILOG JTGO resources for more information on layers:
- Documentation: JViews TGO / Programmers documentation / Graphic components / Network component / Network component services / Layers
- Sample: JTGO_HOME/samples/network/decoration
- FAQ: How do I implement my own layer policy?