public class ConfiguredTableColumn extends ConfiguredWidget
Modifier and Type | Field and Description |
---|---|
static java.lang.String | PROP_DATA_TYPE
Data Type property.
|
static java.lang.String | PROP_ID
ID property.
|
Constructor and Description |
---|
ConfiguredTableColumn(java.lang.String id, org.eclipse.swt.widgets.TableColumn tableColumn, java.util.Map properties)
Constructs a new instance of this class given its ID and the constructed org.eclipse.swt.widgets.TableColumn object.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.jface.viewers.ICellEditorValidator | getCellValidator()
Returns the cell validator that verifies if the value in the cell is valid or not.
|
org.eclipse.jface.viewers.CellEditor | getColumnCellEditor()
Gets the column cell editor.
|
java.lang.String | getDataType()
Returns a data type that can be used to identify the data type of the column while sorting the table column.
|
int | getIndex()
Returns the column index.
|
boolean | getInitialSort()
Returns true if this is the column by which the table should be sorted.
|
ConfiguredControl | getParent()
Returns the parent configured control.
|
org.eclipse.swt.widgets.TableColumn | getTableColumn()
Gets the TableColumn object.
|
boolean | getUserData()
Returns true if this is a "user data" field.
|
boolean | isAscendingSequence()
This method returns the initial sorting preferences for a table column.
|
boolean | isBigDecimal()
Checks if the column data type is bigDecimal.
|
boolean | isBigInteger()
Checks if the column data type is bigInteger.
|
boolean | isDate()
Checks if the column data type is date.
|
boolean | isInteger()
Checks if the column data type is integer.
|
boolean | isString()
Checks if the column data type is string.
|
boolean | isTimeStamp()
Checks if the column data type is timestamp.
|
void | setCellValidator(org.eclipse.jface.viewers.ICellEditorValidator validator)
Sets the cell validator that verifies if the value in the cell is valid or not.
|
void | setColumnCellEditor(org.eclipse.jface.viewers.CellEditor cellEditor)
Sets the column cell editor
|
void | setDataType(java.lang.String dataType)
Sets the data type property that can be used to identify the data type of the column while sorting the table column.
|
void | setIndex(int index)
Sets the column index.
|
void | setParent(ConfiguredControl parent)
Set the parent configured control.
|
void | setUserData(boolean userData)
Set the user data property.
|
public static final java.lang.String PROP_ID
public static final java.lang.String PROP_DATA_TYPE
public ConfiguredTableColumn(java.lang.String id, org.eclipse.swt.widgets.TableColumn tableColumn, java.util.Map properties)
public org.eclipse.swt.widgets.TableColumn getTableColumn()
public ConfiguredControl getParent()
public void setParent(ConfiguredControl parent)
public int getIndex()
public void setIndex(int index)
public boolean getInitialSort()
public boolean isAscendingSequence()
public void setColumnCellEditor(org.eclipse.jface.viewers.CellEditor cellEditor)
public org.eclipse.jface.viewers.CellEditor getColumnCellEditor()
public void setCellValidator(org.eclipse.jface.viewers.ICellEditorValidator validator)
public org.eclipse.jface.viewers.ICellEditorValidator getCellValidator()
public java.lang.String getDataType()
public void setDataType(java.lang.String dataType)
public boolean isString()
public boolean isBigDecimal()
public boolean isInteger()
public boolean isBigInteger()
public boolean isDate()
public boolean isTimeStamp()
public boolean getUserData()
public void setUserData(boolean userData)