Class DefaultCharacterUIEditor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
-
- de.hybris.platform.cockpit.model.editor.impl.AbstractTextBasedUIEditor
-
- de.hybris.platform.importcockpit.model.editor.impl.DefaultCharacterUIEditor
-
- All Implemented Interfaces:
UIEditor
public class DefaultCharacterUIEditor extends AbstractTextBasedUIEditor
UI editor for characters: used for cron jobs for field separator, comment character etc. User: tolik Date: Dec 1, 2009 Time: 1:48:01 PM
-
-
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 DefaultCharacterUIEditor()
-
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 parameters, EditorListener listener)Creates a new editor component and attaches it to the specifiedPagepage.java.lang.StringgetEditorType()java.lang.ObjectgetValue()Returns the value held by this editor.booleanisInline()Returns whether this editor is an inline editor or not.voidsetValue(java.lang.Object value)Sets the value of this editor tovalue.-
Methods inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractTextBasedUIEditor
createViewComponentInternal, setFocus
-
Methods inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
applyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptional
-
-
-
-
Method Detail
-
createViewComponent
public org.zkoss.zk.ui.HtmlBasedComponent createViewComponent(java.lang.Object initialValue, java.util.Map parameters, EditorListener listener)Description copied from interface:UIEditorCreates a new editor component and attaches it to the specifiedPagepage.- 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
-
getEditorType
public java.lang.String getEditorType()
-
isInline
public boolean isInline()
Description copied from interface:UIEditorReturns whether this editor is an inline editor or not.- Returns:
- true, if inline
-
getValue
public java.lang.Object getValue()
Description copied from interface:UIEditorReturns the value held by this editor.- Specified by:
getValuein interfaceUIEditor- Overrides:
getValuein classAbstractUIEditor- Returns:
- this editor's value
-
setValue
public void setValue(java.lang.Object value)
Description copied from interface:UIEditorSets the value of this editor tovalue. 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 specifiedEditorListenerthe underlying view component might generate an event which causes theEditorListener.valueChanged(Object)method to be called.- Specified by:
setValuein interfaceUIEditor- Overrides:
setValuein classAbstractUIEditor- Parameters:
value- the value to set
-
-