|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dhtmlx.connector.DataItem
com.dhtmlx.connector.GridDataItem
com.dhtmlx.connector.TreeGridDataItem
public class TreeGridDataItem
The Class TreeGridDataItem.
Field Summary | |
---|---|
private int |
kids
The count of kids |
Fields inherited from class com.dhtmlx.connector.GridDataItem |
---|
cell_attrs, row_attrs |
Fields inherited from class com.dhtmlx.connector.DataItem |
---|
config, data, index, skip |
Constructor Summary | |
---|---|
TreeGridDataItem(java.util.HashMap<java.lang.String,java.lang.String> data,
DataConfig config,
int index)
Instantiates a new tree grid data item. |
Method Summary | |
---|---|
java.lang.String |
get_parent_id()
Gets the parent id. |
int |
has_kids()
Count of child items |
void |
set_image(java.lang.String image_path)
Sets the image of the item |
void |
set_kids(int count)
Sets the count of child items |
Methods inherited from class com.dhtmlx.connector.GridDataItem |
---|
set_cell_attribute, set_cell_class, set_cell_style, set_row_attribute, set_row_color, set_row_style, to_xml_end, to_xml_start |
Methods inherited from class com.dhtmlx.connector.DataItem |
---|
get_id, get_index, get_value, set_id, set_value, skip, to_xml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int kids
Constructor Detail |
---|
public TreeGridDataItem(java.util.HashMap<java.lang.String,java.lang.String> data, DataConfig config, int index)
data
- the dataconfig
- the configindex
- the indexMethod Detail |
---|
public java.lang.String get_parent_id()
public void set_image(java.lang.String image_path)
image_path
- the new image of the itempublic int has_kids()
public void set_kids(int count)
count
- the count of child items
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |