Class DataValidationCtrl

  • All Implemented Interfaces:
    Serializable, org.zkoss.zk.ui.util.ComponentActivationListener, org.zkoss.zk.ui.util.ComponentCloneListener, org.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>, org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zul.Window>

    public class DataValidationCtrl
    extends RefocusDialogCtrlBase
    Author:
    JerryChen
    See Also:
    Serialized Form
    • Field Detail

      • URI

        public static String URI
      • ARG_VALIDATION_CODE

        public static String ARG_VALIDATION_CODE
      • ARG_VALIDATION_TYPE_CODE

        public static String ARG_VALIDATION_TYPE_CODE
      • ARG_OPERATOR_TYPE_CODE

        public static String ARG_OPERATOR_TYPE_CODE
      • ARG_IGNORE_BLANK_CODE

        public static String ARG_IGNORE_BLANK_CODE
      • ARG_IN_CELL_DROPDOWN_CODE

        public static String ARG_IN_CELL_DROPDOWN_CODE
      • ARG_PARAM1_CODE

        public static String ARG_PARAM1_CODE
      • ARG_PARAM2_CODE

        public static String ARG_PARAM2_CODE
      • ARG_SHOW_INPUT_CODE

        public static String ARG_SHOW_INPUT_CODE
      • ARG_INPUT_TITLE_CODE

        public static String ARG_INPUT_TITLE_CODE
      • ARG_INPUT_MESSAGE_CODE

        public static String ARG_INPUT_MESSAGE_CODE
      • ARG_SHOW_ERROR_CODE

        public static String ARG_SHOW_ERROR_CODE
      • ARG_ALERT_STYLE_CODE

        public static String ARG_ALERT_STYLE_CODE
      • ARG_ERROR_TITLE_CODE

        public static String ARG_ERROR_TITLE_CODE
      • ARG_ERROR_MESSAGE_CODE

        public static String ARG_ERROR_MESSAGE_CODE
      • allowCombobox

        protected org.zkoss.zul.Combobox allowCombobox
      • dataCombobox

        protected org.zkoss.zul.Combobox dataCombobox
      • ignoreBlankCheckbox

        protected org.zkoss.zul.Checkbox ignoreBlankCheckbox
      • inCellDropdownCheckbox

        protected org.zkoss.zul.Checkbox inCellDropdownCheckbox
      • inCellDropdownLabel

        protected org.zkoss.zul.Label inCellDropdownLabel
      • param1Textbox

        protected org.zkoss.zul.Textbox param1Textbox
      • param2Textbox

        protected org.zkoss.zul.Textbox param2Textbox
      • param1Label

        protected org.zkoss.zul.Label param1Label
      • param2Label

        protected org.zkoss.zul.Label param2Label
      • inputMsgCheckbox

        protected org.zkoss.zul.Checkbox inputMsgCheckbox
      • inputTitleTextbox

        protected org.zkoss.zul.Textbox inputTitleTextbox
      • inputMsgTextbox

        protected org.zkoss.zul.Textbox inputMsgTextbox
      • errorMsgCheckbox

        protected org.zkoss.zul.Checkbox errorMsgCheckbox
      • errorStyleCombobox

        protected org.zkoss.zul.Combobox errorStyleCombobox
      • errorTitleTextbox

        protected org.zkoss.zul.Textbox errorTitleTextbox
      • errorMsgTextbox

        protected org.zkoss.zul.Textbox errorMsgTextbox
    • Constructor Detail

      • DataValidationCtrl

        public DataValidationCtrl()
    • Method Detail

      • doAfterCompose

        public void doAfterCompose​(org.zkoss.zul.Window comp)
                            throws Exception
        Specified by:
        doAfterCompose in interface org.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>
        Overrides:
        doAfterCompose in class RefocusDialogCtrlBase
        Throws:
        Exception
      • initErrorAlert

        protected void initErrorAlert​(Validation validation)
      • initDefaultErrorAlert

        protected void initDefaultErrorAlert()
      • initInputMsg

        protected void initInputMsg​(Validation validation)
      • initDefaultInputMsg

        protected void initDefaultInputMsg()
      • initSettings

        protected void initSettings​(Validation validation)
      • updateCascade

        protected void updateCascade()
      • updateCheckbox

        protected void updateCheckbox()
      • updateParameter

        protected void updateParameter()
      • updateDataType

        protected void updateDataType()
      • onSelect$allowCombobox

        public void onSelect$allowCombobox()
      • onSelect$dataCombobox

        public void onSelect$dataCombobox()
      • onCheck$msgCheckbox

        public void onCheck$msgCheckbox()
      • onCheck$errorMsgCheckbox

        public void onCheck$errorMsgCheckbox()
      • onClick$okBtn

        public void onClick$okBtn()
      • onCancel

        public void onCancel()
      • onClear

        public void onClear()