public class BTGConditionCollectionUIEditor extends AbstractUIEditor
| Modifier and Type | Class and Description |
|---|---|
protected class |
BTGConditionCollectionUIEditor.BTGConditionEditorComponent |
protected class |
BTGConditionCollectionUIEditor.DefaultBTGConditionEditorModel |
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 |
|---|
BTGConditionCollectionUIEditor() |
| Modifier and Type | Method and Description |
|---|---|
HtmlBasedComponent |
createViewComponent(java.lang.Object initialValue,
java.util.Map<java.lang.String,? extends java.lang.Object> parameters,
EditorListener listener)
Creates a new editor component and attaches it to the specified
Page page. |
java.lang.String |
getEditorType() |
protected UIAccessRightService |
getUiAccessRightService() |
java.lang.Object |
getValue()
Returns the value held by this editor.
|
boolean |
isInline()
Returns whether this editor is an inline editor or not.
|
void |
setFocus(HtmlBasedComponent rootEditorComponent,
boolean selectAll)
Sets the focus on the given input component which can be the rootEditorComponent or a child of it
|
void |
setValue(java.lang.Object value)
Sets the value of this editor to
value. |
applyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptionalpublic HtmlBasedComponent createViewComponent(java.lang.Object initialValue,
java.util.Map<java.lang.String,? extends java.lang.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 java.lang.Object getValue()
UIEditorgetValue in interface UIEditorgetValue in class AbstractUIEditorpublic boolean isInline()
UIEditorpublic 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.public void setValue(java.lang.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 setpublic java.lang.String getEditorType()
protected UIAccessRightService getUiAccessRightService()
Copyright © 2018 SAP SE. All Rights Reserved.