public class DefaultCharacterUIEditor extends AbstractTextBasedUIEditor
AbstractUIEditor.CancelButtonContainer, AbstractUIEditor.CancelListener, AbstractUIEditor.ErrorDivoriginalValueATTRIBUTE_QUALIFIER_PARAM, CANCEL_BTN, EVENT_SOURCE, inEditMode, initialEditValue, initialInputString, PROPERTY_DESCRIPTOR_PARAM, SEARCH_MODE_PARAMINITIAL_EDIT_STRING| Constructor and Description |
|---|
DefaultCharacterUIEditor() |
| Modifier and Type | Method and Description |
|---|---|
HtmlBasedComponent |
createViewComponent(Object initialValue,
Map parameters,
EditorListener listener)
Creates a new editor component and attaches it to the specified
Page page. |
String |
getEditorType() |
Object |
getValue()
Returns the value held by this editor.
|
boolean |
isInline()
Returns whether this editor is an inline editor or not.
|
void |
setValue(Object value)
Sets the value of this editor to
value. |
createViewComponentInternal, setFocusapplyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptionalpublic HtmlBasedComponent createViewComponent(Object initialValue, Map parameters, EditorListener listener)
UIEditorPage page.initialValue - editor's initial valueparameters - parameters passed via configuration for particular editorlistener - the EditorListener that will receive events when the editor's value is changedpublic String getEditorType()
public boolean isInline()
UIEditorpublic Object getValue()
UIEditorgetValue in interface UIEditorgetValue in class AbstractUIEditorpublic void setValue(Object value)
UIEditorvalue.
Note: Does not have anything to do with value persistence, it is only for setting the value to be displayed. However,
depending on the view component implementation and the specified EditorListener the underlying view component might
generate an event which causes the EditorListener.valueChanged(Object) method to be called.setValue in interface UIEditorsetValue in class AbstractUIEditorvalue - the value to setCopyright © 2017 SAP SE. All Rights Reserved.