Class WStringEditor

    • Constructor Detail

      • WStringEditor

        public WStringEditor()
        to ease porting of swing form
      • WStringEditor

        public WStringEditor​(GridField gridField)
        Parameters:
        gridField -
      • WStringEditor

        public WStringEditor​(GridField gridField,
                             boolean tableEditor)
        Parameters:
        gridField -
        tableEditor -
      • WStringEditor

        public WStringEditor​(GridField gridField,
                             boolean tableEditor,
                             IEditorConfiguration editorConfiguration)
        Parameters:
        gridField -
        tableEditor -
        editorConfiguration -
      • WStringEditor

        public WStringEditor​(String columnName,
                             boolean mandatory,
                             boolean isReadOnly,
                             boolean isUpdateable,
                             int displayLength,
                             int fieldLength,
                             String wVFormat,
                             String obscureType)
        to ease porting of swing form
        Parameters:
        columnName -
        mandatory -
        isReadOnly -
        isUpdateable -
        displayLength -
        fieldLength -
        wVFormat -
        obscureType -
    • Method Detail

      • getComponent

        public org.zkoss.zul.Textbox getComponent()
        Overrides:
        getComponent in class WEditor
        Returns:
        Component
      • isReadWrite

        public boolean isReadWrite()
        Specified by:
        isReadWrite in class WEditor
        Returns:
        editable
      • setReadWrite

        public void setReadWrite​(boolean readWrite)
        Specified by:
        setReadWrite in class WEditor
      • onEvent

        public void onEvent​(org.zkoss.zk.ui.event.Event event)
        Specified by:
        onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
      • setTypePassword

        protected void setTypePassword​(boolean password)
      • actionRefresh

        public void actionRefresh()