public class OverridableEnumUIEditor extends DefaultEnumUIEditor
DefaultEnumUIEditor allows any of the Enum's values to be selected. This implementation supports a custom
parameter named availableValues that can pass a list of the Enum's values that should be allowed to be
selected. See the cscockpit-spring-editors.xml for usage.AbstractUIEditor.CancelButtonContainer, AbstractUIEditor.CancelListener, AbstractUIEditor.ErrorDivATTRIBUTE_QUALIFIER_PARAM, CANCEL_BTN, EVENT_SOURCE, inEditMode, initialEditValue, initialInputString, PROPERTY_DESCRIPTOR_PARAM, SEARCH_MODE_PARAMINITIAL_EDIT_STRING| Constructor and Description |
|---|
OverridableEnumUIEditor() |
| Modifier and Type | Method and Description |
|---|---|
HtmlBasedComponent |
createViewComponent(Object initialValue,
Map<String,? extends Object> parameters,
EditorListener listener)
Creates a new editor component and attaches it to the specified
Page page. |
addEnumToCombo, getAvailableValues, getEditorType, getEditorView, getPosition, isInline, setAvailableValues, setEnumValue, setFocus, setOptional, validateAndFireEventapplyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, getValue, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValue, isEditable, isOptional, setEditable, setValuepublic HtmlBasedComponent createViewComponent(Object initialValue, Map<String,? extends Object> parameters, EditorListener listener)
UIEditorPage page.createViewComponent in interface UIEditorcreateViewComponent in class DefaultEnumUIEditorinitialValue - editor's initial valueparameters - parameters passed via configuration for particular editorlistener - the EditorListener that will receive events when the editor's value is changedCopyright © 2017 SAP SE. All Rights Reserved.