Class 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>
    • Field Summary

      • Fields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer

        INITIAL_EDIT_STRING
    • Constructor Summary

      Constructors 
      Constructor Description
      MaskTextEditor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void handleOnChange​(org.zkoss.zul.Textbox editorView, com.hybris.cockpitng.editors.EditorListener<java.lang.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<java.lang.String> context, com.hybris.cockpitng.editors.EditorListener<java.lang.String> listener)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MaskTextEditor

        public MaskTextEditor()
    • 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:
        render in interface com.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 -