Interface CEditor

    • Method Detail

      • setReadWrite

        void setReadWrite​(boolean rw)
        Enable Editor
        Parameters:
        rw - true, if you can enter/select data
      • isReadWrite

        boolean isReadWrite()
        Is it possible to edit
        Returns:
        true, if editable
      • setMandatory

        void setMandatory​(boolean mandatory)
        Set Editor Mandatory
        Parameters:
        mandatory - true, if you have to enter data
      • isMandatory

        boolean isMandatory()
        Is Field mandatory
        Returns:
        true, if mandatory
      • setBackground

        void setBackground​(boolean error)
        Set Background based on editable / mandatory / error
        Parameters:
        error - if true, set background to error color, otherwise mandatory/editable
      • setVisible

        void setVisible​(boolean visible)
        Set Visible
        Parameters:
        visible - true if field is to be shown
      • setValue

        void setValue​(Object value)
        Set Editor to value
        Parameters:
        value - value of the editor
      • getValue

        Object getValue()
        Return Editor value
        Returns:
        current value
      • getDisplay

        String getDisplay()
        Return Display Value
        Returns:
        displayed String value