com.extjs.gxt.ui.client.widget.treetable
Class TreeTableColumn

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.table.TableColumn
      extended by com.extjs.gxt.ui.client.widget.treetable.TreeTableColumn

Deprecated. see TreeGrid

public class TreeTableColumn
extends TableColumn

A column in a TreeTable. Column sizes can be specified as either pixels or percentages. Width values less than or equal to 1 are treated as percentages.

Note: Public members should not be modified after the column is added to a column model.


Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.widget.table.TableColumn
cm, DEFAULT_COMPARATOR, index, lastWidth, sortDir
 
Constructor Summary
TreeTableColumn(java.lang.String id, float width)
          Deprecated. Creates a new column instance.
TreeTableColumn(java.lang.String id, java.lang.String text)
          Deprecated. Creates a new column instance.
TreeTableColumn(java.lang.String id, java.lang.String text, float width)
          Deprecated. Creates a new column instance.
 
Method Summary
protected  int getIndex()
          Deprecated.  
protected  void setIndex(int index)
          Deprecated.  
 
Methods inherited from class com.extjs.gxt.ui.client.widget.table.TableColumn
getAlignment, getColumnStyle, getComparator, getData, getData, getId, getMaxWidth, getMinWidth, getRenderer, getSortDir, getText, getWidth, isHidden, isResizable, isSortable, setAlignment, setColumnStyle, setComparator, setData, setData, setHidden, setMaxWidth, setMinWidth, setRenderer, setResizable, setSortable, setText, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeTableColumn

public TreeTableColumn(java.lang.String id,
                       float width)
Deprecated. 
Creates a new column instance.

Parameters:
id - the column id
width - the column width, widths that are 1 or less are treated as percentages.

TreeTableColumn

public TreeTableColumn(java.lang.String id,
                       java.lang.String text,
                       float width)
Deprecated. 
Creates a new column instance.

Parameters:
id - the column id
text - the column text
width - the width

TreeTableColumn

public TreeTableColumn(java.lang.String id,
                       java.lang.String text)
Deprecated. 
Creates a new column instance.

Parameters:
id - the column id
text - the column text
Method Detail

setIndex

protected void setIndex(int index)
Deprecated. 
Overrides:
setIndex in class TableColumn

getIndex

protected int getIndex()
Deprecated. 
Overrides:
getIndex in class TableColumn