ilog.cpl.tree.renderer
Class IlpAbstractTreeInteractorRenderer

java.lang.Object
  extended by ilog.cpl.tree.renderer.IlpAbstractTreeViewRenderer
      extended by ilog.cpl.tree.renderer.IlpAbstractTreeInteractorRenderer
All Implemented Interfaces:
ilog.cpl.graphic.css.renderer.IlpInteractorRenderer
Direct Known Subclasses:
IlpInteractorRenderer

public abstract class IlpAbstractTreeInteractorRenderer
extends IlpAbstractTreeViewRenderer
implements ilog.cpl.graphic.css.renderer.IlpInteractorRenderer

This is the base class of interactor renderers for IlpTreeView.

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

Since:
JTGO 4.0
See Also:
IlpAbstractTreeViewRenderer, IlpInteractorRenderer

Constructor Summary
IlpAbstractTreeInteractorRenderer()
           
 
Method Summary
 String getCSSID()
          Returns the CSS identifier of this renderer.
 IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object)
          Returns the interactor associated with the given object.
 IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object, IlpAttribute attribute)
          Returns the interactor associated with the given object and attribute.
 IlpViewInteractor getViewInteractor()
          Returns the interactor currently set in the tree view.
 void reset()
          Resets all settings of this renderer.
 void setObjectInteractor(IlpRepresentationObject object, IlpAttribute attribute, IlpObjectInteractor interactor)
          Sets the interactor to be associated with the given object and attribute.
 void setObjectInteractor(IlpRepresentationObject object, IlpObjectInteractor interactor)
          Sets the interactor to be associated with the given object.
 void setViewInteractor(IlpViewInteractor v)
          Sets the interactor in the Tree View.
 
Methods inherited from class ilog.cpl.tree.renderer.IlpAbstractTreeViewRenderer
attach, detach, getContext, getViewSupport, isRendererEnabled, setRendererEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderer
isRendererEnabled
 

Constructor Detail

IlpAbstractTreeInteractorRenderer

public IlpAbstractTreeInteractorRenderer()
Method Detail

getCSSID

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

Specified by:
getCSSID in class IlpAbstractTreeViewRenderer
Internal method or field: do not use!

getViewInteractor

public IlpViewInteractor getViewInteractor()
Returns the interactor currently set in the tree view.

Specified by:
getViewInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderer

setViewInteractor

public void setViewInteractor(IlpViewInteractor v)
Sets the interactor in the Tree View.

Specified by:
setViewInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderer
Parameters:
v - View interactor
See Also:
IlpViewInteractor

getObjectInteractor

public IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object)
Returns the interactor associated with the given object.

Specified by:
getObjectInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderer
Parameters:
object - Representation object.
Returns:
Object Interactor.

setObjectInteractor

public void setObjectInteractor(IlpRepresentationObject object,
                                IlpObjectInteractor interactor)
Sets the interactor to be associated with the given object.

Specified by:
setObjectInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderer
Parameters:
object - Representation object
interactor - Object interactor

getObjectInteractor

public IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object,
                                               IlpAttribute attribute)
Returns the interactor associated with the given object and attribute.

Specified by:
getObjectInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderer
Parameters:
object - Representation object
attribute - Business attribute
Internal method or field: do not use!

setObjectInteractor

public void setObjectInteractor(IlpRepresentationObject object,
                                IlpAttribute attribute,
                                IlpObjectInteractor interactor)
Sets the interactor to be associated with the given object and attribute.

Specified by:
setObjectInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderer
Parameters:
object - Representation object
attribute - Business attribute
interactor - Object interactor
Internal method or field: do not use!

reset

public void reset()
Resets all settings of this renderer.

Specified by:
reset in class IlpAbstractTreeViewRenderer
Internal method or field: do not use!


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