com.dhtmlx.connector
Class GridConnector

java.lang.Object
  extended by com.dhtmlx.connector.BaseConnector
      extended by com.dhtmlx.connector.GridConnector
Direct Known Subclasses:
KeyGridConnector, TreeGridConnector

public class GridConnector
extends BaseConnector

The Class GridConnector.


Field Summary
 
Fields inherited from class com.dhtmlx.connector.BaseConnector
access, event, incoming_data, sql
 
Constructor Summary
GridConnector(java.sql.Connection db)
          Instantiates a new grid connector.
GridConnector(java.sql.Connection db, DBType db_type)
          Instantiates a new grid connector.
GridConnector(java.sql.Connection db, DBType db_type, BaseFactory a_factory)
          Instantiates a new grid connector.
GridConnector(java.sql.Connection db, DBType db_type, BaseFactory a_factory, RenderStrategy render_type)
          Instantiates a new grid connector.
 
Method Summary
 void set_options(java.lang.String name, BaseConnector connector)
          Define connector for options retrieving
 void set_options(java.lang.String name, java.util.HashMap object)
          Define fixed list of options
 void set_options(java.lang.String name, java.lang.Iterable object)
          Define fixed list of options
 void setConfiguration(GridConfiguration config)
           
 
Methods inherited from class com.dhtmlx.connector.BaseConnector
add_top_attribute, dynamic_loading, dynamic_loading, enable_log, is_first_call, is_select_mode, render_array, render_array, render_array, render_complex_sql, render_complex_sql, render_complex_sql, render_connector, render_sql, render_sql, render_sql, render_table, render_table, render_table, render, servlet, set_encoding
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridConnector

public GridConnector(java.sql.Connection db)
Instantiates a new grid connector.

Parameters:
db - the db connection

GridConnector

public GridConnector(java.sql.Connection db,
                     DBType db_type)
Instantiates a new grid connector.

Parameters:
db - the db connection
db_type - the db type

GridConnector

public GridConnector(java.sql.Connection db,
                     DBType db_type,
                     BaseFactory a_factory)
Instantiates a new grid connector.

Parameters:
db - the db connection
db_type - the db type
a_factory - the class factory, which will be used by object

GridConnector

public GridConnector(java.sql.Connection db,
                     DBType db_type,
                     BaseFactory a_factory,
                     RenderStrategy render_type)
Instantiates a new grid connector.

Parameters:
db - the db connection
db_type - the db type
a_factory - the class factory, which will be used by object
Method Detail

set_options

public void set_options(java.lang.String name,
                        BaseConnector connector)
Define connector for options retrieving

Overrides:
set_options in class BaseConnector
Parameters:
name - the name of column
connector - the connector

set_options

public void set_options(java.lang.String name,
                        java.lang.Iterable object)
Define fixed list of options

Parameters:
name - the name of column
object - the iterable object ( array )

set_options

public void set_options(java.lang.String name,
                        java.util.HashMap object)
Define fixed list of options

Parameters:
name - the name of column
object - the hash object

setConfiguration

public void setConfiguration(GridConfiguration config)