Package com.sap.platform.editor
Class MaskTextEditor
- java.lang.Object
-
- com.sap.platform.editor.MaskTextEditor
-
- All Implemented Interfaces:
com.hybris.cockpitng.editors.CockpitEditorRenderer<java.lang.String>
public class MaskTextEditor extends java.lang.Object implements com.hybris.cockpitng.editors.CockpitEditorRenderer<java.lang.String>
-
-
Constructor Summary
Constructors Constructor Description MaskTextEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandleOnChange(org.zkoss.zul.Textbox editorView, com.hybris.cockpitng.editors.EditorListener<java.lang.String> listener)Method to handle Events.ON_CHANGE.protected voidmaskTextEditor(org.zkoss.zul.Textbox editorView)Helper method to mask the value for the given editorvoidrender(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<java.lang.String> context, com.hybris.cockpitng.editors.EditorListener<java.lang.String> listener)
-
-
-
Method Detail
-
render
public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<java.lang.String> context, com.hybris.cockpitng.editors.EditorListener<java.lang.String> listener)- Specified by:
renderin interfacecom.hybris.cockpitng.editors.CockpitEditorRenderer<java.lang.String>
-
handleOnChange
protected void handleOnChange(org.zkoss.zul.Textbox editorView, com.hybris.cockpitng.editors.EditorListener<java.lang.String> listener)Method to handle Events.ON_CHANGE.- Parameters:
editorView-listener-
-
maskTextEditor
protected void maskTextEditor(org.zkoss.zul.Textbox editorView)
Helper method to mask the value for the given editor- Parameters:
editorView-
-
-