![JAR search and dependency download from the Maven repository](/logo.png)
com.extjs.gxt.ui.client.widget.treetable.TreeTableColumn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxt Show documentation
Show all versions of gxt Show documentation
Rich Internet Application Framework for GWT
/*
* Ext GWT - Ext for GWT
* Copyright(c) 2007, 2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
package com.extjs.gxt.ui.client.widget.treetable;
import com.extjs.gxt.ui.client.widget.table.TableColumn;
/**
* A column in a TreeTable
. Column sizes can be specified as
* either pixels or percentanges. 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.
*
*/
public class TreeTableColumn extends TableColumn {
/**
* Creates a new column instance.
*
* @param id the column id
* @param width the column width, widths that are 1 or less are treated as
* percentages.
*/
public TreeTableColumn(String id, float width) {
super(id, width);
this.setSortable(false);
}
/**
* Creates a new column instance.
*
* @param id the column id
* @param text the column text
* @param width the width
*/
public TreeTableColumn(String id, String text, float width) {
super(id, text, width);
this.setSortable(false);
}
/**
* Creates a new column instance.
*
* @param id the column id
* @param text the column text
*/
public TreeTableColumn(String id, String text) {
super(id, text);
this.setSortable(false);
}
protected void setIndex(int index) {
super.setIndex(index);
}
protected int getIndex() {
return super.getIndex();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy