Class DefaultPasswordEditor

    • Field Detail

      • YE_PASSWORD_NO_MATCH

        protected static final java.lang.String YE_PASSWORD_NO_MATCH
        See Also:
        Constant Field Values
      • SETTING_WITH_CONFIRMATION

        protected static final java.lang.String SETTING_WITH_CONFIRMATION
        See Also:
        Constant Field Values
      • PASSWORDS_NOT_MATCH_LABEL

        public static final java.lang.String PASSWORDS_NOT_MATCH_LABEL
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultPasswordEditor

        public DefaultPasswordEditor()
    • Method Detail

      • render

        public void render​(org.zkoss.zk.ui.Component parent,
                           EditorContext<java.lang.String> context,
                           EditorListener<java.lang.String> listener)
        Description copied from interface: CockpitEditorRenderer
        Creates a new editor component and attaches it to the specified Component component.
        Parameters:
        parent - parent component the editor should be attached to
        context - the context for the editor creation
        listener - the listener to notify the rest of the world about value changes and other events
      • onPasswordChangeAttempt

        protected void onPasswordChangeAttempt​(org.zkoss.zul.Textbox passwordChanged,
                                               org.zkoss.zul.Textbox password,
                                               EditorListener<java.lang.String> listener)
      • onPasswordChangeAttempt

        protected void onPasswordChangeAttempt​(org.zkoss.zul.Textbox passwordChanged,
                                               org.zkoss.zul.Textbox password,
                                               EditorListener<java.lang.String> listener,
                                               org.zkoss.zul.Label noMatchPasswordLabel)
      • isReadOnly

        protected boolean isReadOnly​(org.zkoss.zk.ui.Component parent)
      • withConfirmation

        protected boolean withConfirmation​(EditorContext<java.lang.String> context)