Class AbstractTextBasedUIEditor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
-
- de.hybris.platform.cockpit.model.editor.impl.AbstractTextBasedUIEditor
-
- All Implemented Interfaces:
UIEditor
- Direct Known Subclasses:
DefaultCharacterUIEditor,DefaultDateUIEditor,DefaultDecimalUIEditor,DefaultFloatUIEditor,DefaultIntegerUIEditor,DefaultLongUIEditor,DefaultPKUIEditor,DefaultTextUIEditor
public abstract class AbstractTextBasedUIEditor extends AbstractUIEditor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
AbstractUIEditor.CancelButtonContainer, AbstractUIEditor.CancelListener, AbstractUIEditor.ErrorDiv
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringoriginalValue-
Fields inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
ATTRIBUTE_QUALIFIER_PARAM, CANCEL_BTN, EVENT_SOURCE, inEditMode, initialEditValue, initialInputString, PROPERTY_DESCRIPTOR_PARAM, SEARCH_MODE_PARAM
-
Fields inherited from interface de.hybris.platform.cockpit.model.editor.UIEditor
INITIAL_EDIT_STRING
-
-
Constructor Summary
Constructors Constructor Description AbstractTextBasedUIEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractUIEditor.CancelButtonContainercreateViewComponentInternal(org.zkoss.zul.impl.InputElement editorView, EditorListener listener, java.util.Map<java.lang.String,? extends java.lang.Object> parameters)voidsetFocus(org.zkoss.zk.ui.HtmlBasedComponent rootEditorComponent, boolean selectAll)Sets the focus on the given input component which can be the rootEditorComponent or a child of it-
Methods inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
applyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, getValue, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptional, setValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.model.editor.UIEditor
createViewComponent, getEditorType, isInline
-
-
-
-
Method Detail
-
createViewComponentInternal
protected AbstractUIEditor.CancelButtonContainer createViewComponentInternal(org.zkoss.zul.impl.InputElement editorView, EditorListener listener, java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
-
setFocus
public void setFocus(org.zkoss.zk.ui.HtmlBasedComponent rootEditorComponent, boolean selectAll)Description copied from interface:UIEditorSets the focus on the given input component which can be the rootEditorComponent or a child of it- Specified by:
setFocusin interfaceUIEditor- Overrides:
setFocusin classAbstractUIEditor- Parameters:
rootEditorComponent- 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.
-
-