public abstract class AbstractFeatureUIEditor extends AbstractUIEditor
AbstractUIEditor.CancelButtonContainer, AbstractUIEditor.CancelListener, AbstractUIEditor.ErrorDiv| Modifier and Type | Field and Description |
|---|---|
protected ClassAttributeAssignmentModel |
assignment |
protected UIEditor |
editor |
protected HtmlBasedComponent |
editorViewComponent |
protected FeatureValue |
featureValue |
protected ClassAttributePropertyDescriptor |
propertyDescriptor |
protected DefaultFeatureUnitUIEditor |
unitEditor |
ATTRIBUTE_QUALIFIER_PARAM, CANCEL_BTN, EVENT_SOURCE, inEditMode, initialEditValue, initialInputString, PROPERTY_DESCRIPTOR_PARAM, SEARCH_MODE_PARAMINITIAL_EDIT_STRING| Constructor and Description |
|---|
AbstractFeatureUIEditor() |
applyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, getValue, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptional, setValueprotected ClassAttributePropertyDescriptor propertyDescriptor
protected ClassAttributeAssignmentModel assignment
protected FeatureValue featureValue
protected UIEditor editor
protected HtmlBasedComponent editorViewComponent
protected DefaultFeatureUnitUIEditor unitEditor
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 changedprotected ClassAttributePropertyDescriptor extractPropertyDescriptor(Map<String,? extends Object> parameters)
protected DefaultFeatureUnitUIEditor createUnitUIEditor()
protected UIEditor getEditor(ClassAttributeAssignmentModel assignment)
public String getEditorType()
protected EditorListener getEditorListener(EditorListener listener)
public 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 ClassAttributeAssignmentModel getAssignment()
public void setAssignment(ClassAttributeAssignmentModel assignment)
public ClassAttributePropertyDescriptor getPropertyDescriptor()
public void setPropertyDescriptor(ClassAttributePropertyDescriptor propertyDescriptor)
public TypeService getTypeService()
protected boolean isNumber()
public boolean supportUnits()
public void setEditorFactory(EditorFactory editorFactory)
public EditorFactory getEditorFactory()
public void setModelService(ModelService modelService)
public ModelService getModelService()
public ClassificationService getClassificationService()
public void setClassificationService(ClassificationService classificationService)
Copyright © 2017 SAP SE. All Rights Reserved.