| Developing with the SDK > Using and Adding Renderers > Predefined Renderers > The Blinking Renderer |
The Blinking Renderer |
INDEX
PREVIOUS
NEXT
|
The Blinking renderer allows you to obtain color or visibility blinking on graphic objects. It must be enabled to get the blinking effect in a diagram view.
The blinking can be defined in CSS in two different ways:
node.particular { class : "ilog.views.sdm.graphic.IlvGeneralNode" ; label : "@name" ; fillColor1 : "@|blinkingColor(red,black)" ; // toggles from red to black } |
node.particular { class : "ilog.views.sdm.graphic.IlvGeneralNode" ; label : "@name" ; ToggleVisibility : "true"; } |
Table 4.3 lists the global properties of the Blinking renderer
Table 4.4 lists the per-object properties of the Blinking renderer
Property |
Type |
Default |
Description |
|---|---|---|---|
ToggleVisibility |
boolean |
false |
If the value of this property is true, the graphic representation will toggle the visibility. |
The blinkingColor CSS function takes two arguments of type Color. These arguments can be specified as a color name, or as a raw RGB/RGBA string (like #30FA6B, or #30FA6B80, where the last byte, 80, represents the alpha level (= transparency)). The function returns an ilog.views.sdm.renderer.IlvBlinkingColor, which subclasses java.awt.Color.
See the class ilog.views.sdm.renderer.IlvBlinkingRenderer for more details.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |