|
||||||||||
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 |
categoryName
The column will be added to a category of the following name |
Comparator<?> |
comparator
|
String |
dataTypeClassName
Name of the class of the underlying row object property, Example "Double", "String" etc. |
IDisplayConverter |
displayConverter
Formatter used to covert the underlying data to a display string and vice versa |
String |
displayName
Name of the column as it appears in the column header |
IEditor |
editor
The type of editor |
IDisplayConverter |
filterRowDisplayConverter
Display converter to translate the strings typed by the user in the filter row. |
IEditor |
filterRowEditor
Editor to be used in the filter row cell |
String |
groupName
The column will be added to a group of the following name |
int |
index
|
boolean |
isEditable
Is the user allowed to edit this column |
boolean |
isSortable
Column sorting |
String |
rowObjectPropertyName
|
ColumnStyle |
style
If a column specific style is set here, it will override the overall table style |
Integer |
width
If 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 |