com.dhtmlx.connector
Class ComboDataItem

java.lang.Object
  extended by com.dhtmlx.connector.DataItem
      extended by com.dhtmlx.connector.ComboDataItem

public class ComboDataItem
extends DataItem

The Class ComboDataItem. Class represents and option of the combobox


Constructor Summary
ComboDataItem(java.util.HashMap<java.lang.String,java.lang.String> data, DataConfig config, int index)
          Instantiates a new combo data item.
 
Method Summary
 void select()
          Mark option as selected
 void to_xml_end(java.lang.StringBuffer out)
          Ending part of xml representation.
 void to_xml_start(java.lang.StringBuffer out)
          Starting part of xml representation
 
Methods inherited from class com.dhtmlx.connector.DataItem
get_id, get_index, get_value, has_kids, set_id, set_kids, set_userdata, set_value, skip, to_json, to_xml, xmlentities
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComboDataItem

public ComboDataItem(java.util.HashMap<java.lang.String,java.lang.String> data,
                     DataConfig config,
                     int index)
Instantiates a new combo data item.

Parameters:
data - the hash data
config - the data config
index - the index of option
Method Detail

to_xml_start

public void to_xml_start(java.lang.StringBuffer out)
Description copied from class: DataItem
Starting part of xml representation

Overrides:
to_xml_start in class DataItem
Parameters:
out - the output buffer

to_xml_end

public void to_xml_end(java.lang.StringBuffer out)
Description copied from class: DataItem
Ending part of xml representation.

Overrides:
to_xml_end in class DataItem
Parameters:
out - the output buffer

select

public void select()
Mark option as selected