Class DefaultZKPropertyEditorBean

    • Field Detail

      • INVALID_SCLASS

        public static final java.lang.String INVALID_SCLASS
        The style class which is set at the view root component to signal that the editor's invalid flag.
        See Also:
        Constant Field Values
      • READONLY_SCLASS

        public static final java.lang.String READONLY_SCLASS
        The style class which is set at the view root component to signal that the editor is read-only.
        See Also:
        Constant Field Values
    • Method Detail

      • getBinder

        protected org.zkoss.zkplus.databind.AnnotateDataBinder getBinder()
      • getViewCreationArgs

        protected java.util.Map<java.lang.String,​java.lang.Object> getViewCreationArgs()
        Provides view component creation arguments (available via ${arg.*}.
      • getViewLocalVariables

        protected java.util.Map<java.lang.String,​java.lang.Object> getViewLocalVariables()
        Provides local attributes to be available inside the view component.
      • initView

        protected void initView​(org.zkoss.zk.ui.Component view)
        Called right after view component creation. Override to do additional initialization.
        Parameters:
        view - the new view component
      • createView

        protected org.zkoss.zk.ui.Component createView​(org.zkoss.zk.ui.Page page)
      • updateEditable

        protected void updateEditable​(boolean newEditable)
        Description copied from class: DefaultPropertyEditorBean
        Called each time the editable flag has been changed. The component should be modified to block or allow user input.
        Overrides:
        updateEditable in class DefaultPropertyEditorBean
        Parameters:
        newEditable - the new editable flag value
      • updateInvalid

        protected void updateInvalid​(boolean newInvalid)
        Description copied from class: DefaultPropertyEditorBean
        Called each time the invalid flag has been changed. The component may signal this fact accordingly.
        Overrides:
        updateInvalid in class DefaultPropertyEditorBean
        Parameters:
        newInvalid - the new invalid flag value