public final class StandardColumn extends AbstractColumn
| Constructor and Description |
|---|
StandardColumn(FieldType fieldType) |
StandardColumn(java.lang.String fieldName,
java.lang.String fieldLabel,
java.lang.Object value,
java.lang.Object displayValue,
FieldType fieldType,
Entity entity,
Editable editable,
Visible visible,
Sortable sortable,
Searchable searchable,
Required required,
ShowOnForm showOnForm,
java.lang.String url,
java.lang.String width) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
createColumnConfigForDataTablesEditable()
This method creates the configuration used in the javascript setup for dataTables.editable().
|
java.lang.Object |
getValue()
Returns the actual value for this column
|
java.lang.String |
getValueForDisplayOnEditForm()
Returns the string representation of the value in a format that could be displayed on the edit form, such as taking date
format into account for Date and XmlGregorianCalendar
|
void |
setDisplayValue(java.lang.String displayValue) |
createColumnConfigForDataTables, createDataTablesColumnSetting, getDisplayValue, getEntity, getFieldLabel, getFieldName, getFieldType, getRequired, getShowOnForm, getUrl, isEditable, isSearchable, isSortable, isVisible, setEditable, setEntity, setFieldLabel, setFieldName, setFieldType, setRequired, setSearchable, setShowOnForm, setSortable, setUrl, setValue, setVisible, toStringpublic StandardColumn(FieldType fieldType)
public StandardColumn(java.lang.String fieldName,
java.lang.String fieldLabel,
java.lang.Object value,
java.lang.Object displayValue,
FieldType fieldType,
Entity entity,
Editable editable,
Visible visible,
Sortable sortable,
Searchable searchable,
Required required,
ShowOnForm showOnForm,
java.lang.String url,
java.lang.String width)
public java.lang.String getValueForDisplayOnEditForm()
ColumngetValueForDisplayOnEditForm in interface ColumngetValueForDisplayOnEditForm in class AbstractColumnpublic java.lang.String createColumnConfigForDataTablesEditable()
createColumnConfigForDataTablesEditable in interface ColumncreateColumnConfigForDataTablesEditable in class AbstractColumnpublic java.lang.Object getValue()
ColumngetValue in interface ColumngetValue in class AbstractColumnpublic void setDisplayValue(java.lang.String displayValue)
setDisplayValue in interface ColumnsetDisplayValue in class AbstractColumn