Class WDateEditor

    • Constructor Detail

      • WDateEditor

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

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

        public WDateEditor​(String label,
                           String description,
                           boolean mandatory,
                           boolean readonly,
                           boolean updateable)
        Constructor for use if a grid field is unavailable
        Parameters:
        label - column name (not displayed)
        description - description of component
        mandatory - whether a selection must be made
        readonly - whether or not the editor is read only
        updateable - whether the editor contents can be changed
      • WDateEditor

        public WDateEditor()
      • WDateEditor

        public WDateEditor​(String columnName,
                           boolean mandatory,
                           boolean readonly,
                           boolean updateable,
                           String title)
        Parameters:
        columnName -
        mandatory -
        readonly -
        updateable -
        title -
    • Method Detail

      • 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>
      • isReadWrite

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

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