Class HmcLikeTextConditionUIEditor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
-
- de.hybris.platform.cockpit.model.editor.search.impl.AbstractConditionUIEditor
-
- de.hybris.platform.cockpit.model.editor.search.impl.AbstractExtensibleConditionUIEditor
-
- de.hybris.platform.cockpit.model.editor.search.impl.HmcLikeTextConditionUIEditor
-
- All Implemented Interfaces:
ConditionUIEditor
,UIEditor
public class HmcLikeTextConditionUIEditor extends AbstractExtensibleConditionUIEditor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.cockpit.model.editor.search.impl.AbstractExtensibleConditionUIEditor
AbstractExtensibleConditionUIEditor.ClearConditionEntry, AbstractExtensibleConditionUIEditor.ComboDiv
-
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.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 HmcLikeTextConditionUIEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.zkoss.zk.ui.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 specifiedPage
page
.ConditionValueContainer
getValue()
Returns the value held by this editor.protected java.lang.String
getValueType()
protected boolean
setComboSelection(org.zkoss.zul.Combobox combo, java.lang.String value)
void
setFocus(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.search.impl.AbstractExtensibleConditionUIEditor
filterConditionEntries, filterConditionEntries, getConditionEntries, getConditionEntry, getDisplayLabel, getEditorConditionConfiguration
-
Methods inherited from class de.hybris.platform.cockpit.model.editor.search.impl.AbstractConditionUIEditor
getEditorType, getParameters, isInline, setParameters
-
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, 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
isEditable, isOptional, setEditable, setOptional, setValue
-
-
-
-
Method Detail
-
getValueType
protected java.lang.String getValueType()
- Specified by:
getValueType
in classAbstractConditionUIEditor
-
setComboSelection
protected boolean setComboSelection(org.zkoss.zul.Combobox combo, java.lang.String value)
-
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:UIEditor
Creates a new editor component and attaches it to the specifiedPage
page
.- Parameters:
initialValue
- editor's initial valueparameters
- parameters passed via configuration for particular editorlistener
- theEditorListener
that will receive events when the editor's value is changed- Returns:
- the editor component
-
getValue
public ConditionValueContainer getValue()
Description copied from interface:UIEditor
Returns the value held by this editor.- Specified by:
getValue
in interfaceConditionUIEditor
- Specified by:
getValue
in interfaceUIEditor
- Specified by:
getValue
in classAbstractConditionUIEditor
- Returns:
- this editor's value
-
setFocus
public void setFocus(org.zkoss.zk.ui.HtmlBasedComponent rootEditorComponent, boolean selectAll)
Description copied from interface:UIEditor
Sets the focus on the given input component which can be the rootEditorComponent or a child of it- Specified by:
setFocus
in interfaceUIEditor
- Overrides:
setFocus
in 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.
-
-