Class ClassUIEditor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
-
- de.hybris.platform.cockpit.model.editor.impl.AbstractTextBasedUIEditor
-
- de.hybris.platform.cockpit.model.editor.impl.DefaultTextUIEditor
-
- de.hybris.platform.admincockpit.components.editorarea.ClassUIEditor
-
- All Implemented Interfaces:
UIEditor
public class ClassUIEditor extends DefaultTextUIEditor
-
-
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 inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractTextBasedUIEditor
originalValue
-
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 ClassUIEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.zkoss.zk.ui.HtmlBasedComponentcreateViewComponent(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 specifiedPagepage.protected AbstractUIEditor.CancelButtonContainercreateViewComponentInternal(org.zkoss.zul.impl.InputElement editorView, EditorListener listener, java.util.Map<java.lang.String,? extends java.lang.Object> parameters)protected voidfireValueChanged(EditorListener listener)java.lang.StringgetEditorType()-
Methods inherited from class de.hybris.platform.cockpit.model.editor.impl.DefaultTextUIEditor
isInline
-
Methods inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractTextBasedUIEditor
setFocus
-
Methods inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
applyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, getRootSearchType, getUIEditor, getValue, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptional, setValue
-
-
-
-
Method Detail
-
createViewComponent
public org.zkoss.zk.ui.HtmlBasedComponent createViewComponent(java.lang.Object initialValue, java.util.Map<java.lang.String,? extends java.lang.Object> parameters, EditorListener listener)Description copied from interface:UIEditorCreates a new editor component and attaches it to the specifiedPagepage.- Specified by:
createViewComponentin interfaceUIEditor- Overrides:
createViewComponentin classDefaultTextUIEditor- Parameters:
initialValue- editor's initial valueparameters- parameters passed via configuration for particular editorlistener- theEditorListenerthat will receive events when the editor's value is changed- Returns:
- the editor component
-
createViewComponentInternal
protected AbstractUIEditor.CancelButtonContainer createViewComponentInternal(org.zkoss.zul.impl.InputElement editorView, EditorListener listener, java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
- Overrides:
createViewComponentInternalin classAbstractTextBasedUIEditor
-
getEditorType
public java.lang.String getEditorType()
- Specified by:
getEditorTypein interfaceUIEditor- Overrides:
getEditorTypein classDefaultTextUIEditor
-
fireValueChanged
protected void fireValueChanged(EditorListener listener)
- Overrides:
fireValueChangedin classDefaultTextUIEditor
-
-