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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    handleOnChange(org.zkoss.zul.Textbox editorView, com.hybris.cockpitng.editors.EditorListener<String> listener)
    Method to handle Events.ON_CHANGE.
    protected void
    maskTextEditor(org.zkoss.zul.Textbox editorView)
    Helper method to mask the value for the given editor
    void
    render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<String> context, com.hybris.cockpitng.editors.EditorListener<String> listener)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      render in interface com.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 -