public class HmcLikeTextConditionUIEditor extends AbstractExtensibleConditionUIEditor
AbstractExtensibleConditionUIEditor.ClearConditionEntry, AbstractExtensibleConditionUIEditor.ComboDivAbstractUIEditor.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 |
|---|
HmcLikeTextConditionUIEditor() |
| 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. |
ConditionValueContainer |
getValue()
Returns the value held by this editor.
|
protected String |
getValueType() |
protected boolean |
setComboSelection(Combobox combo,
String value) |
void |
setFocus(HtmlBasedComponent rootEditorComponent,
boolean selectAll)
Sets the focus on the given input component which can be the rootEditorComponent or a child of it
|
filterConditionEntries, filterConditionEntries, getConditionEntries, getConditionEntry, getDisplayLabel, getEditorConditionConfigurationgetEditorType, getParameters, isInline, setParametersapplyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptional, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEditable, isOptional, setEditable, setOptional, setValueprotected String getValueType()
getValueType in class AbstractConditionUIEditorprotected boolean setComboSelection(Combobox combo,
String value)
public HtmlBasedComponent createViewComponent(Object initialValue, Map<String,? extends Object> 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 ConditionValueContainer getValue()
UIEditorgetValue in interface ConditionUIEditorgetValue in interface UIEditorgetValue in class AbstractConditionUIEditorpublic void setFocus(HtmlBasedComponent rootEditorComponent,
boolean selectAll)
UIEditorsetFocus in interface UIEditorsetFocus in class AbstractUIEditorrootEditorComponent - the rootEditorComponent which is returned on method createViewComponentselectAll - if true, select the whole input field after focus. It is not guaranteed that the editor supports selection.Copyright © 2017 SAP SE. All Rights Reserved.