ilog.cpl.tree.css
Interface IlpAbstractTreeAdapterCustomization

All Superinterfaces:
IlpAdapterCustomization, IlpHierarchyAdapterCustomization

public interface IlpAbstractTreeAdapterCustomization
extends IlpHierarchyAdapterCustomization

This interface externalizes the properties of an IlpAbstractTreeAdapter which can be configured using cascading style sheets.

It can be configured like this in a CSS file:

 Adapter {
   nodeFactory: @+MyNodeFactory;
 }

 Subobject#MyNodeFactory {
   class: custom.node.NodeFactory;
 }
 

Since:
JViews 8.0

Method Summary
 Comparator getComparator()
          Returns the comparator used to sort the tree nodes Note: This property can be customized using CSS, as illustrated below: Adapter { comparator: @+comparatorDef; } Subobject#comparatorDef { class: ...; }
 IlpTreeNodeFactory getNodeFactory()
          Returns the node factory property.
 
Methods inherited from interface ilog.cpl.datasource.css.IlpHierarchyAdapterCustomization
getAcceptedClasses, getExpansionStrategyFactory, getOrigin, isShowOrigin
 
Methods inherited from interface ilog.cpl.datasource.css.IlpAdapterCustomization
getExcludedClasses, getFilter
 

Method Detail

getNodeFactory

IlpTreeNodeFactory getNodeFactory()
Returns the node factory property.

Note: This property can be customized using CSS, as illustrated below:

 Adapter {
   nodeFactory: @+factoryDef;
 }
 Subobject#factoryDef {
   class: ...;
 }
 


getComparator

Comparator getComparator()
Returns the comparator used to sort the tree nodes

Note: This property can be customized using CSS, as illustrated below:

 Adapter {
   comparator: @+comparatorDef;
 }
 Subobject#comparatorDef {
   class: ...;
 }
 



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