Class MaskTextEditor
java.lang.Object
de.hybris.platform.gigya.gigyabackoffice.editor.MaskTextEditor
- All Implemented Interfaces:
com.hybris.cockpitng.editors.CockpitEditorRenderer<String>
public class MaskTextEditor
extends Object
implements com.hybris.cockpitng.editors.CockpitEditorRenderer<String>
Editor to mask the content of the field
-
Field Summary
Fields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer
INITIAL_EDIT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleOnChange(org.zkoss.zul.Textbox editorView, com.hybris.cockpitng.editors.EditorListener<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<String> context, com.hybris.cockpitng.editors.EditorListener<String> listener)
-
Constructor Details
-
MaskTextEditor
public MaskTextEditor()
-
-
Method Details
-
render
public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<String> context, com.hybris.cockpitng.editors.EditorListener<String> listener) - Specified by:
renderin interfacecom.hybris.cockpitng.editors.CockpitEditorRenderer<String>
-
handleOnChange
protected void handleOnChange(org.zkoss.zul.Textbox editorView, com.hybris.cockpitng.editors.EditorListener<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-
-