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, toString
public 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()
Column
getValueForDisplayOnEditForm
in interface Column
getValueForDisplayOnEditForm
in class AbstractColumn
public java.lang.String createColumnConfigForDataTablesEditable()
createColumnConfigForDataTablesEditable
in interface Column
createColumnConfigForDataTablesEditable
in class AbstractColumn
public java.lang.Object getValue()
Column
getValue
in interface Column
getValue
in class AbstractColumn
public void setDisplayValue(java.lang.String displayValue)
setDisplayValue
in interface Column
setDisplayValue
in class AbstractColumn