ilog.cpl.tree.renderer
Class IlpAbstractTreeViewRenderer

java.lang.Object
  extended by ilog.cpl.tree.renderer.IlpAbstractTreeViewRenderer
Direct Known Subclasses:
IlpAbstractTreeInteractorRenderer, IlpViewRenderer

public abstract class IlpAbstractTreeViewRenderer
extends Object

This is the base class of renderers for an IlpTreeView. Each renderer is responsible for a feature of the view.

When a configuration is read from a CSS or XML file, each renderer is customized through the values set for its CSS configuration object or in its XML element.

Since:
JTGO 4.0
See Also:
IlpViewRenderer, IlpAbstractTreeInteractorRenderer, IlpInteractorRenderer

Constructor Summary
IlpAbstractTreeViewRenderer()
          Constructor.
 
Method Summary
 void attach(ilog.cpl.tree.internal.IlpTreeViewSupport view)
          Called when this renderer is installed in an IlpTreeViewSupport.
 void detach()
          Called when this renderer is detached from its IlpTreeViewSupport.
protected  IlpContext getContext()
          Returns the application context.
abstract  String getCSSID()
          Returns the CSS identifier of this renderer.
 ilog.cpl.tree.internal.IlpTreeViewSupport getViewSupport()
          Returns the view support for convenience
 boolean isRendererEnabled()
          Returns if the renderer is enabled or not.
abstract  void reset()
          Brings the renderer into the initial state, corresponding to an empty CSS configuration file or a missing XML element.
 void setRendererEnabled(boolean e)
          Sets if the renderer is enabled or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpAbstractTreeViewRenderer

public IlpAbstractTreeViewRenderer()
Constructor.

Method Detail

attach

public void attach(ilog.cpl.tree.internal.IlpTreeViewSupport view)
Called when this renderer is installed in an IlpTreeViewSupport.

Internal method or field: do not use!

detach

public void detach()
Called when this renderer is detached from its IlpTreeViewSupport.

Internal method or field: do not use!

getContext

protected IlpContext getContext()
Returns the application context.


isRendererEnabled

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


setRendererEnabled

public void setRendererEnabled(boolean e)
Sets if the renderer is enabled or not. This is done through CSS


getCSSID

public abstract String getCSSID()
Returns the CSS identifier of this renderer.

Internal method or field: do not use!

reset

public abstract void reset()
Brings the renderer into the initial state, corresponding to an empty CSS configuration file or a missing XML element.

Internal method or field: do not use!

getViewSupport

public ilog.cpl.tree.internal.IlpTreeViewSupport getViewSupport()
Returns the view support for convenience

Internal method or field: do not use!


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