com.dhtmlx.connector
Class JSONTreeCommonFactory

java.lang.Object
  extended by com.dhtmlx.connector.BaseFactory
      extended by com.dhtmlx.connector.CommonFactory
          extended by com.dhtmlx.connector.TreeCommonFactory
              extended by com.dhtmlx.connector.JSONTreeCommonFactory

public class JSONTreeCommonFactory
extends TreeCommonFactory


Constructor Summary
JSONTreeCommonFactory()
           
 
Method Summary
 DataItem createDataItem(java.util.HashMap<java.lang.String,java.lang.String> data, DataConfig config, int index)
          Creates a new DataItem object.
 JSONTreeRenderStrategy 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

JSONTreeCommonFactory

public JSONTreeCommonFactory()
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 TreeCommonFactory
Parameters:
data - the hash of data
config - the data config
index - the index of data in resultset
Returns:
the data item

createRenderStrategy

public JSONTreeRenderStrategy createRenderStrategy()
Overrides:
createRenderStrategy in class TreeCommonFactory