ilog.tgo.resource.renderer
Class IltSettingsRenderer

java.lang.Object
  extended by ilog.tgo.resource.renderer.IltSettingsRenderer
All Implemented Interfaces:
ilog.tgo.resource.css.internal.IltSettingsCSSEntity
Direct Known Subclasses:
IltAbstractWindowRenderer, IltAlarmRenderer, IltBellcoreRenderer, IltCardCarrierRenderer, IltCardRenderer, IltLedRenderer, IltLinkRenderer, IltMiscRenderer, IltNetworkElementRenderer, IltObjectRenderer, IltOffPageConnectorRenderer, IltOSIRenderer, IltPerformanceRenderer, IltPortRenderer, IltSANRenderer, IltShelfRenderer, IltSNMPRenderer, IltSONETRenderer, IltSubnetworkRenderer

public abstract class IltSettingsRenderer
extends Object
implements ilog.tgo.resource.css.internal.IltSettingsCSSEntity

Base class for all renderers.

The renderer stores information about the customization of each object and category.

A renderer must be enabled in order to have the customization of its category and instances.

Since:
JViews 7.5

Constructor Summary
IltSettingsRenderer()
          Default constructor.
 
Method Summary
 void attach(IltSettings s)
          Attaches this renderer to the IltSettings instance.
 void detach()
          Detaches this renderer from the IltSettings instance.
 Object[] getChildrenAsArray()
          Returns the subobjects of an object of this model.
 boolean isEnabled()
          Returns if the renderer is enabled or not.
abstract  void reset()
          Resets the configuration for this renderer.
 void reset(Object bean)
          Resets the configuration of the given bean.
 void setEnabled(boolean e)
          Sets if the renderer shall be enabled or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ilog.tgo.resource.css.internal.IltSettingsCSSEntity
getCSSClass, getCSSType
 

Constructor Detail

IltSettingsRenderer

public IltSettingsRenderer()
Default constructor.

Since:
JViews 7.5
Method Detail

isEnabled

public boolean isEnabled()
Returns if the renderer is enabled or not.

An enabled renderer is configured with the css information


setEnabled

public void setEnabled(boolean e)
Sets if the renderer shall be enabled or not.

An enabled renderer is configured with the css information

Parameters:
e - Enabled status

attach

public void attach(IltSettings s)
Attaches this renderer to the IltSettings instance. This renderer is now able to customize global settings.

Parameters:
s - Global settings
Since:
JViews 7.5

detach

public void detach()
Detaches this renderer from the IltSettings instance.

A renderer must be attached to an IltSettings instance to be able to customize the global settings.

Since:
JViews 7.5

reset

public abstract void reset()
Resets the configuration for this renderer.

Since:
JViews 7.5

reset

public void reset(Object bean)
Resets the configuration of the given bean.

Parameters:
bean - Configuration bean
Since:
JViews 7.5
Internal method or field: do not use!

getChildrenAsArray

public Object[] getChildrenAsArray()
Returns the subobjects of an object of this model.

Internal method or field: do not use!


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