Class DefaultCharacterEditor
- java.lang.Object
-
- com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer<T>
-
- com.hybris.cockpitng.editors.impl.AbstractTextBasedEditorRenderer<T>
-
- com.hybris.cockpitng.editor.text.AbstractTextEditor<java.lang.Character>
-
- com.hybris.cockpitng.editor.defaultcharacter.DefaultCharacterEditor
-
- All Implemented Interfaces:
CockpitEditorRenderer<java.lang.Character>
public class DefaultCharacterEditor extends AbstractTextEditor<java.lang.Character>
Default Editor forCharactervalues.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.CharacterEMPTY_CHARACTER-
Fields inherited from class com.hybris.cockpitng.editors.impl.AbstractTextBasedEditorRenderer
SETTING_INPUT_INSTANT
-
Fields inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
HEADER_LABEL_TOOLTIP, ON_ADD_EVENT, ON_DELETE_EVENT, YW_EDITOR_AREA_LABEL_CONTAINER
-
Fields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer
INITIAL_EDIT_STRING
-
-
Constructor Summary
Constructors Constructor Description DefaultCharacterEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.CharactergetRawValue(org.zkoss.zul.impl.InputElement viewComponent)Extracts value of the given editor component.-
Methods inherited from class com.hybris.cockpitng.editor.text.AbstractTextEditor
coerceFromString, convertToString, initAdditionalParameters, render, setRawValue
-
Methods inherited from class com.hybris.cockpitng.editors.impl.AbstractTextBasedEditorRenderer
clearInvalidInputAndNotify, handleChangeEvent, handleChangeEvent, handleChangingEvent, handleReadOnly, hasInvalidInput, initViewComponent, isPrimitive, onCancelEvent, onChangeEvent, onChangingEvent, onFocusEvent, onOkEvent
-
Methods inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
extractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecorator
-
-
-
-
Method Detail
-
getRawValue
protected java.lang.Character getRawValue(org.zkoss.zul.impl.InputElement viewComponent)
Description copied from class:AbstractTextBasedEditorRendererExtracts value of the given editor component.- Overrides:
getRawValuein classAbstractTextEditor<java.lang.Character>- Parameters:
viewComponent- the underlying editor component- Returns:
- the value
-
-