com.dhtmlx.connector
Class TreeCommonFactory

java.lang.Object
  extended by com.dhtmlx.connector.BaseFactory
      extended by com.dhtmlx.connector.CommonFactory
          extended by com.dhtmlx.connector.TreeCommonFactory
Direct Known Subclasses:
JSONTreeCommonFactory, TreeCommonGroupFactory

public class TreeCommonFactory
extends CommonFactory


Constructor Summary
TreeCommonFactory()
           
 
Method Summary
 DataItem createDataItem(java.util.HashMap<java.lang.String,java.lang.String> data, DataConfig config, int index)
          Creates a new DataItem object.
 RenderStrategy createRenderStrategy()
           
 
Methods inherited from class com.dhtmlx.connector.CommonFactory
createDataProcessor
 
Methods inherited from class com.dhtmlx.connector.BaseFactory
createDataAction, createDataWrapper
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeCommonFactory

public TreeCommonFactory()
Method Detail

createDataItem

public DataItem createDataItem(java.util.HashMap<java.lang.String,java.lang.String> data,
                               DataConfig config,
                               int index)
Description copied from class: BaseFactory
Creates a new DataItem object. Each component redefines this method, to create component specific data items

Overrides:
createDataItem in class CommonFactory
Parameters:
data - the hash of data
config - the data config
index - the index of data in resultset
Returns:
the data item

createRenderStrategy

public RenderStrategy createRenderStrategy()
Overrides:
createRenderStrategy in class BaseFactory