| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.nebula.widgets.nattable.extension.builder.model.TableColumn
public class TableColumn
Encapsulation of the properties of a column in the table
| Field Summary | |
|---|---|
|  String | categoryNameThe column will be added to a category of the following name | 
|  Comparator<?> | comparator | 
|  String | dataTypeClassNameName of the class of the underlying row object property, Example "Double", "String" etc. | 
|  IDisplayConverter | displayConverterFormatter used to covert the underlying data to a display string and vice versa | 
|  String | displayNameName of the column as it appears in the column header | 
|  IEditor | editorThe type of editor | 
|  IDisplayConverter | filterRowDisplayConverterDisplay converter to translate the strings typed by the user in the filter row. | 
|  IEditor | filterRowEditorEditor to be used in the filter row cell | 
|  String | groupNameThe column will be added to a group of the following name | 
|  int | index | 
|  boolean | isEditableIs the user allowed to edit this column | 
|  boolean | isSortableColumn sorting | 
|  String | rowObjectPropertyName | 
|  ColumnStyle | styleIf a column specific style is set here, it will override the overall table style | 
|  Integer | widthIf a column specific width is set here, it will override the default column width from the table style | 
| Constructor Summary | |
|---|---|
| TableColumn(int index,
            String rowObjectPropertyName) | |
| TableColumn(int index,
            String rowObjectPropertyName,
            String displayName) | |
| Method Summary | |
|---|---|
|  TableColumn | setCategory(String categoryName) | 
|  TableColumn | setComparator(Comparator<?> comparator) | 
|  TableColumn | setDisplayConverter(IDisplayConverter displayConverter) | 
|  TableColumn | setEditor(IEditor editor) | 
|  TableColumn | setFilterRowDisplayConverter(IDisplayConverter displayConverter) | 
|  TableColumn | setFilterRowEditor(IEditor editor) | 
|  TableColumn | setGroupName(String groupName) | 
|  TableColumn | setStyle(ColumnStyle columnStyle) | 
|  TableColumn | setWidth(int width) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public int index
public String rowObjectPropertyName
public String groupName
public String categoryName
public String displayName
public String dataTypeClassName
public boolean isEditable
public IEditor editor
public ColumnStyle style
public Integer width
public IDisplayConverter displayConverter
public boolean isSortable
public Comparator<?> comparator
public IDisplayConverter filterRowDisplayConverter
public IEditor filterRowEditor
| Constructor Detail | 
|---|
public TableColumn(int index,
                   String rowObjectPropertyName)
public TableColumn(int index,
                   String rowObjectPropertyName,
                   String displayName)
| Method Detail | 
|---|
public TableColumn setStyle(ColumnStyle columnStyle)
public TableColumn setWidth(int width)
public TableColumn setComparator(Comparator<?> comparator)
public TableColumn setEditor(IEditor editor)
public TableColumn setDisplayConverter(IDisplayConverter displayConverter)
public TableColumn setGroupName(String groupName)
public TableColumn setCategory(String categoryName)
public TableColumn setFilterRowEditor(IEditor editor)
public TableColumn setFilterRowDisplayConverter(IDisplayConverter displayConverter)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||