public abstract class AbstractSimpleCustomColumnConfiguration<S,I extends ItemModel> extends DefaultCustomColumnConfiguration
getItemValue(I, java.util.Locale) method to
return the value for the column for the item specified.
A custom column can be configured in a cockpit XML configuration file. A custom XML element can be placed in the
configuration file to load the column. For example:
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractSimpleCustomColumnConfiguration.SimpleCustomColumnValueHandler |
editable, editor, name, selectable, sortable, visible| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSimpleCustomColumnConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
UIEditor |
getCellEditor() |
CellRenderer |
getCellRenderer() |
DefaultColumnDescriptor |
getColumnDescriptor() |
protected abstract S |
getItemValue(I item,
java.util.Locale locale)
Override this method to lookup the value for this column.
|
ValueHandler |
getValueHandler() |
getAllLabels, getLabel, getLabel, getName, setAllLabels, setCellEditor, setLanguagesgetEditor, getLanguages, getParameter, getParameters, getPosition, getWidth, isEditable, isLocalized, isSelectable, isSortable, isVisible, setCellRenderer, setEditable, setEditor, setName, setParameter, setParameters, setPosition, setSelectable, setSortable, setVisible, setWidthprotected AbstractSimpleCustomColumnConfiguration()
public UIEditor getCellEditor()
getCellEditor in interface ColumnConfigurationgetCellEditor in class DefaultCustomColumnConfigurationpublic CellRenderer getCellRenderer()
getCellRenderer in interface ColumnConfigurationgetCellRenderer in class AbstractColumnConfigurationpublic DefaultColumnDescriptor getColumnDescriptor()
getColumnDescriptor in interface ColumnConfigurationgetColumnDescriptor in class DefaultCustomColumnConfigurationpublic ValueHandler getValueHandler()
getValueHandler in interface ColumnConfigurationgetValueHandler in class DefaultCustomColumnConfigurationprotected abstract S getItemValue(I item, java.util.Locale locale) throws ValueHandlerException
item - The item that this column is looked up onlocale - the display localValueHandlerException - thrown or errorCopyright © 2018 SAP SE. All Rights Reserved.