ilog.tgo.resource.renderer
Class IltBellcoreRenderer

java.lang.Object
  extended by ilog.tgo.resource.renderer.IltSettingsRenderer
      extended by ilog.tgo.resource.renderer.IltBellcoreRenderer
All Implemented Interfaces:
ilog.tgo.resource.css.internal.IltSettingsCSSEntity

public class IltBellcoreRenderer
extends IltSettingsRenderer

This class illustrates how you can configure Bellcore Secondary States using cascading style sheets.

This class shows all the properties that can be customized using cascading style sheets.

The CSS configuration can be applied to the Global Settings (@link ilog.tgo.resource.IltSettings), using IltSettings.setStyleSheets(String[]).

This class can be configured like this in a CSS file:

 Settings {
   bellcore: true;
 }
 setting."ilog.tgo.model.IltState"[name="Bellcore.SecState.Blocked"] {
   oosIcon: '@|image("icon1.png")';
   ntIcon: '@|image("icon2.png")';
   ctIcon: '@|image("icon3.png")';
 }
 

To customize the global settings programmatically, use IltSettings.SetValue(Object, Object). The following extract illustrates how this configuration can be accomplished:

 IltSettings.SetValue("Bellcore.SecState.Blocked.CT.Icon", ctImg);
 IltSettings.SetValue("Bellcore.SecState.Blocked.NT.Icon", ntImg);
 IltSettings.SetValue("Bellcore.SecState.Blocked.OOS.Icon", oosImg);
 

Since:
JViews 7.5

Constructor Summary
IltBellcoreRenderer()
          Default Constructor
 
Method Summary
 String getCSSClass()
          Returns the business class used in the selector.
 String getCSSType()
          Returns the type used in CSS selectors.
 void reset()
          Resets the configuration of the alarms and traps
 
Methods inherited from class ilog.tgo.resource.renderer.IltSettingsRenderer
attach, detach, getChildrenAsArray, isEnabled, reset, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IltBellcoreRenderer

public IltBellcoreRenderer()
Default Constructor

Method Detail

reset

public void reset()
Resets the configuration of the alarms and traps

Specified by:
reset in class IltSettingsRenderer

getCSSClass

public String getCSSClass()
Returns the business class used in the selector.

Returns:
null as this configuration does not use a business class parameter.

getCSSType

public String getCSSType()
Returns the type used in CSS selectors.

Returns:
Bellcore


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.