Class WTimeEditor

    • Constructor Detail

      • WTimeEditor

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

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

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

        public WTimeEditor​(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
      • WTimeEditor

        public WTimeEditor()
    • 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
      • fillHorizontal

        public void fillHorizontal()
        Description copied from class: WEditor
        Stretch editor component to fill container
        Overrides:
        fillHorizontal in class WEditor